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_item.h", |
| 16 "content_suggestions_item.mm", |
| 17 "content_suggestions_item_actions.h", |
| 18 "content_suggestions_stack_item.h", |
| 19 "content_suggestions_stack_item.mm", |
| 20 "content_suggestions_stack_item_actions.h", |
| 21 "content_suggestions_view_controller.h", |
| 22 "content_suggestions_view_controller.mm", |
| 23 "expandable_item.h", |
| 24 ] |
| 25 deps = [ |
| 26 "//base", |
| 27 "//ios/chrome/browser/ui", |
| 28 "//ios/chrome/browser/ui/collection_view", |
| 29 "//ios/third_party/material_roboto_font_loader_ios", |
| 30 "//ui/base", |
| 31 ] |
| 32 public_deps = [ |
| 33 "//ios/third_party/material_components_ios", |
| 34 ] |
| 35 } |
| 36 |
| 37 source_set("unit_tests") { |
| 38 configs += [ "//build/config/compiler:enable_arc" ] |
| 39 testonly = true |
| 40 sources = [ |
| 41 "content_suggestions_article_item_unittest.mm", |
| 42 "content_suggestions_expandable_item_unittest.mm", |
| 43 "content_suggestions_item_unittest.mm", |
| 44 "content_suggestions_stack_item_unittest.mm", |
| 45 ] |
| 46 deps = [ |
| 47 ":content_suggestions", |
| 48 "//ios/chrome/browser/ui/collection_view", |
| 49 "//testing/gtest", |
| 50 "//third_party/ocmock", |
| 51 ] |
| 52 } |
OLD | NEW |