Index: ios/chrome/browser/ui/collection_view/cells/BUILD.gn |
diff --git a/ios/chrome/browser/ui/collection_view/cells/BUILD.gn b/ios/chrome/browser/ui/collection_view/cells/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e6e8c32bcce855ed0731907ff65e0edfed435e18 |
--- /dev/null |
+++ b/ios/chrome/browser/ui/collection_view/cells/BUILD.gn |
@@ -0,0 +1,72 @@ |
+# Copyright 2016 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("cells") { |
+ sources = [ |
+ "MDCCollectionViewCell+Chrome.h", |
+ "MDCCollectionViewCell+Chrome.mm", |
+ "activity_indicator_cell.h", |
+ "activity_indicator_cell.mm", |
+ "collection_view_account_item.h", |
+ "collection_view_account_item.mm", |
+ "collection_view_detail_item.h", |
+ "collection_view_detail_item.mm", |
+ "collection_view_footer_item.h", |
+ "collection_view_footer_item.mm", |
+ "collection_view_item.h", |
+ "collection_view_item.mm", |
+ "collection_view_switch_item.h", |
+ "collection_view_switch_item.mm", |
+ "collection_view_text_item.h", |
+ "collection_view_text_item.mm", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//ios/chrome/app/strings", |
+ "//ios/chrome/browser/ui/colors", |
+ "//ios/chrome/browser/ui/material_components", |
+ "//ios/chrome/browser/ui/util", |
+ "//ios/chrome/common", |
+ "//ios/third_party/material_roboto_font_loader_ios", |
+ "//ui/base", |
+ "//url", |
+ ] |
+ public_deps = [ |
+ "//ios/third_party/material_components_ios", |
+ ] |
+ |
+ configs += [ "//build/config/compiler:enable_arc" ] |
+} |
+ |
+source_set("test_support") { |
+ testonly = true |
+ sources = [ |
+ "test_utils.h", |
+ "test_utils.mm", |
+ ] |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "MDCCollectionViewCell+Chrome_unittest.mm", |
+ "activity_indicator_cell_unittest.mm", |
+ "collection_view_account_item_unittest.mm", |
+ "collection_view_detail_item_unittest.mm", |
+ "collection_view_footer_item_unittest.mm", |
+ "collection_view_item_unittest.mm", |
+ "collection_view_switch_item_unittest.mm", |
+ "collection_view_text_item_unittest.mm", |
+ ] |
+ |
+ deps = [ |
+ ":cells", |
+ ":test_support", |
+ "//ios/third_party/material_components_ios", |
+ "//testing/gtest", |
+ ] |
+ |
+ configs += [ "//build/config/compiler:enable_arc" ] |
+} |