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("cells") { | 5 source_set("cells") { |
6 sources = [ | 6 sources = [ |
7 "content_suggestions_article_item.h", | 7 "content_suggestions_article_item.h", |
8 "content_suggestions_article_item.mm", | 8 "content_suggestions_article_item.mm", |
9 "content_suggestions_footer_item.h", | 9 "content_suggestions_footer_item.h", |
10 "content_suggestions_footer_item.mm", | 10 "content_suggestions_footer_item.mm", |
11 "content_suggestions_most_visited.h", | 11 "content_suggestions_most_visited.h", |
12 "content_suggestions_most_visited.mm", | 12 "content_suggestions_most_visited.mm", |
| 13 "content_suggestions_most_visited_item.h", |
| 14 "content_suggestions_most_visited_item.mm", |
13 "content_suggestions_most_visited_tile.h", | 15 "content_suggestions_most_visited_tile.h", |
14 "content_suggestions_most_visited_tile.mm", | 16 "content_suggestions_most_visited_tile.mm", |
15 "content_suggestions_reading_list_item.h", | 17 "content_suggestions_reading_list_item.h", |
16 "content_suggestions_reading_list_item.mm", | 18 "content_suggestions_reading_list_item.mm", |
17 "content_suggestions_text_item.h", | 19 "content_suggestions_text_item.h", |
18 "content_suggestions_text_item.mm", | 20 "content_suggestions_text_item.mm", |
19 ] | 21 ] |
20 deps = [ | 22 deps = [ |
21 "//base", | 23 "//base", |
22 "//ios/chrome/browser/ui", | 24 "//ios/chrome/browser/ui", |
23 "//ios/chrome/browser/ui/collection_view", | 25 "//ios/chrome/browser/ui/collection_view", |
24 "//ios/chrome/browser/ui/colors", | 26 "//ios/chrome/browser/ui/colors", |
25 "//ios/chrome/browser/ui/content_suggestions/identifier", | 27 "//ios/chrome/browser/ui/content_suggestions/identifier", |
26 "//ios/chrome/browser/ui/favicon:favicon_ui", | 28 "//ios/chrome/browser/ui/favicon:favicon_ui", |
27 "//ios/chrome/browser/ui/reading_list", | 29 "//ios/chrome/browser/ui/reading_list", |
28 "//ios/chrome/browser/ui/util", | 30 "//ios/chrome/browser/ui/util", |
29 "//ui/base", | 31 "//ui/base", |
30 "//url", | 32 "//url", |
31 ] | 33 ] |
32 configs += [ "//build/config/compiler:enable_arc" ] | 34 configs += [ "//build/config/compiler:enable_arc" ] |
33 } | 35 } |
34 | 36 |
35 source_set("unit_tests") { | 37 source_set("unit_tests") { |
36 testonly = true | 38 testonly = true |
37 sources = [ | 39 sources = [ |
38 "content_suggestions_article_item_unittest.mm", | 40 "content_suggestions_article_item_unittest.mm", |
39 "content_suggestions_footer_item_unittest.mm", | 41 "content_suggestions_footer_item_unittest.mm", |
| 42 "content_suggestions_most_visited_item_unittest.mm", |
40 "content_suggestions_most_visited_tile_unittest.mm", | 43 "content_suggestions_most_visited_tile_unittest.mm", |
41 "content_suggestions_most_visited_unittest.mm", | 44 "content_suggestions_most_visited_unittest.mm", |
42 ] | 45 ] |
43 deps = [ | 46 deps = [ |
44 ":cells", | 47 ":cells", |
45 "//base", | 48 "//base", |
| 49 "//ios/chrome/browser/ui", |
46 "//ios/chrome/browser/ui/collection_view", | 50 "//ios/chrome/browser/ui/collection_view", |
47 "//ios/chrome/browser/ui/favicon:favicon_ui", | 51 "//ios/chrome/browser/ui/favicon:favicon_ui", |
48 "//testing/gtest", | 52 "//testing/gtest", |
49 "//third_party/ocmock", | 53 "//third_party/ocmock", |
50 "//url", | 54 "//url", |
51 ] | 55 ] |
52 configs += [ "//build/config/compiler:enable_arc" ] | 56 configs += [ "//build/config/compiler:enable_arc" ] |
53 } | 57 } |
OLD | NEW |