| 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",
|
| ]
|
| }
|
|
|