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

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

Issue 2887433002: Move the ContentSuggestions items to a new target (Closed)
Patch Set: 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
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_footer_item.h",
8 "content_suggestions_footer_item.mm",
9 "content_suggestions_item.h", 7 "content_suggestions_item.h",
10 "content_suggestions_item.mm", 8 "content_suggestions_item.mm",
11 "content_suggestions_most_visited_item.h", 9 "content_suggestions_most_visited_item.h",
12 "content_suggestions_most_visited_item.mm", 10 "content_suggestions_most_visited_item.mm",
11 ]
12 deps = [
13 ":cells_ui",
14 "//base",
15 "//ios/chrome/browser/ui/collection_view",
16 "//ios/chrome/browser/ui/content_suggestions/identifier",
17 "//ios/chrome/browser/ui/favicon:favicon_ui",
18 "//url",
19 ]
20 configs += [ "//build/config/compiler:enable_arc" ]
21 }
22
23 source_set("cells_ui") {
24 sources = [
25 "content_suggestions_cell.h",
26 "content_suggestions_cell.mm",
27 "content_suggestions_footer_item.h",
28 "content_suggestions_footer_item.mm",
29 "content_suggestions_most_visited_cell.h",
30 "content_suggestions_most_visited_cell.mm",
13 "content_suggestions_text_item.h", 31 "content_suggestions_text_item.h",
14 "content_suggestions_text_item.mm", 32 "content_suggestions_text_item.mm",
15 "suggested_content.h", 33 "suggested_content.h",
16 ] 34 ]
17 deps = [ 35 deps = [
18 "//base", 36 "//base",
19 "//ios/chrome/browser/ui", 37 "//ios/chrome/browser/ui",
20 "//ios/chrome/browser/ui/collection_view", 38 "//ios/chrome/browser/ui/collection_view",
21 "//ios/chrome/browser/ui/colors", 39 "//ios/chrome/browser/ui/colors",
22 "//ios/chrome/browser/ui/content_suggestions/identifier", 40 "//ios/chrome/browser/ui/content_suggestions/identifier",
23 "//ios/chrome/browser/ui/favicon:favicon_ui", 41 "//ios/chrome/browser/ui/favicon:favicon_ui",
24 "//ios/chrome/browser/ui/util", 42 "//ios/chrome/browser/ui/util",
25 "//ui/base", 43 "//ui/base",
26 "//url",
27 ] 44 ]
28 configs += [ "//build/config/compiler:enable_arc" ] 45 configs += [ "//build/config/compiler:enable_arc" ]
29 } 46 }
30 47
31 source_set("unit_tests") { 48 source_set("unit_tests") {
32 testonly = true 49 testonly = true
33 sources = [ 50 sources = [
34 "content_suggestions_footer_item_unittest.mm", 51 "content_suggestions_footer_item_unittest.mm",
35 "content_suggestions_item_unittest.mm", 52 "content_suggestions_item_unittest.mm",
36 "content_suggestions_most_visited_item_unittest.mm", 53 "content_suggestions_most_visited_item_unittest.mm",
37 ] 54 ]
38 deps = [ 55 deps = [
39 ":cells", 56 ":cells",
57 ":cells_ui",
40 "//base", 58 "//base",
41 "//ios/chrome/browser/ui", 59 "//ios/chrome/browser/ui",
42 "//ios/chrome/browser/ui/collection_view", 60 "//ios/chrome/browser/ui/collection_view",
43 "//ios/chrome/browser/ui/favicon:favicon_ui", 61 "//ios/chrome/browser/ui/favicon:favicon_ui",
44 "//testing/gtest", 62 "//testing/gtest",
45 "//third_party/ocmock", 63 "//third_party/ocmock",
46 "//url", 64 "//url",
47 ] 65 ]
48 configs += [ "//build/config/compiler:enable_arc" ] 66 configs += [ "//build/config/compiler:enable_arc" ]
49 } 67 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698