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