OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("application_delegate") { | 5 source_set("application_delegate") { |
6 sources = [ | 6 sources = [ |
7 "memory_warning_helper.h", | 7 "memory_warning_helper.h", |
8 "memory_warning_helper.mm", | 8 "memory_warning_helper.mm", |
9 ] | 9 ] |
10 deps = [ | 10 deps = [ |
11 "//base", | 11 "//base", |
12 "//ios/chrome/browser/crash_report", | 12 "//ios/chrome/browser/crash_report", |
13 "//ios/chrome/browser/metrics", | 13 "//ios/chrome/browser/metrics", |
14 ] | 14 ] |
15 libs = [ "Foundation.framework" ] | 15 libs = [ "Foundation.framework" ] |
16 | 16 |
17 configs += [ "//build/config/compiler:enable_arc" ] | 17 configs += [ "//build/config/compiler:enable_arc" ] |
18 } | 18 } |
19 | 19 |
20 source_set("unit_tests") { | 20 source_set("unit_tests") { |
| 21 configs += [ "//build/config/compiler:enable_arc" ] |
21 testonly = true | 22 testonly = true |
22 sources = [ | 23 sources = [ |
23 "app_state_unittest.mm", | 24 "app_state_unittest.mm", |
24 "background_activity_unittest.mm", | 25 "background_activity_unittest.mm", |
25 "memory_warning_helper_unittest.mm", | 26 "memory_warning_helper_unittest.mm", |
26 "metrics_mediator_unittest.mm", | 27 "metrics_mediator_unittest.mm", |
27 "url_opener_unittest.mm", | 28 "url_opener_unittest.mm", |
28 "user_activity_handler_unittest.mm", | 29 "user_activity_handler_unittest.mm", |
29 ] | 30 ] |
30 deps = [ | 31 deps = [ |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 "//base", | 147 "//base", |
147 "//base/test:test_support", | 148 "//base/test:test_support", |
148 "//ios/chrome/app:app_internal", | 149 "//ios/chrome/app:app_internal", |
149 "//ios/chrome/browser", | 150 "//ios/chrome/browser", |
150 "//net", | 151 "//net", |
151 "//ui/base", | 152 "//ui/base", |
152 "//url", | 153 "//url", |
153 ] | 154 ] |
154 libs = [ "UIKit.framework" ] | 155 libs = [ "UIKit.framework" ] |
155 } | 156 } |
OLD | NEW |