OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("content_suggestions") { | 5 source_set("content_suggestions") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "content_suggestions_category_wrapper.h", | 8 "content_suggestions_category_wrapper.h", |
9 "content_suggestions_category_wrapper.mm", | 9 "content_suggestions_category_wrapper.mm", |
10 "content_suggestions_coordinator.h", | 10 "content_suggestions_coordinator.h", |
11 "content_suggestions_coordinator.mm", | 11 "content_suggestions_coordinator.mm", |
12 "content_suggestions_mediator.h", | 12 "content_suggestions_mediator.h", |
13 "content_suggestions_mediator.mm", | 13 "content_suggestions_mediator.mm", |
14 "content_suggestions_service_bridge_observer.h", | 14 "content_suggestions_service_bridge_observer.h", |
15 "content_suggestions_service_bridge_observer.mm", | 15 "content_suggestions_service_bridge_observer.mm", |
16 ] | 16 ] |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//components/favicon/core", | 19 "//components/favicon/core", |
20 "//components/ntp_snippets", | 20 "//components/ntp_snippets", |
21 "//components/reading_list/core", | 21 "//components/reading_list/core", |
22 "//ios/chrome/app/strings", | 22 "//ios/chrome/app/strings", |
23 "//ios/chrome/browser", | 23 "//ios/chrome/browser", |
24 "//ios/chrome/browser/favicon", | 24 "//ios/chrome/browser/favicon", |
25 "//ios/chrome/browser/ntp_snippets", | 25 "//ios/chrome/browser/ntp_snippets", |
26 "//ios/chrome/browser/reading_list", | 26 "//ios/chrome/browser/reading_list", |
27 "//ios/chrome/browser/ui", | 27 "//ios/chrome/browser/ui", |
28 "//ios/chrome/browser/ui/alert_coordinator", | 28 "//ios/chrome/browser/ui/alert_coordinator", |
| 29 "//ios/chrome/browser/ui/commands", |
29 "//ios/chrome/browser/ui/content_suggestions", | 30 "//ios/chrome/browser/ui/content_suggestions", |
30 "//ios/chrome/browser/ui/content_suggestions/cells", | 31 "//ios/chrome/browser/ui/content_suggestions/cells", |
31 "//ios/chrome/browser/ui/content_suggestions/identifier", | 32 "//ios/chrome/browser/ui/content_suggestions/identifier", |
32 "//ios/chrome/browser/ui/favicon", | 33 "//ios/chrome/browser/ui/favicon", |
33 "//ios/web", | 34 "//ios/web", |
34 "//ui/base", | 35 "//ui/base", |
35 "//ui/strings", | 36 "//ui/strings", |
36 ] | 37 ] |
37 } | 38 } |
38 | 39 |
39 source_set("unit_tests") { | 40 source_set("unit_tests") { |
40 testonly = true | 41 testonly = true |
41 sources = [ | 42 sources = [ |
42 "content_suggestions_category_wrapper_unittest.mm", | 43 "content_suggestions_category_wrapper_unittest.mm", |
43 ] | 44 ] |
44 deps = [ | 45 deps = [ |
45 ":content_suggestions", | 46 ":content_suggestions", |
46 "//components/ntp_snippets", | 47 "//components/ntp_snippets", |
47 "//testing/gtest", | 48 "//testing/gtest", |
48 ] | 49 ] |
49 configs += [ "//build/config/compiler:enable_arc" ] | 50 configs += [ "//build/config/compiler:enable_arc" ] |
50 } | 51 } |
OLD | NEW |