| 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("suggestions") { | |
| 6 configs += [ "//build/config/compiler:enable_arc" ] | |
| 7 sources = [ | |
| 8 "expandable_item.h", | |
| 9 "suggestions_article_item.h", | |
| 10 "suggestions_article_item.mm", | |
| 11 "suggestions_collection_updater.h", | |
| 12 "suggestions_collection_updater.mm", | |
| 13 "suggestions_commands.h", | |
| 14 "suggestions_expandable_item.h", | |
| 15 "suggestions_expandable_item.mm", | |
| 16 "suggestions_item.h", | |
| 17 "suggestions_item.mm", | |
| 18 "suggestions_item_actions.h", | |
| 19 "suggestions_stack_item.h", | |
| 20 "suggestions_stack_item.mm", | |
| 21 "suggestions_stack_item_actions.h", | |
| 22 "suggestions_view_controller.h", | |
| 23 "suggestions_view_controller.mm", | |
| 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 "suggestions_article_item_unittest.mm", | |
| 42 "suggestions_expandable_item_unittest.mm", | |
| 43 "suggestions_item_unittest.mm", | |
| 44 "suggestions_stack_item_unittest.mm", | |
| 45 ] | |
| 46 deps = [ | |
| 47 ":suggestions", | |
| 48 "//ios/chrome/browser/ui/collection_view", | |
| 49 "//testing/gtest", | |
| 50 "//third_party/ocmock", | |
| 51 ] | |
| 52 } | |
| OLD | NEW |