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("core") { | 5 source_set("core") { |
6 sources = [ | 6 sources = [ |
7 "app_delegate.h", | 7 "app_delegate.h", |
8 "app_delegate.mm", | 8 "app_delegate.mm", |
9 "showcase_model.h", | 9 "showcase_model.h", |
10 "showcase_model.mm", | 10 "showcase_model.mm", |
11 "showcase_view_controller.h", | 11 "showcase_view_controller.h", |
12 "showcase_view_controller.mm", | 12 "showcase_view_controller.mm", |
13 ] | 13 ] |
14 deps = [ | 14 deps = [ |
15 "//base", | 15 "//base", |
| 16 "//ios/chrome/app/startup", |
16 "//ios/showcase/common", | 17 "//ios/showcase/common", |
17 "//ios/third_party/material_components_ios", | 18 "//ios/third_party/material_components_ios", |
18 "//ios/third_party/material_roboto_font_loader_ios", | 19 "//ios/third_party/material_roboto_font_loader_ios", |
| 20 "//ui/base", |
19 ] | 21 ] |
20 libs = [ "UIKit.framework" ] | 22 libs = [ "UIKit.framework" ] |
21 configs += [ "//build/config/compiler:enable_arc" ] | 23 configs += [ "//build/config/compiler:enable_arc" ] |
22 } | 24 } |
23 | 25 |
24 source_set("main") { | 26 source_set("main") { |
25 sources = [ | 27 sources = [ |
26 "main.mm", | 28 "main.mm", |
27 ] | 29 ] |
28 deps = [ | 30 deps = [ |
29 ":core", | 31 ":core", |
| 32 "//base", |
30 | 33 |
31 # Needed to disable the tests hooks. | 34 # Needed to disable the tests hooks. |
32 "//ios/chrome/app:tests_fake_hook", | 35 "//ios/chrome/app:tests_fake_hook", |
33 | 36 |
34 # Needed for including ios/chrome/browser/ui. | 37 # Needed for including ios/chrome/browser/ui. |
35 "//ios/chrome/browser/tabs:tabs_internal", | 38 "//ios/chrome/browser/tabs:tabs_internal", |
36 "//ios/chrome/browser/ui:ui_internal", | 39 "//ios/chrome/browser/ui:ui_internal", |
37 ] | 40 ] |
38 libs = [ "UIKit.framework" ] | 41 libs = [ "UIKit.framework" ] |
39 configs += [ "//build/config/compiler:enable_arc" ] | 42 configs += [ "//build/config/compiler:enable_arc" ] |
40 } | 43 } |
41 | 44 |
42 source_set("eg_tests") { | 45 source_set("eg_tests") { |
43 testonly = true | 46 testonly = true |
44 sources = [ | 47 sources = [ |
45 "showcase_egtest.mm", | 48 "showcase_egtest.mm", |
46 ] | 49 ] |
47 deps = [ | 50 deps = [ |
48 "//ios/showcase/test", | 51 "//ios/showcase/test", |
49 "//ios/third_party/earl_grey", | 52 "//ios/third_party/earl_grey", |
50 ] | 53 ] |
51 configs += [ "//build/config/compiler:enable_arc" ] | 54 configs += [ "//build/config/compiler:enable_arc" ] |
52 } | 55 } |
OLD | NEW |