Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_suggestion_extra_builder.h", | |
| 10 "content_suggestion_extra_builder.mm", | |
| 11 "content_suggestions_collection_updater.h", | 9 "content_suggestions_collection_updater.h", |
| 12 "content_suggestions_collection_updater.mm", | 10 "content_suggestions_collection_updater.mm", |
| 13 "content_suggestions_commands.h", | 11 "content_suggestions_commands.h", |
| 14 "content_suggestions_data_sink.h", | 12 "content_suggestions_data_sink.h", |
| 15 "content_suggestions_data_source.h", | 13 "content_suggestions_data_source.h", |
| 16 "content_suggestions_image_fetcher.h", | 14 "content_suggestions_image_fetcher.h", |
| 17 "content_suggestions_view_controller.h", | 15 "content_suggestions_view_controller.h", |
| 18 "content_suggestions_view_controller.mm", | 16 "content_suggestions_view_controller.mm", |
| 19 ] | 17 ] |
| 20 deps = [ | 18 deps = [ |
| 21 ":resources", | 19 ":resources", |
| 22 "//base", | 20 "//base", |
| 23 "//components/strings", | 21 "//components/strings", |
| 24 "//ios/chrome/browser/ui/collection_view", | 22 "//ios/chrome/browser/ui/collection_view", |
| 25 "//ios/chrome/browser/ui/content_suggestions/cells", | 23 "//ios/chrome/browser/ui/content_suggestions/cells", |
| 26 "//ios/chrome/browser/ui/content_suggestions/identifier", | 24 "//ios/chrome/browser/ui/content_suggestions/identifier", |
| 27 "//ios/chrome/browser/ui/favicon:favicon_ui", | 25 "//ios/chrome/browser/ui/favicon:favicon_ui", |
| 28 "//ios/chrome/browser/ui/reading_list", | |
| 29 "//ui/base", | 26 "//ui/base", |
| 30 "//url", | 27 "//url", |
| 31 ] | 28 ] |
| 32 public_deps = [ | 29 public_deps = [ |
| 33 "//ios/third_party/material_components_ios", | 30 "//ios/third_party/material_components_ios", |
| 34 ] | 31 ] |
| 35 configs += [ "//build/config/compiler:enable_arc" ] | 32 configs += [ "//build/config/compiler:enable_arc" ] |
| 36 } | 33 } |
| 37 | 34 |
| 38 source_set("unit_tests") { | 35 source_set("unit_tests") { |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 49 "//third_party/ocmock", | 46 "//third_party/ocmock", |
| 50 ] | 47 ] |
| 51 configs += [ "//build/config/compiler:enable_arc" ] | 48 configs += [ "//build/config/compiler:enable_arc" ] |
| 52 } | 49 } |
| 53 | 50 |
| 54 bundle_data("resources") { | 51 bundle_data("resources") { |
| 55 sources = [ | 52 sources = [ |
| 56 "resources/content_suggestions_no_image.png", | 53 "resources/content_suggestions_no_image.png", |
| 57 "resources/content_suggestions_no_image@2x.png", | 54 "resources/content_suggestions_no_image@2x.png", |
| 58 "resources/content_suggestions_no_image@3x.png", | 55 "resources/content_suggestions_no_image@3x.png", |
| 56 "resources/content_suggestions_offline.png", | |
| 57 "resources/content_suggestions_offline@2x.png", | |
|
jif
2017/05/10 09:06:19
the asset is not really @2x.
gambard
2017/05/10 09:23:27
Haha! I knew it looked bad!
Done.
| |
| 58 "resources/content_suggestions_offline@3x.png", | |
| 59 ] | 59 ] |
| 60 outputs = [ | 60 outputs = [ |
| 61 "{{bundle_resources_dir}}/{{source_file_part}}", | 61 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 62 ] | 62 ] |
| 63 } | 63 } |
| OLD | NEW |