| 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", | |
| 8 "content_suggestion.mm", | |
| 9 "content_suggestions_collection_updater.h", | 7 "content_suggestions_collection_updater.h", |
| 10 "content_suggestions_collection_updater.mm", | 8 "content_suggestions_collection_updater.mm", |
| 11 "content_suggestions_collection_utils.h", | 9 "content_suggestions_collection_utils.h", |
| 12 "content_suggestions_collection_utils.mm", | 10 "content_suggestions_collection_utils.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", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 43 testonly = true | 41 testonly = true |
| 44 sources = [ | 42 sources = [ |
| 45 "content_suggestions_collection_updater_unittest.mm", | 43 "content_suggestions_collection_updater_unittest.mm", |
| 46 "content_suggestions_collection_utils_unittest.mm", | 44 "content_suggestions_collection_utils_unittest.mm", |
| 47 ] | 45 ] |
| 48 deps = [ | 46 deps = [ |
| 49 ":content_suggestions", | 47 ":content_suggestions", |
| 50 "//base", | 48 "//base", |
| 51 "//ios/chrome/browser/ui", | 49 "//ios/chrome/browser/ui", |
| 52 "//ios/chrome/browser/ui/collection_view", | 50 "//ios/chrome/browser/ui/collection_view", |
| 51 "//ios/chrome/browser/ui/content_suggestions/cells", |
| 53 "//ios/chrome/browser/ui/content_suggestions/identifier", | 52 "//ios/chrome/browser/ui/content_suggestions/identifier", |
| 54 "//ios/chrome/test/base", | 53 "//ios/chrome/test/base", |
| 55 "//testing/gtest", | 54 "//testing/gtest", |
| 56 "//third_party/ocmock", | 55 "//third_party/ocmock", |
| 57 ] | 56 ] |
| 58 configs += [ "//build/config/compiler:enable_arc" ] | 57 configs += [ "//build/config/compiler:enable_arc" ] |
| 59 } | 58 } |
| 60 | 59 |
| 61 bundle_data("resources") { | 60 bundle_data("resources") { |
| 62 sources = [ | 61 sources = [ |
| 63 "resources/content_suggestions_no_image.png", | 62 "resources/content_suggestions_no_image.png", |
| 64 "resources/content_suggestions_no_image@2x.png", | 63 "resources/content_suggestions_no_image@2x.png", |
| 65 "resources/content_suggestions_no_image@3x.png", | 64 "resources/content_suggestions_no_image@3x.png", |
| 66 "resources/content_suggestions_offline.png", | 65 "resources/content_suggestions_offline.png", |
| 67 "resources/content_suggestions_offline@2x.png", | 66 "resources/content_suggestions_offline@2x.png", |
| 68 "resources/content_suggestions_offline@3x.png", | 67 "resources/content_suggestions_offline@3x.png", |
| 69 ] | 68 ] |
| 70 outputs = [ | 69 outputs = [ |
| 71 "{{bundle_resources_dir}}/{{source_file_part}}", | 70 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 72 ] | 71 ] |
| 73 } | 72 } |
| OLD | NEW |