OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 "autofill_profile_item.h", |
| 8 "autofill_profile_item.mm", |
7 "page_info_item.h", | 9 "page_info_item.h", |
8 "page_info_item.mm", | 10 "page_info_item.mm", |
9 "payment_method_item.h", | 11 "payment_method_item.h", |
10 "payment_method_item.mm", | 12 "payment_method_item.mm", |
11 "payments_text_item.h", | 13 "payments_text_item.h", |
12 "payments_text_item.mm", | 14 "payments_text_item.mm", |
13 "price_item.h", | 15 "price_item.h", |
14 "price_item.mm", | 16 "price_item.mm", |
15 "shipping_address_item.h", | |
16 "shipping_address_item.mm", | |
17 ] | 17 ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
| 20 "//ios/chrome/browser/ui", |
20 "//ios/chrome/browser/ui/collection_view/cells", | 21 "//ios/chrome/browser/ui/collection_view/cells", |
21 "//ios/chrome/browser/ui/colors", | 22 "//ios/chrome/browser/ui/colors", |
22 "//ios/third_party/material_components_ios", | 23 "//ios/third_party/material_components_ios", |
23 "//ios/third_party/material_roboto_font_loader_ios", | 24 "//ios/third_party/material_roboto_font_loader_ios", |
24 ] | 25 ] |
25 | 26 |
26 configs += [ "//build/config/compiler:enable_arc" ] | 27 configs += [ "//build/config/compiler:enable_arc" ] |
27 } | 28 } |
28 | 29 |
29 source_set("unit_tests") { | 30 source_set("unit_tests") { |
30 testonly = true | 31 testonly = true |
31 sources = [ | 32 sources = [ |
| 33 "autofill_profile_item_unittest.mm", |
32 "page_info_item_unittest.mm", | 34 "page_info_item_unittest.mm", |
33 "payment_method_item_unittest.mm", | 35 "payment_method_item_unittest.mm", |
34 "payments_text_item_unittest.mm", | 36 "payments_text_item_unittest.mm", |
35 "price_item_unittest.mm", | 37 "price_item_unittest.mm", |
36 "shipping_address_item_unittest.mm", | |
37 ] | 38 ] |
38 | 39 |
39 deps = [ | 40 deps = [ |
40 ":cells", | 41 ":cells", |
41 "//ios/chrome/browser/ui/collection_view/cells:test_support", | 42 "//ios/chrome/browser/ui/collection_view/cells:test_support", |
42 "//ios/third_party/material_components_ios", | 43 "//ios/third_party/material_components_ios", |
43 "//testing/gtest", | 44 "//testing/gtest", |
44 ] | 45 ] |
45 | 46 |
46 configs += [ "//build/config/compiler:enable_arc" ] | 47 configs += [ "//build/config/compiler:enable_arc" ] |
47 } | 48 } |
OLD | NEW |