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("alert_coordinator") { | 5 source_set("alert_coordinator") { |
6 sources = [ | 6 sources = [ |
7 "action_sheet_coordinator.h", | 7 "action_sheet_coordinator.h", |
8 "action_sheet_coordinator.mm", | 8 "action_sheet_coordinator.mm", |
9 "alert_coordinator.h", | 9 "alert_coordinator.h", |
10 "alert_coordinator.mm", | 10 "alert_coordinator.mm", |
11 "input_alert_coordinator.h", | 11 "input_alert_coordinator.h", |
12 "input_alert_coordinator.mm", | 12 "input_alert_coordinator.mm", |
13 ] | 13 ] |
14 deps = [ | 14 deps = [ |
15 "//base", | 15 "//base", |
16 "//ios/chrome/browser", | 16 "//ios/chrome/browser", |
17 "//ui/base", | 17 "//ui/base", |
18 "//ui/strings", | 18 "//ui/strings", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 source_set("unit_tests") { | 22 source_set("unit_tests") { |
| 23 configs += [ "//build/config/compiler:enable_arc" ] |
23 testonly = true | 24 testonly = true |
24 sources = [ | 25 sources = [ |
25 "action_sheet_coordinator_unittest.mm", | 26 "action_sheet_coordinator_unittest.mm", |
26 "alert_coordinator_unittest.mm", | 27 "alert_coordinator_unittest.mm", |
27 "input_alert_coordinator_unittest.mm", | 28 "input_alert_coordinator_unittest.mm", |
28 ] | 29 ] |
29 deps = [ | 30 deps = [ |
30 ":alert_coordinator", | 31 ":alert_coordinator", |
31 "//base", | 32 "//base", |
32 "//testing/gtest", | 33 "//testing/gtest", |
33 "//third_party/ocmock", | 34 "//third_party/ocmock", |
34 "//ui/base", | 35 "//ui/base", |
35 "//ui/strings", | 36 "//ui/strings", |
36 ] | 37 ] |
37 } | 38 } |
OLD | NEW |