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/ntp_snippets", | 19 "//components/ntp_snippets", |
| 20 "//components/reading_list/core", |
20 "//ios/chrome/app/strings", | 21 "//ios/chrome/app/strings", |
21 "//ios/chrome/browser", | 22 "//ios/chrome/browser", |
22 "//ios/chrome/browser/ntp_snippets", | 23 "//ios/chrome/browser/ntp_snippets", |
| 24 "//ios/chrome/browser/reading_list", |
23 "//ios/chrome/browser/ui", | 25 "//ios/chrome/browser/ui", |
24 "//ios/chrome/browser/ui/alert_coordinator", | 26 "//ios/chrome/browser/ui/alert_coordinator", |
25 "//ios/chrome/browser/ui/content_suggestions", | 27 "//ios/chrome/browser/ui/content_suggestions", |
26 "//ios/chrome/browser/ui/content_suggestions/cells", | 28 "//ios/chrome/browser/ui/content_suggestions/cells", |
27 "//ios/chrome/browser/ui/content_suggestions/identifier", | 29 "//ios/chrome/browser/ui/content_suggestions/identifier", |
28 "//ios/web", | 30 "//ios/web", |
29 "//ui/base", | 31 "//ui/base", |
30 "//ui/strings", | 32 "//ui/strings", |
31 ] | 33 ] |
32 } | 34 } |
33 | 35 |
34 source_set("unit_tests") { | 36 source_set("unit_tests") { |
35 testonly = true | 37 testonly = true |
36 sources = [ | 38 sources = [ |
37 "content_suggestions_category_wrapper_unittest.mm", | 39 "content_suggestions_category_wrapper_unittest.mm", |
38 ] | 40 ] |
39 deps = [ | 41 deps = [ |
40 ":content_suggestions", | 42 ":content_suggestions", |
41 "//components/ntp_snippets", | 43 "//components/ntp_snippets", |
42 "//testing/gtest", | 44 "//testing/gtest", |
43 ] | 45 ] |
44 configs += [ "//build/config/compiler:enable_arc" ] | 46 configs += [ "//build/config/compiler:enable_arc" ] |
45 } | 47 } |
OLD | NEW |