| 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", | |
| 8 "content_suggestions_article_item.mm", | |
| 9 "content_suggestions_footer_item.h", | 7 "content_suggestions_footer_item.h", |
| 10 "content_suggestions_footer_item.mm", | 8 "content_suggestions_footer_item.mm", |
| 9 "content_suggestions_item.h", |
| 10 "content_suggestions_item.mm", |
| 11 "content_suggestions_most_visited.h", | 11 "content_suggestions_most_visited.h", |
| 12 "content_suggestions_most_visited.mm", | 12 "content_suggestions_most_visited.mm", |
| 13 "content_suggestions_most_visited_item.h", | 13 "content_suggestions_most_visited_item.h", |
| 14 "content_suggestions_most_visited_item.mm", | 14 "content_suggestions_most_visited_item.mm", |
| 15 "content_suggestions_most_visited_tile.h", | 15 "content_suggestions_most_visited_tile.h", |
| 16 "content_suggestions_most_visited_tile.mm", | 16 "content_suggestions_most_visited_tile.mm", |
| 17 "content_suggestions_reading_list_item.h", | |
| 18 "content_suggestions_reading_list_item.mm", | |
| 19 "content_suggestions_text_item.h", | 17 "content_suggestions_text_item.h", |
| 20 "content_suggestions_text_item.mm", | 18 "content_suggestions_text_item.mm", |
| 21 ] | 19 ] |
| 22 deps = [ | 20 deps = [ |
| 23 "//base", | 21 "//base", |
| 24 "//ios/chrome/browser/ui", | 22 "//ios/chrome/browser/ui", |
| 25 "//ios/chrome/browser/ui/collection_view", | 23 "//ios/chrome/browser/ui/collection_view", |
| 26 "//ios/chrome/browser/ui/colors", | 24 "//ios/chrome/browser/ui/colors", |
| 27 "//ios/chrome/browser/ui/content_suggestions/identifier", | 25 "//ios/chrome/browser/ui/content_suggestions/identifier", |
| 28 "//ios/chrome/browser/ui/favicon:favicon_ui", | 26 "//ios/chrome/browser/ui/favicon:favicon_ui", |
| 29 "//ios/chrome/browser/ui/reading_list", | |
| 30 "//ios/chrome/browser/ui/util", | 27 "//ios/chrome/browser/ui/util", |
| 31 "//ui/base", | 28 "//ui/base", |
| 32 "//url", | 29 "//url", |
| 33 ] | 30 ] |
| 34 configs += [ "//build/config/compiler:enable_arc" ] | 31 configs += [ "//build/config/compiler:enable_arc" ] |
| 35 } | 32 } |
| 36 | 33 |
| 37 source_set("unit_tests") { | 34 source_set("unit_tests") { |
| 38 testonly = true | 35 testonly = true |
| 39 sources = [ | 36 sources = [ |
| 40 "content_suggestions_article_item_unittest.mm", | |
| 41 "content_suggestions_footer_item_unittest.mm", | 37 "content_suggestions_footer_item_unittest.mm", |
| 38 "content_suggestions_item_unittest.mm", |
| 42 "content_suggestions_most_visited_item_unittest.mm", | 39 "content_suggestions_most_visited_item_unittest.mm", |
| 43 "content_suggestions_most_visited_tile_unittest.mm", | 40 "content_suggestions_most_visited_tile_unittest.mm", |
| 44 "content_suggestions_most_visited_unittest.mm", | 41 "content_suggestions_most_visited_unittest.mm", |
| 45 ] | 42 ] |
| 46 deps = [ | 43 deps = [ |
| 47 ":cells", | 44 ":cells", |
| 48 "//base", | 45 "//base", |
| 49 "//ios/chrome/browser/ui", | 46 "//ios/chrome/browser/ui", |
| 50 "//ios/chrome/browser/ui/collection_view", | 47 "//ios/chrome/browser/ui/collection_view", |
| 51 "//ios/chrome/browser/ui/favicon:favicon_ui", | 48 "//ios/chrome/browser/ui/favicon:favicon_ui", |
| 52 "//testing/gtest", | 49 "//testing/gtest", |
| 53 "//third_party/ocmock", | 50 "//third_party/ocmock", |
| 54 "//url", | 51 "//url", |
| 55 ] | 52 ] |
| 56 configs += [ "//build/config/compiler:enable_arc" ] | 53 configs += [ "//build/config/compiler:enable_arc" ] |
| 57 } | 54 } |
| OLD | NEW |