Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1008)

Unified Diff: ios/chrome/app/BUILD.gn

Issue 2443373002: Split //ios/chrome/browser in multiple targets. (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/BUILD.gn ('k') | ios/chrome/app/application_delegate/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/BUILD.gn
diff --git a/ios/chrome/app/BUILD.gn b/ios/chrome/app/BUILD.gn
index a94e27ff2e09c6cf0ccc71e257831387bac1056e..5b00719956bf85c0acf619b25fffbbd120573fa7 100644
--- a/ios/chrome/app/BUILD.gn
+++ b/ios/chrome/app/BUILD.gn
@@ -4,8 +4,6 @@
source_set("app") {
sources = [
- "application_delegate/memory_warning_helper.h",
- "application_delegate/memory_warning_helper.mm",
"deferred_initialization_runner.h",
"deferred_initialization_runner.mm",
"safe_mode_crashing_modules_config.h",
@@ -14,13 +12,29 @@ source_set("app") {
"safe_mode_util.h",
]
+ # TODO(crbug.com/658242): Remove this dependency once all of downstream code
+ # dependencies have been fixed to not require it.
+ public_deps = [
+ "//ios/chrome/app/application_delegate",
+ ]
+
deps = [
"//base",
- "//ios/chrome/browser",
]
- libs = [
- "Foundation.framework",
- "UIKit.framework",
+ libs = [ "Foundation.framework" ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "deferred_initialization_runner_unittest.mm",
+ "safe_mode_util_unittest.cc",
+ ]
+ deps = [
+ ":app",
+ "//base",
+ "//base/test:test_support",
+ "//testing/gtest",
]
}
« no previous file with comments | « ios/chrome/BUILD.gn ('k') | ios/chrome/app/application_delegate/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698