| 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", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 "content_suggestions_text_item.h", | 23 "content_suggestions_text_item.h", |
| 24 "content_suggestions_text_item.mm", | 24 "content_suggestions_text_item.mm", |
| 25 "expandable_item.h", | 25 "expandable_item.h", |
| 26 ] | 26 ] |
| 27 deps = [ | 27 deps = [ |
| 28 "//base", | 28 "//base", |
| 29 "//ios/chrome/browser/ui", | 29 "//ios/chrome/browser/ui", |
| 30 "//ios/chrome/browser/ui/collection_view", | 30 "//ios/chrome/browser/ui/collection_view", |
| 31 "//ios/chrome/browser/ui/colors", | 31 "//ios/chrome/browser/ui/colors", |
| 32 "//ios/chrome/browser/ui/content_suggestions/identifier", | 32 "//ios/chrome/browser/ui/content_suggestions/identifier", |
| 33 "//ios/chrome/browser/ui/favicon", |
| 33 "//ios/chrome/browser/ui/util", | 34 "//ios/chrome/browser/ui/util", |
| 34 "//ui/base", | 35 "//ui/base", |
| 35 "//url", | 36 "//url", |
| 36 ] | 37 ] |
| 37 configs += [ "//build/config/compiler:enable_arc" ] | 38 configs += [ "//build/config/compiler:enable_arc" ] |
| 38 } | 39 } |
| 39 | 40 |
| 40 source_set("unit_tests") { | 41 source_set("unit_tests") { |
| 41 testonly = true | 42 testonly = true |
| 42 sources = [ | 43 sources = [ |
| 43 "content_suggestions_article_item_unittest.mm", | 44 "content_suggestions_article_item_unittest.mm", |
| 44 "content_suggestions_button_item_unittest.mm", | 45 "content_suggestions_button_item_unittest.mm", |
| 45 "content_suggestions_expandable_item_unittest.mm", | 46 "content_suggestions_expandable_item_unittest.mm", |
| 46 "content_suggestions_favicon_item_unittest.mm", | 47 "content_suggestions_favicon_item_unittest.mm", |
| 47 "content_suggestions_footer_item_unittest.mm", | 48 "content_suggestions_footer_item_unittest.mm", |
| 48 "content_suggestions_stack_item_unittest.mm", | 49 "content_suggestions_stack_item_unittest.mm", |
| 49 ] | 50 ] |
| 50 deps = [ | 51 deps = [ |
| 51 ":cells", | 52 ":cells", |
| 52 "//base", | 53 "//base", |
| 53 "//ios/chrome/browser/ui/collection_view", | 54 "//ios/chrome/browser/ui/collection_view", |
| 54 "//testing/gtest", | 55 "//testing/gtest", |
| 55 "//third_party/ocmock", | 56 "//third_party/ocmock", |
| 56 "//url", | 57 "//url", |
| 57 ] | 58 ] |
| 58 configs += [ "//build/config/compiler:enable_arc" ] | 59 configs += [ "//build/config/compiler:enable_arc" ] |
| 59 } | 60 } |
| OLD | NEW |