| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("cells") { | 5 source_set("cells") { |
| 6 sources = [ | 6 sources = [ |
| 7 "content_suggestions_article_item.h", | 7 "content_suggestions_article_item.h", |
| 8 "content_suggestions_article_item.mm", | 8 "content_suggestions_article_item.mm", |
| 9 "content_suggestions_button_item.h", | |
| 10 "content_suggestions_button_item.mm", | |
| 11 "content_suggestions_button_item_actions.h", | |
| 12 "content_suggestions_expandable_item.h", | |
| 13 "content_suggestions_expandable_item.mm", | |
| 14 "content_suggestions_favicon_internal_cell.h", | |
| 15 "content_suggestions_favicon_internal_cell.mm", | |
| 16 "content_suggestions_favicon_item.h", | |
| 17 "content_suggestions_favicon_item.mm", | |
| 18 "content_suggestions_footer_item.h", | 9 "content_suggestions_footer_item.h", |
| 19 "content_suggestions_footer_item.mm", | 10 "content_suggestions_footer_item.mm", |
| 20 "content_suggestions_reading_list_item.h", | 11 "content_suggestions_reading_list_item.h", |
| 21 "content_suggestions_reading_list_item.mm", | 12 "content_suggestions_reading_list_item.mm", |
| 22 "content_suggestions_stack_item.h", | |
| 23 "content_suggestions_stack_item.mm", | |
| 24 "content_suggestions_stack_item_actions.h", | |
| 25 "content_suggestions_text_item.h", | 13 "content_suggestions_text_item.h", |
| 26 "content_suggestions_text_item.mm", | 14 "content_suggestions_text_item.mm", |
| 27 "expandable_item.h", | |
| 28 ] | 15 ] |
| 29 deps = [ | 16 deps = [ |
| 30 "//base", | 17 "//base", |
| 31 "//ios/chrome/browser/ui", | 18 "//ios/chrome/browser/ui", |
| 32 "//ios/chrome/browser/ui/collection_view", | 19 "//ios/chrome/browser/ui/collection_view", |
| 33 "//ios/chrome/browser/ui/colors", | 20 "//ios/chrome/browser/ui/colors", |
| 34 "//ios/chrome/browser/ui/content_suggestions/identifier", | 21 "//ios/chrome/browser/ui/content_suggestions/identifier", |
| 35 "//ios/chrome/browser/ui/favicon:favicon_ui", | 22 "//ios/chrome/browser/ui/favicon:favicon_ui", |
| 36 "//ios/chrome/browser/ui/reading_list", | 23 "//ios/chrome/browser/ui/reading_list", |
| 37 "//ios/chrome/browser/ui/util", | 24 "//ios/chrome/browser/ui/util", |
| 38 "//ui/base", | 25 "//ui/base", |
| 39 "//url", | 26 "//url", |
| 40 ] | 27 ] |
| 41 configs += [ "//build/config/compiler:enable_arc" ] | 28 configs += [ "//build/config/compiler:enable_arc" ] |
| 42 } | 29 } |
| 43 | 30 |
| 44 source_set("unit_tests") { | 31 source_set("unit_tests") { |
| 45 testonly = true | 32 testonly = true |
| 46 sources = [ | 33 sources = [ |
| 47 "content_suggestions_article_item_unittest.mm", | 34 "content_suggestions_article_item_unittest.mm", |
| 48 "content_suggestions_button_item_unittest.mm", | |
| 49 "content_suggestions_expandable_item_unittest.mm", | |
| 50 "content_suggestions_favicon_item_unittest.mm", | |
| 51 "content_suggestions_footer_item_unittest.mm", | 35 "content_suggestions_footer_item_unittest.mm", |
| 52 "content_suggestions_stack_item_unittest.mm", | |
| 53 ] | 36 ] |
| 54 deps = [ | 37 deps = [ |
| 55 ":cells", | 38 ":cells", |
| 56 "//base", | 39 "//base", |
| 57 "//ios/chrome/browser/ui/collection_view", | 40 "//ios/chrome/browser/ui/collection_view", |
| 58 "//testing/gtest", | 41 "//testing/gtest", |
| 59 "//third_party/ocmock", | 42 "//third_party/ocmock", |
| 60 "//url", | 43 "//url", |
| 61 ] | 44 ] |
| 62 configs += [ "//build/config/compiler:enable_arc" ] | 45 configs += [ "//build/config/compiler:enable_arc" ] |
| 63 } | 46 } |
| OLD | NEW |