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", | 9 "content_suggestion_extra_builder.h", |
10 "content_suggestion_extra_builder.mm", | 10 "content_suggestion_extra_builder.mm", |
11 "content_suggestions_collection_updater.h", | 11 "content_suggestions_collection_updater.h", |
12 "content_suggestions_collection_updater.mm", | 12 "content_suggestions_collection_updater.mm", |
13 "content_suggestions_collection_utils.h", | 13 "content_suggestions_collection_utils.h", |
14 "content_suggestions_collection_utils.mm", | 14 "content_suggestions_collection_utils.mm", |
15 "content_suggestions_commands.h", | 15 "content_suggestions_commands.h", |
16 "content_suggestions_data_sink.h", | 16 "content_suggestions_data_sink.h", |
17 "content_suggestions_data_source.h", | 17 "content_suggestions_data_source.h", |
18 "content_suggestions_image_fetcher.h", | 18 "content_suggestions_image_fetcher.h", |
19 "content_suggestions_view_controller.h", | 19 "content_suggestions_view_controller.h", |
20 "content_suggestions_view_controller.mm", | 20 "content_suggestions_view_controller.mm", |
21 ] | 21 ] |
22 deps = [ | 22 deps = [ |
23 ":resources", | 23 ":resources", |
24 "//base", | 24 "//base", |
25 "//components/strings", | 25 "//components/strings", |
| 26 "//ios/chrome/app/strings", |
26 "//ios/chrome/browser/ui", | 27 "//ios/chrome/browser/ui", |
27 "//ios/chrome/browser/ui/collection_view", | 28 "//ios/chrome/browser/ui/collection_view", |
| 29 "//ios/chrome/browser/ui/commands", |
28 "//ios/chrome/browser/ui/content_suggestions/cells", | 30 "//ios/chrome/browser/ui/content_suggestions/cells", |
29 "//ios/chrome/browser/ui/content_suggestions/identifier", | 31 "//ios/chrome/browser/ui/content_suggestions/identifier", |
30 "//ios/chrome/browser/ui/favicon:favicon_ui", | 32 "//ios/chrome/browser/ui/favicon:favicon_ui", |
31 "//ios/chrome/browser/ui/reading_list", | 33 "//ios/chrome/browser/ui/reading_list", |
| 34 "//ios/chrome/browser/ui/toolbar", |
| 35 "//mojo/common:common_custom_types", |
32 "//ui/base", | 36 "//ui/base", |
33 "//url", | 37 "//url", |
34 ] | 38 ] |
35 public_deps = [ | 39 public_deps = [ |
36 "//ios/third_party/material_components_ios", | 40 "//ios/third_party/material_components_ios", |
37 ] | 41 ] |
38 configs += [ "//build/config/compiler:enable_arc" ] | 42 configs += [ "//build/config/compiler:enable_arc" ] |
39 } | 43 } |
40 | 44 |
41 source_set("unit_tests") { | 45 source_set("unit_tests") { |
(...skipping 18 matching lines...) Expand all Loading... |
60 bundle_data("resources") { | 64 bundle_data("resources") { |
61 sources = [ | 65 sources = [ |
62 "resources/content_suggestions_no_image.png", | 66 "resources/content_suggestions_no_image.png", |
63 "resources/content_suggestions_no_image@2x.png", | 67 "resources/content_suggestions_no_image@2x.png", |
64 "resources/content_suggestions_no_image@3x.png", | 68 "resources/content_suggestions_no_image@3x.png", |
65 ] | 69 ] |
66 outputs = [ | 70 outputs = [ |
67 "{{bundle_resources_dir}}/{{source_file_part}}", | 71 "{{bundle_resources_dir}}/{{source_file_part}}", |
68 ] | 72 ] |
69 } | 73 } |
OLD | NEW |