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 "account_control_item.h", | |
8 "account_control_item.mm", | |
9 "account_signin_item.h", | |
10 "account_signin_item.mm", | |
11 "autofill_data_item.h", | |
12 "autofill_data_item.mm", | |
13 "autofill_edit_item.h", | |
14 "autofill_edit_item.mm", | |
15 "byo_textfield_item.h", | |
16 "byo_textfield_item.mm", | |
17 "card_multiline_item.h", | |
18 "card_multiline_item.mm", | |
19 "copied_to_chrome_item.h", | |
20 "copied_to_chrome_item.mm", | |
21 "encryption_item.h", | |
22 "encryption_item.mm", | |
23 "import_data_multiline_detail_cell.h", | |
24 "import_data_multiline_detail_cell.mm", | |
25 "native_app_item.h", | |
26 "native_app_item.mm", | |
27 "passphrase_error_item.h", | |
28 "passphrase_error_item.mm", | |
29 "password_details_item.h", | |
30 "password_details_item.mm", | |
31 "sync_switch_item.h", | |
32 "sync_switch_item.mm", | |
33 "text_and_error_item.h", | |
34 "text_and_error_item.mm", | |
35 "version_item.h", | |
36 "version_item.mm", | |
37 ] | |
38 | |
39 deps = [ | |
40 "//components/autofill/core/browser", | |
41 "//components/strings", | |
42 "//ios/chrome/app/strings", | |
43 "//ios/chrome/browser/ui", | |
44 "//ios/chrome/browser/ui/collection_view/cells", | |
45 "//ios/chrome/browser/ui/colors", | |
46 "//ios/third_party/material_components_ios", | |
47 "//ios/third_party/material_roboto_font_loader_ios", | |
48 "//ui/base", | |
49 ] | |
50 | |
51 configs += [ "//build/config/compiler:enable_arc" ] | |
52 } | |
53 | |
54 source_set("unit_tests") { | |
55 testonly = true | |
56 sources = [ | |
57 "account_control_item_unittest.mm", | |
58 "account_signin_item_unittest.mm", | |
59 "autofill_data_item_unittest.mm", | |
60 "autofill_edit_item_unittest.mm", | |
61 "byo_textfield_item_unittest.mm", | |
62 "card_multiline_item_unittest.mm", | |
63 "copied_to_chrome_item_unittest.mm", | |
64 "encryption_item_unittest.mm", | |
65 "import_data_multiline_detail_cell_unittest.mm", | |
66 "native_app_item_unittest.mm", | |
67 "passphrase_error_item_unittest.mm", | |
68 "password_details_item_unittest.mm", | |
69 "sync_switch_item_unittest.mm", | |
70 "text_and_error_item_unittest.mm", | |
71 "version_item_unittest.mm", | |
72 ] | |
73 | |
74 deps = [ | |
75 ":cells", | |
76 "//components/strings", | |
77 "//ios/chrome/app/strings", | |
78 "//ios/chrome/browser/ui/collection_view/cells", | |
79 "//ios/chrome/browser/ui/collection_view/cells:test_support", | |
80 "//ios/chrome/browser/ui/colors", | |
81 "//ios/third_party/material_components_ios", | |
82 "//testing/gtest", | |
83 "//ui/base", | |
84 ] | |
85 | |
86 configs += [ "//build/config/compiler:enable_arc" ] | |
87 } | |
OLD | NEW |