Index: ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn |
diff --git a/ios/chrome/browser/ui/content_suggestions/BUILD.gn b/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn |
similarity index 68% |
copy from ios/chrome/browser/ui/content_suggestions/BUILD.gn |
copy to ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn |
index 0e274b4dd8665a3ef937b50daf4147313155174c..b748d184bd2d7851804f46d79a6d49d84ef2a207 100644 |
--- a/ios/chrome/browser/ui/content_suggestions/BUILD.gn |
+++ b/ios/chrome/browser/ui/content_suggestions/cells/BUILD.gn |
@@ -1,21 +1,17 @@ |
-# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Copyright 2017 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-source_set("content_suggestions") { |
+source_set("cells") { |
configs += [ "//build/config/compiler:enable_arc" ] |
sources = [ |
- "content_suggestion.h", |
- "content_suggestion.mm", |
"content_suggestion_identifier.h", |
"content_suggestion_identifier.mm", |
"content_suggestions_article_item.h", |
"content_suggestions_article_item.mm", |
- "content_suggestions_collection_updater.h", |
- "content_suggestions_collection_updater.mm", |
- "content_suggestions_commands.h", |
- "content_suggestions_data_sink.h", |
- "content_suggestions_data_source.h", |
+ "content_suggestions_button_item.h", |
+ "content_suggestions_button_item.mm", |
+ "content_suggestions_button_item_actions.h", |
"content_suggestions_expandable_item.h", |
"content_suggestions_expandable_item.mm", |
"content_suggestions_favicon_internal_cell.h", |
@@ -24,17 +20,9 @@ source_set("content_suggestions") { |
"content_suggestions_favicon_item.mm", |
"content_suggestions_footer_item.h", |
"content_suggestions_footer_item.mm", |
- "content_suggestions_image_fetcher.h", |
- "content_suggestions_section_information.h", |
- "content_suggestions_section_information.mm", |
"content_suggestions_stack_item.h", |
"content_suggestions_stack_item.mm", |
"content_suggestions_stack_item_actions.h", |
- "content_suggestions_text_item.h", |
- "content_suggestions_text_item.mm", |
- "content_suggestions_text_item_actions.h", |
- "content_suggestions_view_controller.h", |
- "content_suggestions_view_controller.mm", |
"expandable_item.h", |
] |
deps = [ |
@@ -58,14 +46,14 @@ source_set("unit_tests") { |
sources = [ |
"content_suggestion_identifier_unittest.mm", |
"content_suggestions_article_item_unittest.mm", |
+ "content_suggestions_button_item_unittest.mm", |
"content_suggestions_expandable_item_unittest.mm", |
"content_suggestions_favicon_item_unittest.mm", |
"content_suggestions_footer_item_unittest.mm", |
"content_suggestions_stack_item_unittest.mm", |
- "content_suggestions_text_item_unittest.mm", |
] |
deps = [ |
- ":content_suggestions", |
+ ":cells", |
"//base", |
"//ios/chrome/browser/ui/collection_view", |
"//testing/gtest", |