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