| 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", |
| 11 "content_suggestion_identifier.mm", |
| 10 "content_suggestions_article_item.h", | 12 "content_suggestions_article_item.h", |
| 11 "content_suggestions_article_item.mm", | 13 "content_suggestions_article_item.mm", |
| 12 "content_suggestions_collection_updater.h", | 14 "content_suggestions_collection_updater.h", |
| 13 "content_suggestions_collection_updater.mm", | 15 "content_suggestions_collection_updater.mm", |
| 14 "content_suggestions_commands.h", | 16 "content_suggestions_commands.h", |
| 15 "content_suggestions_data_sink.h", | 17 "content_suggestions_data_sink.h", |
| 16 "content_suggestions_data_source.h", | 18 "content_suggestions_data_source.h", |
| 17 "content_suggestions_expandable_item.h", | 19 "content_suggestions_expandable_item.h", |
| 18 "content_suggestions_expandable_item.mm", | 20 "content_suggestions_expandable_item.mm", |
| 19 "content_suggestions_favicon_internal_cell.h", | 21 "content_suggestions_favicon_internal_cell.h", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 ] | 44 ] |
| 43 public_deps = [ | 45 public_deps = [ |
| 44 "//ios/third_party/material_components_ios", | 46 "//ios/third_party/material_components_ios", |
| 45 ] | 47 ] |
| 46 } | 48 } |
| 47 | 49 |
| 48 source_set("unit_tests") { | 50 source_set("unit_tests") { |
| 49 configs += [ "//build/config/compiler:enable_arc" ] | 51 configs += [ "//build/config/compiler:enable_arc" ] |
| 50 testonly = true | 52 testonly = true |
| 51 sources = [ | 53 sources = [ |
| 54 "content_suggestion_identifier_unittest.mm", |
| 52 "content_suggestions_article_item_unittest.mm", | 55 "content_suggestions_article_item_unittest.mm", |
| 53 "content_suggestions_expandable_item_unittest.mm", | 56 "content_suggestions_expandable_item_unittest.mm", |
| 54 "content_suggestions_favicon_item_unittest.mm", | 57 "content_suggestions_favicon_item_unittest.mm", |
| 55 "content_suggestions_stack_item_unittest.mm", | 58 "content_suggestions_stack_item_unittest.mm", |
| 56 "content_suggestions_text_item_unittest.mm", | 59 "content_suggestions_text_item_unittest.mm", |
| 57 ] | 60 ] |
| 58 deps = [ | 61 deps = [ |
| 59 ":content_suggestions", | 62 ":content_suggestions", |
| 60 "//base", | 63 "//base", |
| 61 "//ios/chrome/browser/ui/collection_view", | 64 "//ios/chrome/browser/ui/collection_view", |
| 62 "//testing/gtest", | 65 "//testing/gtest", |
| 63 "//third_party/ocmock", | 66 "//third_party/ocmock", |
| 64 "//url", | 67 "//url", |
| 65 ] | 68 ] |
| 66 } | 69 } |
| OLD | NEW |