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("suggestions") { |
6 sources = [ | 6 sources = [ |
7 "app_delegate.h", | 7 "sc_suggestions_coordinator.h", |
8 "app_delegate.mm", | 8 "sc_suggestions_coordinator.mm", |
9 "showcase_model.h", | |
10 "showcase_model.mm", | |
11 "showcase_view_controller.h", | |
12 "showcase_view_controller.mm", | |
13 ] | 9 ] |
14 deps = [ | 10 deps = [ |
15 "//base", | 11 "//base", |
| 12 "//ios/chrome/browser/ui/suggestions", |
16 "//ios/showcase/common", | 13 "//ios/showcase/common", |
17 ] | 14 ] |
18 libs = [ "UIKit.framework" ] | 15 libs = [ "UIKit.framework" ] |
19 configs += [ "//build/config/compiler:enable_arc" ] | 16 configs += [ "//build/config/compiler:enable_arc" ] |
20 } | 17 } |
21 | 18 |
22 source_set("main") { | |
23 sources = [ | |
24 "main.mm", | |
25 ] | |
26 deps = [ | |
27 ":core", | |
28 ] | |
29 libs = [ "UIKit.framework" ] | |
30 configs += [ "//build/config/compiler:enable_arc" ] | |
31 } | |
32 | |
33 source_set("eg_tests") { | 19 source_set("eg_tests") { |
34 testonly = true | 20 testonly = true |
35 sources = [ | 21 sources = [ |
36 "showcase_egtest.mm", | 22 "sc_suggestions_egtest.mm", |
37 ] | 23 ] |
38 deps = [ | 24 deps = [ |
39 "//ios/showcase/test", | 25 "//ios/showcase/test", |
40 "//ios/third_party/earl_grey", | 26 "//ios/third_party/earl_grey", |
41 ] | 27 ] |
42 configs += [ "//build/config/compiler:enable_arc" ] | 28 configs += [ "//build/config/compiler:enable_arc" ] |
43 } | 29 } |
OLD | NEW |