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

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

Issue 2873503005: Create individual cells for MostVisited tiles (Closed)
Patch Set: Address comments Created 3 years, 7 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
« no previous file with comments | « no previous file | ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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",
12 "content_suggestions_most_visited.mm",
13 "content_suggestions_most_visited_item.h", 11 "content_suggestions_most_visited_item.h",
14 "content_suggestions_most_visited_item.mm", 12 "content_suggestions_most_visited_item.mm",
15 "content_suggestions_most_visited_tile.h",
16 "content_suggestions_most_visited_tile.mm",
17 "content_suggestions_reading_list_item.h", 13 "content_suggestions_reading_list_item.h",
18 "content_suggestions_reading_list_item.mm", 14 "content_suggestions_reading_list_item.mm",
19 "content_suggestions_text_item.h", 15 "content_suggestions_text_item.h",
20 "content_suggestions_text_item.mm", 16 "content_suggestions_text_item.mm",
21 ] 17 ]
22 deps = [ 18 deps = [
23 "//base", 19 "//base",
24 "//ios/chrome/browser/ui", 20 "//ios/chrome/browser/ui",
25 "//ios/chrome/browser/ui/collection_view", 21 "//ios/chrome/browser/ui/collection_view",
26 "//ios/chrome/browser/ui/colors", 22 "//ios/chrome/browser/ui/colors",
27 "//ios/chrome/browser/ui/content_suggestions/identifier", 23 "//ios/chrome/browser/ui/content_suggestions/identifier",
28 "//ios/chrome/browser/ui/favicon:favicon_ui", 24 "//ios/chrome/browser/ui/favicon:favicon_ui",
29 "//ios/chrome/browser/ui/reading_list", 25 "//ios/chrome/browser/ui/reading_list",
30 "//ios/chrome/browser/ui/util", 26 "//ios/chrome/browser/ui/util",
31 "//ui/base", 27 "//ui/base",
32 "//url", 28 "//url",
33 ] 29 ]
34 configs += [ "//build/config/compiler:enable_arc" ] 30 configs += [ "//build/config/compiler:enable_arc" ]
35 } 31 }
36 32
37 source_set("unit_tests") { 33 source_set("unit_tests") {
38 testonly = true 34 testonly = true
39 sources = [ 35 sources = [
40 "content_suggestions_article_item_unittest.mm", 36 "content_suggestions_article_item_unittest.mm",
41 "content_suggestions_footer_item_unittest.mm", 37 "content_suggestions_footer_item_unittest.mm",
42 "content_suggestions_most_visited_item_unittest.mm", 38 "content_suggestions_most_visited_item_unittest.mm",
43 "content_suggestions_most_visited_tile_unittest.mm",
44 "content_suggestions_most_visited_unittest.mm",
45 ] 39 ]
46 deps = [ 40 deps = [
47 ":cells", 41 ":cells",
48 "//base", 42 "//base",
49 "//ios/chrome/browser/ui", 43 "//ios/chrome/browser/ui",
50 "//ios/chrome/browser/ui/collection_view", 44 "//ios/chrome/browser/ui/collection_view",
51 "//ios/chrome/browser/ui/favicon:favicon_ui", 45 "//ios/chrome/browser/ui/favicon:favicon_ui",
52 "//testing/gtest", 46 "//testing/gtest",
53 "//third_party/ocmock", 47 "//third_party/ocmock",
54 "//url", 48 "//url",
55 ] 49 ]
56 configs += [ "//build/config/compiler:enable_arc" ] 50 configs += [ "//build/config/compiler:enable_arc" ]
57 } 51 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_most_visited.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698