| # Copyright 2017 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| config("config") { |
| include_dirs = [ "forwarding_headers" ] |
| } |
| |
| config("private_config") { |
| include_dirs = [ "src/src" ] |
| visibility = [ ":motion_transitioning_objc" ] |
| } |
| |
| source_set("motion_transitioning_objc") { |
| sources = [ |
| "src/src/MDMTransition.h", |
| "src/src/MDMTransitionContext.h", |
| "src/src/MDMTransitionController.h", |
| "src/src/MDMTransitionNavigationControllerDelegate.h", |
| "src/src/MDMTransitionNavigationControllerDelegate.m", |
| "src/src/MDMTransitionPresentationController.h", |
| "src/src/MDMTransitionPresentationController.m", |
| "src/src/MDMTransitionViewSnapshotter.h", |
| "src/src/MDMTransitionViewSnapshotter.m", |
| "src/src/MotionTransitioning.h", |
| "src/src/UIViewController+TransitionController.h", |
| "src/src/UIViewController+TransitionController.m", |
| "src/src/private/MDMViewControllerTransitionController.h", |
| "src/src/private/MDMViewControllerTransitionController.m", |
| "src/src/private/MDMViewControllerTransitionCoordinator.h", |
| "src/src/private/MDMViewControllerTransitionCoordinator.m", |
| ] |
| public = [ |
| "src/src/MDMTransition.h", |
| "src/src/MDMTransitionContext.h", |
| "src/src/MDMTransitionController.h", |
| "src/src/MDMTransitionNavigationControllerDelegate.h", |
| "src/src/MDMTransitionPresentationController.h", |
| "src/src/MDMTransitionViewSnapshotter.h", |
| "src/src/MotionTransitioning.h", |
| "src/src/UIViewController+TransitionController.h", |
| ] |
| |
| libs = [ |
| "CoreGraphics.framework", |
| "Foundation.framework", |
| ] |
| configs -= [ "//build/config/compiler:chromium_code" ] |
| configs += [ |
| ":private_config", |
| "//build/config/compiler:enable_arc", |
| "//build/config/compiler:no_chromium_code", |
| ] |
| public_configs = [ |
| ":config", |
| "//build/config/compiler:default_include_dirs", |
| ] |
| } |