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("suggestions") { | 5 source_set("suggestions") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "expandable_item.h", | 8 "expandable_item.h", |
9 "suggestions_article_item.h", | 9 "suggestions_article_item.h", |
10 "suggestions_article_item.mm", | 10 "suggestions_article_item.mm", |
11 "suggestions_collection_updater.h", | 11 "suggestions_collection_updater.h", |
12 "suggestions_collection_updater.mm", | 12 "suggestions_collection_updater.mm", |
13 "suggestions_commands.h", | 13 "suggestions_commands.h", |
14 "suggestions_expandable_item.h", | 14 "suggestions_expandable_item.h", |
15 "suggestions_expandable_item.mm", | 15 "suggestions_expandable_item.mm", |
| 16 "suggestions_favicon_internal_cell.h", |
| 17 "suggestions_favicon_internal_cell.mm", |
| 18 "suggestions_favicon_item.h", |
| 19 "suggestions_favicon_item.mm", |
16 "suggestions_item.h", | 20 "suggestions_item.h", |
17 "suggestions_item.mm", | 21 "suggestions_item.mm", |
18 "suggestions_item_actions.h", | 22 "suggestions_item_actions.h", |
19 "suggestions_stack_item.h", | 23 "suggestions_stack_item.h", |
20 "suggestions_stack_item.mm", | 24 "suggestions_stack_item.mm", |
21 "suggestions_stack_item_actions.h", | 25 "suggestions_stack_item_actions.h", |
22 "suggestions_view_controller.h", | 26 "suggestions_view_controller.h", |
23 "suggestions_view_controller.mm", | 27 "suggestions_view_controller.mm", |
24 ] | 28 ] |
25 deps = [ | 29 deps = [ |
26 "//base", | 30 "//base", |
27 "//ios/chrome/browser/ui", | 31 "//ios/chrome/browser/ui", |
28 "//ios/chrome/browser/ui/collection_view", | 32 "//ios/chrome/browser/ui/collection_view", |
29 "//ios/third_party/material_roboto_font_loader_ios", | 33 "//ios/third_party/material_roboto_font_loader_ios", |
30 "//ui/base", | 34 "//ui/base", |
31 ] | 35 ] |
32 public_deps = [ | 36 public_deps = [ |
33 "//ios/third_party/material_components_ios", | 37 "//ios/third_party/material_components_ios", |
34 ] | 38 ] |
35 } | 39 } |
36 | 40 |
37 source_set("unit_tests") { | 41 source_set("unit_tests") { |
38 configs += [ "//build/config/compiler:enable_arc" ] | 42 configs += [ "//build/config/compiler:enable_arc" ] |
39 testonly = true | 43 testonly = true |
40 sources = [ | 44 sources = [ |
41 "suggestions_article_item_unittest.mm", | 45 "suggestions_article_item_unittest.mm", |
42 "suggestions_expandable_item_unittest.mm", | 46 "suggestions_expandable_item_unittest.mm", |
| 47 "suggestions_favicon_item_unittest.mm", |
43 "suggestions_item_unittest.mm", | 48 "suggestions_item_unittest.mm", |
44 "suggestions_stack_item_unittest.mm", | 49 "suggestions_stack_item_unittest.mm", |
45 ] | 50 ] |
46 deps = [ | 51 deps = [ |
47 ":suggestions", | 52 ":suggestions", |
48 "//ios/chrome/browser/ui/collection_view", | 53 "//ios/chrome/browser/ui/collection_view", |
49 "//testing/gtest", | 54 "//testing/gtest", |
50 "//third_party/ocmock", | 55 "//third_party/ocmock", |
51 ] | 56 ] |
52 } | 57 } |
OLD | NEW |