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("elements") { | 5 source_set("elements") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "selector_coordinator.h", | 8 "selector_coordinator.h", |
9 "selector_coordinator.mm", | 9 "selector_coordinator.mm", |
10 "selector_picker_presentation_controller.h", | 10 "selector_picker_presentation_controller.h", |
11 "selector_picker_presentation_controller.mm", | 11 "selector_picker_presentation_controller.mm", |
12 "selector_picker_view_controller.h", | 12 "selector_picker_view_controller.h", |
13 "selector_picker_view_controller.mm", | 13 "selector_picker_view_controller.mm", |
14 "selector_view_controller_delegate.h", | 14 "selector_view_controller_delegate.h", |
15 ] | 15 ] |
16 deps = [ | 16 deps = [ |
17 "//base", | 17 "//base", |
18 "//ios/chrome/browser", | 18 "//ios/chrome/browser", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 source_set("unit_tests") { | 22 source_set("unit_tests") { |
23 testonly = true | 23 testonly = true |
24 sources = [ | 24 sources = [ |
25 "activity_overlay_coordinator_unittest.mm", | |
26 "selector_coordinator_unittest.mm", | 25 "selector_coordinator_unittest.mm", |
27 "selector_picker_view_controller_unittest.mm", | 26 "selector_picker_view_controller_unittest.mm", |
28 ] | 27 ] |
29 deps = [ | 28 deps = [ |
30 ":elements", | 29 ":elements", |
31 ":elements_internal", | |
32 "//base", | 30 "//base", |
33 "//base/test:test_support", | 31 "//base/test:test_support", |
34 "//testing/gtest", | 32 "//testing/gtest", |
35 "//third_party/ocmock", | 33 "//third_party/ocmock", |
36 ] | 34 ] |
37 } | 35 } |
38 | |
39 source_set("elements_internal") { | |
40 sources = [ | |
41 "activity_overlay_coordinator.h", | |
42 "activity_overlay_coordinator.mm", | |
43 "activity_overlay_view_controller.h", | |
44 "activity_overlay_view_controller.mm", | |
45 ] | |
46 deps = [ | |
47 "//base", | |
48 "//ios/chrome/browser", | |
49 "//ios/chrome/browser/ui", | |
50 "//ios/chrome/browser/ui/material_components", | |
51 "//ios/third_party/material_components_ios", | |
52 ] | |
53 libs = [ "UIKit.framework" ] | |
54 } | |
OLD | NEW |