1 # Copyright (c) 2013 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.
8 # GN version: //components/autofill/core/common
9 'target_name': 'autofill_core_common',
10 'type': 'static_library',
12 '../base/base.gyp:base',
13 '../base/base.gyp:base_i18n',
14 '../ui/base/ui_base.gyp:ui_base',
15 '../ui/gfx/gfx.gyp:gfx',
16 '../url/url.gyp:url_lib',
22 'autofill/core/common/autofill_constants.cc',
23 'autofill/core/common/autofill_constants.h',
24 'autofill/core/common/autofill_data_validation.cc',
25 'autofill/core/common/autofill_data_validation.h',
26 'autofill/core/common/autofill_l10n_util.cc',
27 'autofill/core/common/autofill_l10n_util.h',
28 'autofill/core/common/autofill_pref_names.cc',
29 'autofill/core/common/autofill_pref_names.h',
30 'autofill/core/common/autofill_regexes.cc',
31 'autofill/core/common/autofill_regexes.h',
32 'autofill/core/common/autofill_switches.cc',
33 'autofill/core/common/autofill_switches.h',
34 'autofill/core/common/form_data.cc',
35 'autofill/core/common/form_data.h',
36 'autofill/core/common/form_data_predictions.cc',
37 'autofill/core/common/form_data_predictions.h',
38 'autofill/core/common/form_field_data.cc',
39 'autofill/core/common/form_field_data.h',
40 'autofill/core/common/form_field_data_predictions.cc',
41 'autofill/core/common/form_field_data_predictions.h',
42 'autofill/core/common/password_form.cc',
43 'autofill/core/common/password_form.h',
44 'autofill/core/common/password_form_fill_data.cc',
45 'autofill/core/common/password_form_fill_data.h',
46 'autofill/core/common/password_generation_util.cc',
47 'autofill/core/common/password_generation_util.h',
48 'autofill/core/common/save_password_progress_logger.cc',
49 'autofill/core/common/save_password_progress_logger.h',
50 'autofill/core/common/web_element_descriptor.cc',
51 'autofill/core/common/web_element_descriptor.h',
54 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
55 'msvs_disabled_warnings': [4267, ],
59 # GN version: //components/autofill/core/browser
60 'target_name': 'autofill_core_browser',
61 'type': 'static_library',
66 '../base/base.gyp:base',
67 '../base/base.gyp:base_i18n',
68 '../base/base.gyp:base_prefs',
69 '../google_apis/google_apis.gyp:google_apis',
71 '../skia/skia.gyp:skia',
73 '../sync/sync.gyp:sync',
74 '../third_party/fips181/fips181.gyp:fips181',
75 '../third_party/icu/icu.gyp:icui18n',
76 '../third_party/icu/icu.gyp:icuuc',
77 '../third_party/libjingle/libjingle.gyp:libjingle',
78 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util',
79 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
80 '../ui/base/ui_base.gyp:ui_base',
81 '../ui/gfx/gfx.gyp:gfx',
82 '../ui/gfx/gfx.gyp:gfx_geometry',
83 '../url/url.gyp:url_lib',
84 'autofill_core_common',
85 'components_resources.gyp:components_resources',
86 'components_strings.gyp:components_strings',
92 'signin_core_browser',
97 'autofill/core/browser/address.cc',
98 'autofill/core/browser/address.h',
99 'autofill/core/browser/address_field.cc',
100 'autofill/core/browser/address_field.h',
101 'autofill/core/browser/address_i18n.cc',
102 'autofill/core/browser/address_i18n.h',
103 'autofill/core/browser/autocomplete_history_manager.cc',
104 'autofill/core/browser/autocomplete_history_manager.h',
105 'autofill/core/browser/autofill-inl.h',
106 'autofill/core/browser/autofill_cc_infobar_delegate.cc',
107 'autofill/core/browser/autofill_cc_infobar_delegate.h',
108 'autofill/core/browser/autofill_client.h',
109 'autofill/core/browser/autofill_country.cc',
110 'autofill/core/browser/autofill_country.h',
111 'autofill/core/browser/autofill_data_model.cc',
112 'autofill/core/browser/autofill_data_model.h',
113 'autofill/core/browser/autofill_download_manager.cc',
114 'autofill/core/browser/autofill_download_manager.h',
115 'autofill/core/browser/autofill_driver.h',
116 'autofill/core/browser/autofill_experiments.cc',
117 'autofill/core/browser/autofill_experiments.h',
118 'autofill/core/browser/autofill_external_delegate.cc',
119 'autofill/core/browser/autofill_external_delegate.h',
120 'autofill/core/browser/autofill_field.cc',
121 'autofill/core/browser/autofill_field.h',
122 'autofill/core/browser/autofill_ie_toolbar_import_win.cc',
123 'autofill/core/browser/autofill_ie_toolbar_import_win.h',
124 'autofill/core/browser/autofill_manager.cc',
125 'autofill/core/browser/autofill_manager.h',
126 'autofill/core/browser/autofill_manager_test_delegate.h',
127 'autofill/core/browser/autofill_metrics.cc',
128 'autofill/core/browser/autofill_metrics.h',
129 'autofill/core/browser/autofill_popup_delegate.h',
130 'autofill/core/browser/autofill_profile.cc',
131 'autofill/core/browser/autofill_profile.h',
132 'autofill/core/browser/autofill_regex_constants.cc',
133 'autofill/core/browser/autofill_regex_constants.h',
134 'autofill/core/browser/autofill_scanner.cc',
135 'autofill/core/browser/autofill_scanner.h',
136 'autofill/core/browser/autofill_server_field_info.h',
137 'autofill/core/browser/autofill_sync_constants.cc',
138 'autofill/core/browser/autofill_sync_constants.h',
139 'autofill/core/browser/autofill_type.cc',
140 'autofill/core/browser/autofill_type.h',
141 'autofill/core/browser/autofill_xml_parser.cc',
142 'autofill/core/browser/autofill_xml_parser.h',
143 'autofill/core/browser/card_unmask_delegate.cc',
144 'autofill/core/browser/card_unmask_delegate.h',
145 'autofill/core/browser/contact_info.cc',
146 'autofill/core/browser/contact_info.h',
147 'autofill/core/browser/credit_card.cc',
148 'autofill/core/browser/credit_card.h',
149 'autofill/core/browser/credit_card_field.cc',
150 'autofill/core/browser/credit_card_field.h',
151 'autofill/core/browser/detail_input.cc',
152 'autofill/core/browser/detail_input.h',
153 'autofill/core/browser/dialog_section.h',
154 'autofill/core/browser/email_field.cc',
155 'autofill/core/browser/email_field.h',
156 'autofill/core/browser/field_types.h',
157 'autofill/core/browser/form_field.cc',
158 'autofill/core/browser/form_field.h',
159 'autofill/core/browser/form_group.cc',
160 'autofill/core/browser/form_group.h',
161 'autofill/core/browser/form_structure.cc',
162 'autofill/core/browser/form_structure.h',
163 'autofill/core/browser/name_field.cc',
164 'autofill/core/browser/name_field.h',
165 'autofill/core/browser/options_util.cc',
166 'autofill/core/browser/options_util.h',
167 'autofill/core/browser/password_generator.cc',
168 'autofill/core/browser/password_generator.h',
169 'autofill/core/browser/personal_data_manager.cc',
170 'autofill/core/browser/personal_data_manager.h',
171 'autofill/core/browser/personal_data_manager_mac.mm',
172 'autofill/core/browser/personal_data_manager_observer.h',
173 'autofill/core/browser/phone_field.cc',
174 'autofill/core/browser/phone_field.h',
175 'autofill/core/browser/phone_number.cc',
176 'autofill/core/browser/phone_number.h',
177 'autofill/core/browser/phone_number_i18n.cc',
178 'autofill/core/browser/phone_number_i18n.h',
179 'autofill/core/browser/popup_item_ids.h',
180 'autofill/core/browser/server_field_types_util.cc',
181 'autofill/core/browser/server_field_types_util.h',
182 'autofill/core/browser/state_names.cc',
183 'autofill/core/browser/state_names.h',
184 'autofill/core/browser/suggestion.cc',
185 'autofill/core/browser/suggestion.h',
186 'autofill/core/browser/validation.cc',
187 'autofill/core/browser/validation.h',
188 'autofill/core/browser/wallet/real_pan_wallet_client.cc',
189 'autofill/core/browser/wallet/real_pan_wallet_client.h',
190 'autofill/core/browser/webdata/autocomplete_syncable_service.cc',
191 'autofill/core/browser/webdata/autocomplete_syncable_service.h',
192 'autofill/core/browser/webdata/autofill_change.cc',
193 'autofill/core/browser/webdata/autofill_change.h',
194 'autofill/core/browser/webdata/autofill_entry.cc',
195 'autofill/core/browser/webdata/autofill_entry.h',
196 'autofill/core/browser/webdata/autofill_profile_syncable_service.cc',
197 'autofill/core/browser/webdata/autofill_profile_syncable_service.h',
198 'autofill/core/browser/webdata/autofill_table.cc',
199 'autofill/core/browser/webdata/autofill_table.h',
200 'autofill/core/browser/webdata/autofill_wallet_syncable_service.cc',
201 'autofill/core/browser/webdata/autofill_wallet_syncable_service.h',
202 'autofill/core/browser/webdata/autofill_webdata.h',
203 'autofill/core/browser/webdata/autofill_webdata_backend.h',
204 'autofill/core/browser/webdata/autofill_webdata_backend_impl.cc',
205 'autofill/core/browser/webdata/autofill_webdata_backend_impl.h',
206 'autofill/core/browser/webdata/autofill_webdata_service.cc',
207 'autofill/core/browser/webdata/autofill_webdata_service.h',
208 'autofill/core/browser/webdata/autofill_webdata_service_observer.h',
211 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
212 'msvs_disabled_warnings': [4267, ],
216 # GN version: //components/autofill/core/browser:test_support
217 'target_name': 'autofill_core_test_support',
218 'type': 'static_library',
220 '../base/base.gyp:base',
221 '../base/base.gyp:base_prefs',
222 '../base/base.gyp:test_support_base',
223 '../skia/skia.gyp:skia',
224 '../testing/gtest.gyp:gtest',
225 'autofill_core_common',
226 'autofill_core_browser',
230 'signin_core_browser_test_support',
233 'autofill/core/browser/autofill_test_utils.cc',
234 'autofill/core/browser/autofill_test_utils.h',
235 'autofill/core/browser/data_driven_test.cc',
236 'autofill/core/browser/data_driven_test.h',
237 'autofill/core/browser/suggestion_test_helpers.h',
238 'autofill/core/browser/test_autofill_client.cc',
239 'autofill/core/browser/test_autofill_client.h',
240 'autofill/core/browser/test_autofill_driver.cc',
241 'autofill/core/browser/test_autofill_driver.h',
242 'autofill/core/browser/test_autofill_external_delegate.cc',
243 'autofill/core/browser/test_autofill_external_delegate.h',
244 'autofill/core/browser/test_personal_data_manager.cc',
245 'autofill/core/browser/test_personal_data_manager.h',
253 # GN version: //content/autofill/content/common
254 'target_name': 'autofill_content_common',
255 'type': 'static_library',
257 'autofill_core_common',
258 '../base/base.gyp:base',
259 '../content/content.gyp:content_common',
260 '../ipc/ipc.gyp:ipc',
261 '../third_party/WebKit/public/blink.gyp:blink_minimal',
262 '../ui/gfx/gfx.gyp:gfx',
263 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
264 '../url/url.gyp:url_lib',
270 'autofill/content/common/autofill_message_generator.cc',
271 'autofill/content/common/autofill_message_generator.h',
272 'autofill/content/common/autofill_messages.h',
273 'autofill/content/common/autofill_param_traits_macros.h',
278 # Protobuf compiler / generate rule for Autofill's risk integration.
279 # GN version: //components/autofill/content/browser:risk_proto
280 'target_name': 'autofill_content_risk_proto',
281 'type': 'static_library',
283 'autofill/content/browser/risk/proto/fingerprint.proto',
286 'proto_in_dir': 'autofill/content/browser/risk/proto',
287 'proto_out_dir': 'components/autofill/content/browser/risk/proto',
289 'includes': [ '../build/protoc.gypi' ]
292 # GN version: //components/autofill/content/browser:test_support
293 'target_name': 'autofill_content_test_support',
294 'type': 'static_library',
296 '../testing/gmock.gyp:gmock',
299 'autofill/content/browser/wallet/mock_wallet_client.cc',
300 'autofill/content/browser/wallet/mock_wallet_client.h',
301 'autofill/content/browser/wallet/wallet_test_util.cc',
302 'autofill/content/browser/wallet/wallet_test_util.h',
304 'include_dirs': [ '..' ],
307 # GN version: //components/autofill/content/browser
308 'target_name': 'autofill_content_browser',
309 'type': 'static_library',
314 '../base/base.gyp:base',
315 '../base/base.gyp:base_i18n',
316 '../base/base.gyp:base_prefs',
317 '../content/content.gyp:content_browser',
318 '../content/content.gyp:content_common',
319 '../google_apis/google_apis.gyp:google_apis',
320 '../ipc/ipc.gyp:ipc',
321 '../net/net.gyp:net',
322 '../skia/skia.gyp:skia',
323 '../sql/sql.gyp:sql',
324 '../third_party/icu/icu.gyp:icui18n',
325 '../third_party/icu/icu.gyp:icuuc',
326 '../third_party/libjingle/libjingle.gyp:libjingle',
327 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
328 '../ui/base/ui_base.gyp:ui_base',
329 '../ui/gfx/gfx.gyp:gfx',
330 '../ui/gfx/gfx.gyp:gfx_geometry',
331 '../url/url.gyp:url_lib',
332 'autofill_content_common',
333 'autofill_content_risk_proto',
334 'autofill_core_browser',
335 'autofill_core_common',
336 'components_resources.gyp:components_resources',
337 'components_strings.gyp:components_strings',
343 'autofill/content/browser/content_autofill_driver.cc',
344 'autofill/content/browser/content_autofill_driver.h',
345 'autofill/content/browser/content_autofill_driver_factory.cc',
346 'autofill/content/browser/content_autofill_driver_factory.h',
347 'autofill/content/browser/request_autocomplete_manager.cc',
348 'autofill/content/browser/request_autocomplete_manager.h',
349 'autofill/content/browser/risk/fingerprint.cc',
350 'autofill/content/browser/risk/fingerprint.h',
351 'autofill/content/browser/wallet/form_field_error.cc',
352 'autofill/content/browser/wallet/form_field_error.h',
353 'autofill/content/browser/wallet/full_wallet.cc',
354 'autofill/content/browser/wallet/full_wallet.h',
355 'autofill/content/browser/wallet/gaia_account.cc',
356 'autofill/content/browser/wallet/gaia_account.h',
357 'autofill/content/browser/wallet/instrument.cc',
358 'autofill/content/browser/wallet/instrument.h',
359 'autofill/content/browser/wallet/required_action.cc',
360 'autofill/content/browser/wallet/required_action.h',
361 'autofill/content/browser/wallet/wallet_address.cc',
362 'autofill/content/browser/wallet/wallet_address.h',
363 'autofill/content/browser/wallet/wallet_client.cc',
364 'autofill/content/browser/wallet/wallet_client.h',
365 'autofill/content/browser/wallet/wallet_client_delegate.h',
366 'autofill/content/browser/wallet/wallet_items.cc',
367 'autofill/content/browser/wallet/wallet_items.h',
368 'autofill/content/browser/wallet/wallet_service_url.cc',
369 'autofill/content/browser/wallet/wallet_service_url.h',
370 'autofill/content/browser/wallet/wallet_signin_helper.cc',
371 'autofill/content/browser/wallet/wallet_signin_helper.h',
374 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
375 'msvs_disabled_warnings': [4267, ],
379 # GN version: //components/autofill/content/renderer
380 'target_name': 'autofill_content_renderer',
381 'type': 'static_library',
386 '../base/base.gyp:base',
387 '../content/content.gyp:content_common',
388 '../content/content.gyp:content_renderer',
389 '../google_apis/google_apis.gyp:google_apis',
390 '../ipc/ipc.gyp:ipc',
391 '../net/net.gyp:net',
392 '../skia/skia.gyp:skia',
393 '../third_party/icu/icu.gyp:icui18n',
394 '../third_party/icu/icu.gyp:icuuc',
395 '../third_party/WebKit/public/blink.gyp:blink',
396 '../ui/base/ui_base.gyp:ui_base',
397 'autofill_content_common',
398 'autofill_core_common',
399 'components_strings.gyp:components_strings',
402 'autofill/content/renderer/autofill_agent.cc',
403 'autofill/content/renderer/autofill_agent.h',
404 'autofill/content/renderer/form_autofill_util.cc',
405 'autofill/content/renderer/form_autofill_util.h',
406 'autofill/content/renderer/form_cache.cc',
407 'autofill/content/renderer/form_cache.h',
408 'autofill/content/renderer/page_click_listener.h',
409 'autofill/content/renderer/page_click_tracker.cc',
410 'autofill/content/renderer/page_click_tracker.h',
411 'autofill/content/renderer/password_autofill_agent.cc',
412 'autofill/content/renderer/password_autofill_agent.h',
413 'autofill/content/renderer/password_form_conversion_utils.cc',
414 'autofill/content/renderer/password_form_conversion_utils.h',
415 'autofill/content/renderer/password_generation_agent.cc',
416 'autofill/content/renderer/password_generation_agent.h',
417 'autofill/content/renderer/renderer_save_password_progress_logger.cc',
418 'autofill/content/renderer/renderer_save_password_progress_logger.h',
420 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
421 'msvs_disabled_warnings': [4267, ],
428 'target_name': 'autofill_ios_browser',
429 'type': 'static_library',
434 'autofill_core_browser',
435 'autofill_core_common',
436 'autofill_ios_injected_js',
437 '../ios/provider/ios_provider_web.gyp:ios_provider_web',
438 '../ios/web/ios_web.gyp:ios_web',
441 'autofill/ios/browser/autofill_driver_ios.h',
442 'autofill/ios/browser/autofill_driver_ios.mm',
443 'autofill/ios/browser/autofill_driver_ios_bridge.h',
444 'autofill/ios/browser/form_suggestion.h',
445 'autofill/ios/browser/form_suggestion.mm',
446 'autofill/ios/browser/js_autofill_manager.h',
447 'autofill/ios/browser/js_autofill_manager.mm',
448 'autofill/ios/browser/js_suggestion_manager.h',
449 'autofill/ios/browser/js_suggestion_manager.mm',
453 'target_name': 'autofill_ios_injected_js',
456 'autofill/ios/browser/resources/autofill_controller.js',
457 'autofill/ios/browser/resources/suggestion_controller.js',
460 'mac_bundle_resources': [
461 '<(SHARED_INTERMEDIATE_DIR)/autofill_controller.js',
462 '<(SHARED_INTERMEDIATE_DIR)/suggestion_controller.js',
466 '../ios/web/js_compile.gypi',