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

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

Issue 2770113006: Add no-image image in ContentSuggestions (Closed)
Patch Set: Fix tests Created 3 years, 8 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_article_item.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 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_suggestion.h", 7 "content_suggestion.h",
8 "content_suggestion.mm", 8 "content_suggestion.mm",
9 "content_suggestions_collection_updater.h", 9 "content_suggestions_collection_updater.h",
10 "content_suggestions_collection_updater.mm", 10 "content_suggestions_collection_updater.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 "//base", 20 "//base",
20 "//components/strings", 21 "//components/strings",
21 "//ios/chrome/browser/ui/collection_view", 22 "//ios/chrome/browser/ui/collection_view",
22 "//ios/chrome/browser/ui/content_suggestions/cells", 23 "//ios/chrome/browser/ui/content_suggestions/cells",
23 "//ios/chrome/browser/ui/content_suggestions/identifier", 24 "//ios/chrome/browser/ui/content_suggestions/identifier",
24 "//ui/base", 25 "//ui/base",
25 "//url", 26 "//url",
26 ] 27 ]
27 public_deps = [ 28 public_deps = [
28 "//ios/third_party/material_components_ios", 29 "//ios/third_party/material_components_ios",
29 ] 30 ]
30 configs += [ "//build/config/compiler:enable_arc" ] 31 configs += [ "//build/config/compiler:enable_arc" ]
31 } 32 }
32 33
33 source_set("unit_tests") { 34 source_set("unit_tests") {
34 testonly = true 35 testonly = true
35 sources = [ 36 sources = [
36 "content_suggestions_collection_updater_unittest.mm", 37 "content_suggestions_collection_updater_unittest.mm",
37 ] 38 ]
38 deps = [ 39 deps = [
39 ":content_suggestions", 40 ":content_suggestions",
40 "//base", 41 "//base",
41 "//ios/chrome/browser/ui/collection_view", 42 "//ios/chrome/browser/ui/collection_view",
42 "//ios/chrome/browser/ui/content_suggestions/identifier", 43 "//ios/chrome/browser/ui/content_suggestions/identifier",
43 "//testing/gtest", 44 "//testing/gtest",
44 "//third_party/ocmock", 45 "//third_party/ocmock",
45 ] 46 ]
46 configs += [ "//build/config/compiler:enable_arc" ] 47 configs += [ "//build/config/compiler:enable_arc" ]
47 } 48 }
49
50 bundle_data("resources") {
51 sources = [
52 "resources/content_suggestions_no_image.png",
53 "resources/content_suggestions_no_image@2x.png",
54 "resources/content_suggestions_no_image@3x.png",
55 ]
56 outputs = [
57 "{{bundle_resources_dir}}/{{source_file_part}}",
58 ]
59 }
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/ui/content_suggestions/cells/content_suggestions_article_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698