Index: ios/chrome/app/application_delegate/BUILD.gn |
diff --git a/ios/chrome/app/application_delegate/BUILD.gn b/ios/chrome/app/application_delegate/BUILD.gn |
index c56736b78e39c150af8b54ea8aef51b4933c6287..adea24c6587417e25c8347f38edf0791682a378e 100644 |
--- a/ios/chrome/app/application_delegate/BUILD.gn |
+++ b/ios/chrome/app/application_delegate/BUILD.gn |
@@ -20,136 +20,12 @@ |
source_set("unit_tests") { |
testonly = true |
sources = [ |
- "app_state_unittest.mm", |
- "background_activity_unittest.mm", |
"memory_warning_helper_unittest.mm", |
- "metrics_mediator_unittest.mm", |
- "url_opener_unittest.mm", |
- "user_activity_handler_unittest.mm", |
] |
deps = [ |
":application_delegate", |
- ":application_delegate_internal", |
- ":test_support", |
"//base", |
- "//base/test:test_support", |
- "//breakpad:client", |
- "//components/handoff", |
- "//components/metrics", |
- "//ios/chrome/app", |
- "//ios/chrome/app:app_internal", |
- "//ios/chrome/app/application_delegate", |
- "//ios/chrome/app/safe_mode", |
- "//ios/chrome/app/spotlight", |
- "//ios/chrome/browser", |
- "//ios/chrome/browser/browser_state:test_support", |
- "//ios/chrome/browser/crash_report", |
- "//ios/chrome/browser/device_sharing", |
- "//ios/chrome/browser/geolocation", |
"//ios/chrome/browser/metrics", |
- "//ios/chrome/browser/tabs", |
- "//ios/chrome/browser/u2f", |
- "//ios/chrome/browser/ui:ui_internal", |
- "//ios/chrome/browser/ui/main", |
- "//ios/chrome/browser/ui/settings", |
- "//ios/chrome/test:test_support", |
- "//ios/chrome/test/base", |
- "//ios/chrome/test/ocmock", |
- "//ios/public/provider/chrome/browser:test_support", |
- "//ios/public/provider/chrome/browser/distribution", |
- "//ios/public/provider/chrome/browser/user_feedback:test_support", |
- "//ios/testing:ocmock_support", |
- "//ios/web", |
- "//ios/web:test_support", |
- "//net:test_support", |
"//testing/gtest", |
- "//third_party/ocmock", |
- "//ui/base", |
- "//url", |
- ] |
- libs = [ |
- "CoreSpotlight.framework", |
- "QuartzCore.framework", |
] |
} |
- |
-source_set("application_delegate_internal") { |
- sources = [ |
- "app_navigation.h", |
- "app_state.h", |
- "app_state.mm", |
- "background_activity.h", |
- "background_activity.mm", |
- "browser_launcher.h", |
- "metrics_mediator.h", |
- "metrics_mediator.mm", |
- "startup_information.h", |
- "tab_opening.h", |
- "tab_switching.h", |
- "url_opener.h", |
- "url_opener.mm", |
- "user_activity_handler.h", |
- "user_activity_handler.mm", |
- ] |
- deps = [ |
- "//base", |
- "//components/crash/core/common", |
- "//components/handoff", |
- "//components/metrics", |
- "//components/prefs", |
- "//ios/chrome/app", |
- "//ios/chrome/app/application_delegate", |
- "//ios/chrome/app/safe_mode", |
- "//ios/chrome/app/spotlight", |
- "//ios/chrome/browser", |
- "//ios/chrome/browser/browser_state", |
- "//ios/chrome/browser/crash_report", |
- "//ios/chrome/browser/device_sharing", |
- "//ios/chrome/browser/geolocation", |
- "//ios/chrome/browser/metrics", |
- "//ios/chrome/browser/metrics:metrics_internal", |
- "//ios/chrome/browser/net", |
- "//ios/chrome/browser/tabs", |
- "//ios/chrome/browser/u2f", |
- "//ios/chrome/browser/ui", |
- "//ios/chrome/browser/ui:ui_internal", |
- "//ios/chrome/browser/ui/authentication", |
- "//ios/chrome/browser/ui/main", |
- "//ios/chrome/common/app_group:main_app", |
- "//ios/net", |
- "//ios/public/provider/chrome/browser", |
- "//ios/public/provider/chrome/browser/distribution", |
- "//ios/public/provider/chrome/browser/user_feedback", |
- "//ios/web", |
- "//net", |
- "//ui/base", |
- "//url", |
- ] |
- libs = [ |
- "CoreSpotlight.framework", |
- "UIKit.framework", |
- ] |
-} |
- |
-source_set("test_support") { |
- testonly = true |
- sources = [ |
- "app_state_testing.h", |
- "fake_startup_information.h", |
- "fake_startup_information.mm", |
- "metrics_mediator_testing.h", |
- "mock_tab_opener.h", |
- "mock_tab_opener.mm", |
- ] |
- deps = [ |
- ":application_delegate_internal", |
- "//base", |
- "//base/test:test_support", |
- "//ios/chrome/app:app_internal", |
- "//ios/chrome/browser", |
- "//net", |
- "//ui/base", |
- "//url", |
- ] |
- libs = [ "UIKit.framework" ] |
-} |