| 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 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
| 7 sources = [ | 7 sources = [ |
| 8 "content_suggestion.h", | 8 "content_suggestion.h", |
| 9 "content_suggestion.mm", | 9 "content_suggestion.mm", |
| 10 "content_suggestions_article_item.h", | 10 "content_suggestions_article_item.h", |
| 11 "content_suggestions_article_item.mm", | 11 "content_suggestions_article_item.mm", |
| 12 "content_suggestions_collection_updater.h", | 12 "content_suggestions_collection_updater.h", |
| 13 "content_suggestions_collection_updater.mm", | 13 "content_suggestions_collection_updater.mm", |
| 14 "content_suggestions_commands.h", | 14 "content_suggestions_commands.h", |
| 15 "content_suggestions_data_sink.h", | 15 "content_suggestions_data_sink.h", |
| 16 "content_suggestions_data_source.h", | 16 "content_suggestions_data_source.h", |
| 17 "content_suggestions_expandable_item.h", | 17 "content_suggestions_expandable_item.h", |
| 18 "content_suggestions_expandable_item.mm", | 18 "content_suggestions_expandable_item.mm", |
| 19 "content_suggestions_favicon_internal_cell.h", | 19 "content_suggestions_favicon_internal_cell.h", |
| 20 "content_suggestions_favicon_internal_cell.mm", | 20 "content_suggestions_favicon_internal_cell.mm", |
| 21 "content_suggestions_favicon_item.h", | 21 "content_suggestions_favicon_item.h", |
| 22 "content_suggestions_favicon_item.mm", | 22 "content_suggestions_favicon_item.mm", |
| 23 "content_suggestions_item.h", | |
| 24 "content_suggestions_item.mm", | |
| 25 "content_suggestions_item_actions.h", | |
| 26 "content_suggestions_section_information.h", | 23 "content_suggestions_section_information.h", |
| 27 "content_suggestions_section_information.mm", | 24 "content_suggestions_section_information.mm", |
| 28 "content_suggestions_stack_item.h", | 25 "content_suggestions_stack_item.h", |
| 29 "content_suggestions_stack_item.mm", | 26 "content_suggestions_stack_item.mm", |
| 30 "content_suggestions_stack_item_actions.h", | 27 "content_suggestions_stack_item_actions.h", |
| 28 "content_suggestions_text_item.h", |
| 29 "content_suggestions_text_item.mm", |
| 30 "content_suggestions_text_item_actions.h", |
| 31 "content_suggestions_view_controller.h", | 31 "content_suggestions_view_controller.h", |
| 32 "content_suggestions_view_controller.mm", | 32 "content_suggestions_view_controller.mm", |
| 33 "expandable_item.h", | 33 "expandable_item.h", |
| 34 ] | 34 ] |
| 35 deps = [ | 35 deps = [ |
| 36 "//base", | 36 "//base", |
| 37 "//ios/chrome/browser/ui", | 37 "//ios/chrome/browser/ui", |
| 38 "//ios/chrome/browser/ui/collection_view", | 38 "//ios/chrome/browser/ui/collection_view", |
| 39 "//ios/third_party/material_roboto_font_loader_ios", | 39 "//ios/third_party/material_roboto_font_loader_ios", |
| 40 "//ui/base", | 40 "//ui/base", |
| 41 "//url", | 41 "//url", |
| 42 ] | 42 ] |
| 43 public_deps = [ | 43 public_deps = [ |
| 44 "//ios/third_party/material_components_ios", | 44 "//ios/third_party/material_components_ios", |
| 45 ] | 45 ] |
| 46 } | 46 } |
| 47 | 47 |
| 48 source_set("unit_tests") { | 48 source_set("unit_tests") { |
| 49 configs += [ "//build/config/compiler:enable_arc" ] | 49 configs += [ "//build/config/compiler:enable_arc" ] |
| 50 testonly = true | 50 testonly = true |
| 51 sources = [ | 51 sources = [ |
| 52 "content_suggestions_article_item_unittest.mm", | 52 "content_suggestions_article_item_unittest.mm", |
| 53 "content_suggestions_expandable_item_unittest.mm", | 53 "content_suggestions_expandable_item_unittest.mm", |
| 54 "content_suggestions_favicon_item_unittest.mm", | 54 "content_suggestions_favicon_item_unittest.mm", |
| 55 "content_suggestions_item_unittest.mm", | |
| 56 "content_suggestions_stack_item_unittest.mm", | 55 "content_suggestions_stack_item_unittest.mm", |
| 56 "content_suggestions_text_item_unittest.mm", |
| 57 ] | 57 ] |
| 58 deps = [ | 58 deps = [ |
| 59 ":content_suggestions", | 59 ":content_suggestions", |
| 60 "//base", | 60 "//base", |
| 61 "//ios/chrome/browser/ui/collection_view", | 61 "//ios/chrome/browser/ui/collection_view", |
| 62 "//testing/gtest", | 62 "//testing/gtest", |
| 63 "//third_party/ocmock", | 63 "//third_party/ocmock", |
| 64 "//url", | 64 "//url", |
| 65 ] | 65 ] |
| 66 } | 66 } |
| OLD | NEW |