1 # Copyright 2014 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.
5 # GYP version: components/autofill.gyp:autofill_core_browser
6 static_library("browser") {
14 "autocomplete_history_manager.cc",
15 "autocomplete_history_manager.h",
17 "autofill_cc_infobar_delegate.cc",
18 "autofill_cc_infobar_delegate.h",
20 "autofill_country.cc",
22 "autofill_data_model.cc",
23 "autofill_data_model.h",
24 "autofill_download_manager.cc",
25 "autofill_download_manager.h",
27 "autofill_experiments.cc",
28 "autofill_experiments.h",
29 "autofill_external_delegate.cc",
30 "autofill_external_delegate.h",
33 "autofill_ie_toolbar_import_win.cc",
34 "autofill_ie_toolbar_import_win.h",
35 "autofill_manager.cc",
37 "autofill_manager_test_delegate.h",
38 "autofill_metrics.cc",
40 "autofill_popup_delegate.h",
41 "autofill_profile.cc",
43 "autofill_regex_constants.cc",
44 "autofill_regex_constants.h",
45 "autofill_scanner.cc",
47 "autofill_server_field_info.h",
48 "autofill_sync_constants.cc",
49 "autofill_sync_constants.h",
52 "autofill_xml_parser.cc",
53 "autofill_xml_parser.h",
54 "card_unmask_delegate.cc",
55 "card_unmask_delegate.h",
60 "credit_card_field.cc",
61 "credit_card_field.h",
78 "password_generator.cc",
79 "password_generator.h",
80 "personal_data_manager.cc",
81 "personal_data_manager.h",
82 "personal_data_manager_mac.mm",
83 "personal_data_manager_observer.h",
88 "phone_number_i18n.cc",
89 "phone_number_i18n.h",
91 "server_field_types_util.cc",
92 "server_field_types_util.h",
99 "wallet/real_pan_wallet_client.cc",
100 "wallet/real_pan_wallet_client.h",
101 "webdata/autocomplete_syncable_service.cc",
102 "webdata/autocomplete_syncable_service.h",
103 "webdata/autofill_change.cc",
104 "webdata/autofill_change.h",
105 "webdata/autofill_entry.cc",
106 "webdata/autofill_entry.h",
107 "webdata/autofill_profile_syncable_service.cc",
108 "webdata/autofill_profile_syncable_service.h",
109 "webdata/autofill_table.cc",
110 "webdata/autofill_table.h",
111 "webdata/autofill_wallet_syncable_service.cc",
112 "webdata/autofill_wallet_syncable_service.h",
113 "webdata/autofill_webdata.h",
114 "webdata/autofill_webdata_backend.h",
115 "webdata/autofill_webdata_backend_impl.cc",
116 "webdata/autofill_webdata_backend_impl.h",
117 "webdata/autofill_webdata_service.cc",
118 "webdata/autofill_webdata_service.h",
119 "webdata/autofill_webdata_service_observer.h",
126 "//components/autofill/core/common",
127 "//components/infobars/core",
128 "//components/keyed_service/core",
129 "//components/os_crypt",
130 "//components/pref_registry",
131 "//components/resources",
132 "//components/signin/core/common",
133 "//components/strings",
134 "//components/webdata/common",
140 "//third_party/fips181",
142 "//third_party/libaddressinput:util",
143 "//third_party/libphonenumber",
144 "//third_party/libjingle",
151 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
154 libs = [ "AddressBook.framework" ]
158 static_library("test_support") {
161 "autofill_test_utils.cc",
162 "autofill_test_utils.h",
163 "data_driven_test.cc",
164 "data_driven_test.h",
165 "suggestion_test_helpers.h",
166 "test_autofill_client.cc",
167 "test_autofill_client.h",
168 "test_autofill_driver.cc",
169 "test_autofill_driver.h",
170 "test_autofill_external_delegate.cc",
171 "test_autofill_external_delegate.h",
172 "test_personal_data_manager.cc",
173 "test_personal_data_manager.h",
180 "//base:prefs_test_support",
181 "//base/test:test_support",
182 "//components/autofill/core/browser",
183 "//components/autofill/core/common",
184 "//components/os_crypt",
185 "//components/pref_registry",
186 "//components/rappor",
187 "//google_apis:test_support",
193 source_set("unit_tests") {
196 "address_field_unittest.cc",
197 "address_unittest.cc",
198 "autocomplete_history_manager_unittest.cc",
199 "autofill_country_unittest.cc",
200 "autofill_data_model_unittest.cc",
201 "autofill_download_manager_unittest.cc",
202 "autofill_external_delegate_unittest.cc",
203 "autofill_field_unittest.cc",
204 "autofill_ie_toolbar_import_win_unittest.cc",
205 "autofill_manager_unittest.cc",
206 "autofill_merge_unittest.cc",
207 "autofill_metrics_unittest.cc",
208 "autofill_profile_unittest.cc",
209 "autofill_type_unittest.cc",
210 "autofill_xml_parser_unittest.cc",
211 "contact_info_unittest.cc",
212 "credit_card_field_unittest.cc",
213 "credit_card_unittest.cc",
214 "form_field_unittest.cc",
215 "form_structure_unittest.cc",
216 "name_field_unittest.cc",
217 "password_generator_unittest.cc",
218 "personal_data_manager_unittest.cc",
219 "phone_field_unittest.cc",
220 "phone_number_i18n_unittest.cc",
221 "phone_number_unittest.cc",
222 "validation_unittest.cc",
223 "webdata/autofill_profile_syncable_service_unittest.cc",
224 "webdata/autofill_table_unittest.cc",
225 "webdata/web_data_service_unittest.cc",
233 "//base/test:test_support",
234 "//components/autofill/core/common",
235 "//components/os_crypt",
236 "//components/rappor:test_support",
237 "//components/resources",
238 "//components/signin/core/browser:test_support",
239 "//components/strings",
240 "//components/webdata/common",
241 "//net:test_support",
244 "//sync:test_support_sync_api",
247 "//third_party/libphonenumber",
248 "//third_party/libjingle",