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