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