OLD | NEW |
| (Empty) |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 source_set("cells") { | |
6 sources = [ | |
7 "MDCCollectionViewCell+Chrome.h", | |
8 "MDCCollectionViewCell+Chrome.mm", | |
9 "activity_indicator_cell.h", | |
10 "activity_indicator_cell.mm", | |
11 "collection_view_account_item.h", | |
12 "collection_view_account_item.mm", | |
13 "collection_view_detail_item.h", | |
14 "collection_view_detail_item.mm", | |
15 "collection_view_footer_item.h", | |
16 "collection_view_footer_item.mm", | |
17 "collection_view_item.h", | |
18 "collection_view_item.mm", | |
19 "collection_view_switch_item.h", | |
20 "collection_view_switch_item.mm", | |
21 "collection_view_text_item.h", | |
22 "collection_view_text_item.mm", | |
23 ] | |
24 | |
25 deps = [ | |
26 "//base", | |
27 "//ios/chrome/app/strings", | |
28 "//ios/chrome/browser/ui/colors", | |
29 "//ios/chrome/browser/ui/material_components", | |
30 "//ios/chrome/browser/ui/util", | |
31 "//ios/chrome/common", | |
32 "//ios/third_party/material_roboto_font_loader_ios", | |
33 "//ui/base", | |
34 "//url", | |
35 ] | |
36 public_deps = [ | |
37 "//ios/third_party/material_components_ios", | |
38 ] | |
39 | |
40 configs += [ "//build/config/compiler:enable_arc" ] | |
41 } | |
42 | |
43 source_set("test_support") { | |
44 testonly = true | |
45 sources = [ | |
46 "test_utils.h", | |
47 "test_utils.mm", | |
48 ] | |
49 } | |
50 | |
51 source_set("unit_tests") { | |
52 testonly = true | |
53 sources = [ | |
54 "MDCCollectionViewCell+Chrome_unittest.mm", | |
55 "activity_indicator_cell_unittest.mm", | |
56 "collection_view_account_item_unittest.mm", | |
57 "collection_view_detail_item_unittest.mm", | |
58 "collection_view_footer_item_unittest.mm", | |
59 "collection_view_item_unittest.mm", | |
60 "collection_view_switch_item_unittest.mm", | |
61 "collection_view_text_item_unittest.mm", | |
62 ] | |
63 | |
64 deps = [ | |
65 ":cells", | |
66 ":test_support", | |
67 "//ios/third_party/material_components_ios", | |
68 "//testing/gtest", | |
69 ] | |
70 | |
71 configs += [ "//build/config/compiler:enable_arc" ] | |
72 } | |
OLD | NEW |