| 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_suggestion_identifier.h", | 10 "content_suggestion_identifier.h", |
| 11 "content_suggestion_identifier.mm", | 11 "content_suggestion_identifier.mm", |
| 12 "content_suggestions_article_item.h", | 12 "content_suggestions_article_item.h", |
| 13 "content_suggestions_article_item.mm", | 13 "content_suggestions_article_item.mm", |
| 14 "content_suggestions_collection_updater.h", | 14 "content_suggestions_collection_updater.h", |
| 15 "content_suggestions_collection_updater.mm", | 15 "content_suggestions_collection_updater.mm", |
| 16 "content_suggestions_commands.h", | 16 "content_suggestions_commands.h", |
| 17 "content_suggestions_data_sink.h", | 17 "content_suggestions_data_sink.h", |
| 18 "content_suggestions_data_source.h", | 18 "content_suggestions_data_source.h", |
| 19 "content_suggestions_expandable_item.h", | 19 "content_suggestions_expandable_item.h", |
| 20 "content_suggestions_expandable_item.mm", | 20 "content_suggestions_expandable_item.mm", |
| 21 "content_suggestions_favicon_internal_cell.h", | 21 "content_suggestions_favicon_internal_cell.h", |
| 22 "content_suggestions_favicon_internal_cell.mm", | 22 "content_suggestions_favicon_internal_cell.mm", |
| 23 "content_suggestions_favicon_item.h", | 23 "content_suggestions_favicon_item.h", |
| 24 "content_suggestions_favicon_item.mm", | 24 "content_suggestions_favicon_item.mm", |
| 25 "content_suggestions_footer_item.h", |
| 26 "content_suggestions_footer_item.mm", |
| 25 "content_suggestions_image_fetcher.h", | 27 "content_suggestions_image_fetcher.h", |
| 26 "content_suggestions_section_information.h", | 28 "content_suggestions_section_information.h", |
| 27 "content_suggestions_section_information.mm", | 29 "content_suggestions_section_information.mm", |
| 28 "content_suggestions_stack_item.h", | 30 "content_suggestions_stack_item.h", |
| 29 "content_suggestions_stack_item.mm", | 31 "content_suggestions_stack_item.mm", |
| 30 "content_suggestions_stack_item_actions.h", | 32 "content_suggestions_stack_item_actions.h", |
| 31 "content_suggestions_text_item.h", | 33 "content_suggestions_text_item.h", |
| 32 "content_suggestions_text_item.mm", | 34 "content_suggestions_text_item.mm", |
| 33 "content_suggestions_text_item_actions.h", | 35 "content_suggestions_text_item_actions.h", |
| 34 "content_suggestions_view_controller.h", | 36 "content_suggestions_view_controller.h", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 51 } | 53 } |
| 52 | 54 |
| 53 source_set("unit_tests") { | 55 source_set("unit_tests") { |
| 54 configs += [ "//build/config/compiler:enable_arc" ] | 56 configs += [ "//build/config/compiler:enable_arc" ] |
| 55 testonly = true | 57 testonly = true |
| 56 sources = [ | 58 sources = [ |
| 57 "content_suggestion_identifier_unittest.mm", | 59 "content_suggestion_identifier_unittest.mm", |
| 58 "content_suggestions_article_item_unittest.mm", | 60 "content_suggestions_article_item_unittest.mm", |
| 59 "content_suggestions_expandable_item_unittest.mm", | 61 "content_suggestions_expandable_item_unittest.mm", |
| 60 "content_suggestions_favicon_item_unittest.mm", | 62 "content_suggestions_favicon_item_unittest.mm", |
| 63 "content_suggestions_footer_item_unittest.mm", |
| 61 "content_suggestions_stack_item_unittest.mm", | 64 "content_suggestions_stack_item_unittest.mm", |
| 62 "content_suggestions_text_item_unittest.mm", | 65 "content_suggestions_text_item_unittest.mm", |
| 63 ] | 66 ] |
| 64 deps = [ | 67 deps = [ |
| 65 ":content_suggestions", | 68 ":content_suggestions", |
| 66 "//base", | 69 "//base", |
| 67 "//ios/chrome/browser/ui/collection_view", | 70 "//ios/chrome/browser/ui/collection_view", |
| 68 "//testing/gtest", | 71 "//testing/gtest", |
| 69 "//third_party/ocmock", | 72 "//third_party/ocmock", |
| 70 "//url", | 73 "//url", |
| 71 ] | 74 ] |
| 72 } | 75 } |
| OLD | NEW |