| 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("suggestions") { | 5 source_set("suggestions") { |
| 6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
| 7 sources = [ | 7 sources = [ |
| 8 "suggestions_article_item.h", | 8 "suggestions_article_item.h", |
| 9 "suggestions_article_item.mm", | 9 "suggestions_article_item.mm", |
| 10 "suggestions_collection_updater.h", | 10 "suggestions_collection_updater.h", |
| 11 "suggestions_collection_updater.mm", | 11 "suggestions_collection_updater.mm", |
| 12 "suggestions_commands.h", | 12 "suggestions_commands.h", |
| 13 "suggestions_expandable_article.h", |
| 14 "suggestions_expandable_item.h", |
| 15 "suggestions_expandable_item.mm", |
| 13 "suggestions_item.h", | 16 "suggestions_item.h", |
| 14 "suggestions_item.mm", | 17 "suggestions_item.mm", |
| 15 "suggestions_item_actions.h", | 18 "suggestions_item_actions.h", |
| 16 "suggestions_view_controller.h", | 19 "suggestions_view_controller.h", |
| 17 "suggestions_view_controller.mm", | 20 "suggestions_view_controller.mm", |
| 18 ] | 21 ] |
| 19 deps = [ | 22 deps = [ |
| 20 "//base", | 23 "//base", |
| 21 "//ios/chrome/browser/ui", | 24 "//ios/chrome/browser/ui", |
| 22 "//ios/chrome/browser/ui/collection_view", | 25 "//ios/chrome/browser/ui/collection_view", |
| 23 "//ios/third_party/material_roboto_font_loader_ios", | 26 "//ios/third_party/material_roboto_font_loader_ios", |
| 27 "//ui/base", |
| 24 ] | 28 ] |
| 25 public_deps = [ | 29 public_deps = [ |
| 26 "//ios/third_party/material_components_ios", | 30 "//ios/third_party/material_components_ios", |
| 27 ] | 31 ] |
| 28 } | 32 } |
| 29 | 33 |
| 30 source_set("unit_tests") { | 34 source_set("unit_tests") { |
| 31 testonly = true | 35 testonly = true |
| 32 sources = [ | 36 sources = [ |
| 33 "suggestions_article_item_unittest.mm", | 37 "suggestions_article_item_unittest.mm", |
| 38 "suggestions_expandable_item_unittest.mm", |
| 39 "suggestions_item_unittest.mm", |
| 34 ] | 40 ] |
| 35 deps = [ | 41 deps = [ |
| 36 ":suggestions", | 42 ":suggestions", |
| 37 "//ios/chrome/browser/ui/collection_view", | 43 "//ios/chrome/browser/ui/collection_view", |
| 38 "//testing/gtest", | 44 "//testing/gtest", |
| 45 "//third_party/ocmock", |
| 39 ] | 46 ] |
| 40 } | 47 } |
| OLD | NEW |