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

Side by Side Diff: ios/chrome/browser/ui/content_suggestions/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 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("content_suggestions") { 5 source_set("content_suggestions") {
6 sources = [ 6 sources = [
7 "content_suggestions_collection_updater.h", 7 "content_suggestions_collection_updater.h",
8 "content_suggestions_collection_updater.mm", 8 "content_suggestions_collection_updater.mm",
9 "content_suggestions_collection_utils.h", 9 "content_suggestions_collection_utils.h",
10 "content_suggestions_collection_utils.mm", 10 "content_suggestions_collection_utils.mm",
11 "content_suggestions_commands.h", 11 "content_suggestions_commands.h",
12 "content_suggestions_data_sink.h", 12 "content_suggestions_data_sink.h",
13 "content_suggestions_data_source.h", 13 "content_suggestions_data_source.h",
14 "content_suggestions_image_fetcher.h", 14 "content_suggestions_image_fetcher.h",
15 "content_suggestions_view_controller.h", 15 "content_suggestions_view_controller.h",
16 "content_suggestions_view_controller.mm", 16 "content_suggestions_view_controller.mm",
17 ] 17 ]
18 deps = [ 18 deps = [
19 ":resources", 19 ":resources",
20 "//base", 20 "//base",
21 "//components/strings", 21 "//components/strings",
22 "//ios/chrome/app/strings", 22 "//ios/chrome/app/strings",
23 "//ios/chrome/browser/ui", 23 "//ios/chrome/browser/ui",
24 "//ios/chrome/browser/ui/collection_view", 24 "//ios/chrome/browser/ui/collection_view",
25 "//ios/chrome/browser/ui/commands", 25 "//ios/chrome/browser/ui/commands",
26 "//ios/chrome/browser/ui/content_suggestions/cells", 26 "//ios/chrome/browser/ui/content_suggestions/cells:cells_ui",
27 "//ios/chrome/browser/ui/content_suggestions/identifier", 27 "//ios/chrome/browser/ui/content_suggestions/identifier",
28 "//ios/chrome/browser/ui/favicon:favicon_ui", 28 "//ios/chrome/browser/ui/favicon:favicon_ui",
29 "//ios/chrome/browser/ui/toolbar", 29 "//ios/chrome/browser/ui/toolbar",
30 "//mojo/common:common_custom_types", 30 "//mojo/common:common_custom_types",
31 "//ui/base", 31 "//ui/base",
32 "//url", 32 "//url",
33 ] 33 ]
34 public_deps = [ 34 public_deps = [
35 "//ios/third_party/material_components_ios", 35 "//ios/third_party/material_components_ios",
36 ] 36 ]
37 configs += [ "//build/config/compiler:enable_arc" ] 37 configs += [ "//build/config/compiler:enable_arc" ]
38 } 38 }
39 39
40 source_set("unit_tests") { 40 source_set("unit_tests") {
41 testonly = true 41 testonly = true
42 sources = [ 42 sources = [
43 "content_suggestions_collection_updater_unittest.mm", 43 "content_suggestions_collection_updater_unittest.mm",
44 "content_suggestions_collection_utils_unittest.mm", 44 "content_suggestions_collection_utils_unittest.mm",
45 ] 45 ]
46 deps = [ 46 deps = [
47 ":content_suggestions", 47 ":content_suggestions",
48 "//base", 48 "//base",
49 "//ios/chrome/browser/ui", 49 "//ios/chrome/browser/ui",
50 "//ios/chrome/browser/ui/collection_view", 50 "//ios/chrome/browser/ui/collection_view",
51 "//ios/chrome/browser/ui/content_suggestions/cells", 51 "//ios/chrome/browser/ui/content_suggestions/cells:cells_ui",
52 "//ios/chrome/browser/ui/content_suggestions/identifier", 52 "//ios/chrome/browser/ui/content_suggestions/identifier",
53 "//ios/chrome/test/base", 53 "//ios/chrome/test/base",
54 "//testing/gtest", 54 "//testing/gtest",
55 "//third_party/ocmock", 55 "//third_party/ocmock",
56 ] 56 ]
57 configs += [ "//build/config/compiler:enable_arc" ] 57 configs += [ "//build/config/compiler:enable_arc" ]
58 } 58 }
59 59
60 bundle_data("resources") { 60 bundle_data("resources") {
61 sources = [ 61 sources = [
62 "resources/content_suggestions_no_image.png", 62 "resources/content_suggestions_no_image.png",
63 "resources/content_suggestions_no_image@2x.png", 63 "resources/content_suggestions_no_image@2x.png",
64 "resources/content_suggestions_no_image@3x.png", 64 "resources/content_suggestions_no_image@3x.png",
65 "resources/content_suggestions_offline.png", 65 "resources/content_suggestions_offline.png",
66 "resources/content_suggestions_offline@2x.png", 66 "resources/content_suggestions_offline@2x.png",
67 "resources/content_suggestions_offline@3x.png", 67 "resources/content_suggestions_offline@3x.png",
68 ] 68 ]
69 outputs = [ 69 outputs = [
70 "{{bundle_resources_dir}}/{{source_file_part}}", 70 "{{bundle_resources_dir}}/{{source_file_part}}",
71 ] 71 ]
72 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698