Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn

Issue 2761753002: Cleanup ContentSuggestions cells (Closed)
Patch Set: Fix tests Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 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("cells") {
6 configs += [ "//build/config/compiler:enable_arc" ]
7 sources = [ 6 sources = [
8 "content_suggestion.h",
9 "content_suggestion.mm",
10 "content_suggestions_article_item.h", 7 "content_suggestions_article_item.h",
11 "content_suggestions_article_item.mm", 8 "content_suggestions_article_item.mm",
12 "content_suggestions_collection_updater.h", 9 "content_suggestions_button_item.h",
13 "content_suggestions_collection_updater.mm", 10 "content_suggestions_button_item.mm",
14 "content_suggestions_commands.h", 11 "content_suggestions_button_item_actions.h",
15 "content_suggestions_data_sink.h",
16 "content_suggestions_data_source.h",
17 "content_suggestions_expandable_item.h", 12 "content_suggestions_expandable_item.h",
18 "content_suggestions_expandable_item.mm", 13 "content_suggestions_expandable_item.mm",
19 "content_suggestions_favicon_internal_cell.h", 14 "content_suggestions_favicon_internal_cell.h",
20 "content_suggestions_favicon_internal_cell.mm", 15 "content_suggestions_favicon_internal_cell.mm",
21 "content_suggestions_favicon_item.h", 16 "content_suggestions_favicon_item.h",
22 "content_suggestions_favicon_item.mm", 17 "content_suggestions_favicon_item.mm",
23 "content_suggestions_footer_item.h", 18 "content_suggestions_footer_item.h",
24 "content_suggestions_footer_item.mm", 19 "content_suggestions_footer_item.mm",
25 "content_suggestions_image_fetcher.h",
26 "content_suggestions_stack_item.h", 20 "content_suggestions_stack_item.h",
27 "content_suggestions_stack_item.mm", 21 "content_suggestions_stack_item.mm",
28 "content_suggestions_stack_item_actions.h", 22 "content_suggestions_stack_item_actions.h",
29 "content_suggestions_text_item.h",
30 "content_suggestions_text_item.mm",
31 "content_suggestions_text_item_actions.h",
32 "content_suggestions_view_controller.h",
33 "content_suggestions_view_controller.mm",
34 "expandable_item.h", 23 "expandable_item.h",
35 ] 24 ]
36 deps = [ 25 deps = [
37 "//base", 26 "//base",
38 "//ios/chrome/browser/ui", 27 "//ios/chrome/browser/ui",
39 "//ios/chrome/browser/ui/collection_view", 28 "//ios/chrome/browser/ui/collection_view",
40 "//ios/chrome/browser/ui/colors", 29 "//ios/chrome/browser/ui/colors",
41 "//ios/chrome/browser/ui/content_suggestions/identifier", 30 "//ios/chrome/browser/ui/content_suggestions/identifier",
42 "//ios/chrome/browser/ui/util", 31 "//ios/chrome/browser/ui/util",
43 "//ios/third_party/material_roboto_font_loader_ios",
44 "//ui/base", 32 "//ui/base",
45 "//url", 33 "//url",
46 ] 34 ]
47 public_deps = [ 35 configs += [ "//build/config/compiler:enable_arc" ]
48 "//ios/third_party/material_components_ios",
49 ]
50 } 36 }
51 37
52 source_set("unit_tests") { 38 source_set("unit_tests") {
53 configs += [ "//build/config/compiler:enable_arc" ]
54 testonly = true 39 testonly = true
55 sources = [ 40 sources = [
56 "content_suggestions_article_item_unittest.mm", 41 "content_suggestions_article_item_unittest.mm",
42 "content_suggestions_button_item_unittest.mm",
57 "content_suggestions_expandable_item_unittest.mm", 43 "content_suggestions_expandable_item_unittest.mm",
58 "content_suggestions_favicon_item_unittest.mm", 44 "content_suggestions_favicon_item_unittest.mm",
59 "content_suggestions_footer_item_unittest.mm", 45 "content_suggestions_footer_item_unittest.mm",
60 "content_suggestions_stack_item_unittest.mm", 46 "content_suggestions_stack_item_unittest.mm",
61 "content_suggestions_text_item_unittest.mm",
62 ] 47 ]
63 deps = [ 48 deps = [
64 ":content_suggestions", 49 ":cells",
65 "//base", 50 "//base",
66 "//ios/chrome/browser/ui/collection_view", 51 "//ios/chrome/browser/ui/collection_view",
67 "//testing/gtest", 52 "//testing/gtest",
68 "//third_party/ocmock", 53 "//third_party/ocmock",
69 "//url", 54 "//url",
70 ] 55 ]
56 configs += [ "//build/config/compiler:enable_arc" ]
71 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698