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/autofill_util.cc',
35 'autofill/core/common/autofill_util.h',
36 'autofill/core/common/form_data.cc',
37 'autofill/core/common/form_data.h',
38 'autofill/core/common/form_data_predictions.cc',
39 'autofill/core/common/form_data_predictions.h',
40 'autofill/core/common/form_field_data.cc',
41 'autofill/core/common/form_field_data.h',
42 'autofill/core/common/form_field_data_predictions.cc',
43 'autofill/core/common/form_field_data_predictions.h',
44 'autofill/core/common/password_form.cc',
45 'autofill/core/common/password_form.h',
46 'autofill/core/common/password_form_fill_data.cc',
47 'autofill/core/common/password_form_fill_data.h',
48 'autofill/core/common/password_form_field_prediction_map.h',
49 'autofill/core/common/password_generation_util.cc',
50 'autofill/core/common/password_generation_util.h',
51 'autofill/core/common/save_password_progress_logger.cc',
52 'autofill/core/common/save_password_progress_logger.h',
53 'autofill/core/common/web_element_descriptor.cc',
54 'autofill/core/common/web_element_descriptor.h',
57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
58 'msvs_disabled_warnings': [4267, ],
62 # GN version: //components/autofill/core/browser
63 'target_name': 'autofill_core_browser',
64 'type': 'static_library',
69 '../base/base.gyp:base',
70 '../base/base.gyp:base_i18n',
71 '../base/base.gyp:base_prefs',
72 '../google_apis/google_apis.gyp:google_apis',
74 '../skia/skia.gyp:skia',
76 '../sync/sync.gyp:sync',
77 '../third_party/fips181/fips181.gyp:fips181',
78 '../third_party/icu/icu.gyp:icui18n',
79 '../third_party/icu/icu.gyp:icuuc',
80 '../third_party/libjingle/libjingle.gyp:libjingle',
81 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util',
82 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
83 '../ui/base/ui_base.gyp:ui_base',
84 '../ui/gfx/gfx.gyp:gfx',
85 '../ui/gfx/gfx.gyp:gfx_geometry',
86 '../url/url.gyp:url_lib',
87 'autofill_core_common',
88 'components_resources.gyp:components_resources',
89 'components_strings.gyp:components_strings',
95 'signin_core_browser',
100 'autofill/core/browser/address.cc',
101 'autofill/core/browser/address.h',
102 'autofill/core/browser/address_field.cc',
103 'autofill/core/browser/address_field.h',
104 'autofill/core/browser/address_i18n.cc',
105 'autofill/core/browser/address_i18n.h',
106 'autofill/core/browser/autocomplete_history_manager.cc',
107 'autofill/core/browser/autocomplete_history_manager.h',
108 'autofill/core/browser/autofill-inl.h',
109 'autofill/core/browser/autofill_cc_infobar_delegate.cc',
110 'autofill/core/browser/autofill_cc_infobar_delegate.h',
111 'autofill/core/browser/autofill_client.h',
112 'autofill/core/browser/autofill_country.cc',
113 'autofill/core/browser/autofill_country.h',
114 'autofill/core/browser/autofill_data_model.cc',
115 'autofill/core/browser/autofill_data_model.h',
116 'autofill/core/browser/autofill_download_manager.cc',
117 'autofill/core/browser/autofill_download_manager.h',
118 'autofill/core/browser/autofill_driver.h',
119 'autofill/core/browser/autofill_experiments.cc',
120 'autofill/core/browser/autofill_experiments.h',
121 'autofill/core/browser/autofill_external_delegate.cc',
122 'autofill/core/browser/autofill_external_delegate.h',
123 'autofill/core/browser/autofill_field.cc',
124 'autofill/core/browser/autofill_field.h',
125 'autofill/core/browser/autofill_ie_toolbar_import_win.cc',
126 'autofill/core/browser/autofill_ie_toolbar_import_win.h',
127 'autofill/core/browser/autofill_manager.cc',
128 'autofill/core/browser/autofill_manager.h',
129 'autofill/core/browser/autofill_manager_test_delegate.h',
130 'autofill/core/browser/autofill_metrics.cc',
131 'autofill/core/browser/autofill_metrics.h',
132 'autofill/core/browser/autofill_popup_delegate.h',
133 'autofill/core/browser/autofill_profile.cc',
134 'autofill/core/browser/autofill_profile.h',
135 'autofill/core/browser/autofill_regex_constants.cc',
136 'autofill/core/browser/autofill_regex_constants.h',
137 'autofill/core/browser/autofill_scanner.cc',
138 'autofill/core/browser/autofill_scanner.h',
139 'autofill/core/browser/autofill_server_field_info.h',
140 'autofill/core/browser/autofill_sync_constants.cc',
141 'autofill/core/browser/autofill_sync_constants.h',
142 'autofill/core/browser/autofill_type.cc',
143 'autofill/core/browser/autofill_type.h',
144 'autofill/core/browser/autofill_xml_parser.cc',
145 'autofill/core/browser/autofill_xml_parser.h',
146 'autofill/core/browser/card_unmask_delegate.cc',
147 'autofill/core/browser/card_unmask_delegate.h',
148 'autofill/core/browser/contact_info.cc',
149 'autofill/core/browser/contact_info.h',
150 'autofill/core/browser/credit_card.cc',
151 'autofill/core/browser/credit_card.h',
152 'autofill/core/browser/credit_card_field.cc',
153 'autofill/core/browser/credit_card_field.h',
154 'autofill/core/browser/detail_input.cc',
155 'autofill/core/browser/detail_input.h',
156 'autofill/core/browser/dialog_section.h',
157 'autofill/core/browser/email_field.cc',
158 'autofill/core/browser/email_field.h',
159 'autofill/core/browser/field_types.h',
160 'autofill/core/browser/form_field.cc',
161 'autofill/core/browser/form_field.h',
162 'autofill/core/browser/form_group.cc',
163 'autofill/core/browser/form_group.h',
164 'autofill/core/browser/form_structure.cc',
165 'autofill/core/browser/form_structure.h',
166 'autofill/core/browser/name_field.cc',
167 'autofill/core/browser/name_field.h',
168 'autofill/core/browser/options_util.cc',
169 'autofill/core/browser/options_util.h',
170 'autofill/core/browser/password_generator.cc',
171 'autofill/core/browser/password_generator.h',
172 'autofill/core/browser/personal_data_manager.cc',
173 'autofill/core/browser/personal_data_manager.h',
174 'autofill/core/browser/personal_data_manager_mac.mm',
175 'autofill/core/browser/personal_data_manager_observer.h',
176 'autofill/core/browser/phone_field.cc',
177 'autofill/core/browser/phone_field.h',
178 'autofill/core/browser/phone_number.cc',
179 'autofill/core/browser/phone_number.h',
180 'autofill/core/browser/phone_number_i18n.cc',
181 'autofill/core/browser/phone_number_i18n.h',
182 'autofill/core/browser/popup_item_ids.h',
183 'autofill/core/browser/server_field_types_util.cc',
184 'autofill/core/browser/server_field_types_util.h',
185 'autofill/core/browser/state_names.cc',
186 'autofill/core/browser/state_names.h',
187 'autofill/core/browser/suggestion.cc',
188 'autofill/core/browser/suggestion.h',
189 'autofill/core/browser/ui/card_unmask_prompt_controller.h',
190 'autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc',
191 'autofill/core/browser/ui/card_unmask_prompt_controller_impl.h',
192 'autofill/core/browser/ui/card_unmask_prompt_view.h',
193 'autofill/core/browser/validation.cc',
194 'autofill/core/browser/validation.h',
195 'autofill/core/browser/wallet/real_pan_wallet_client.cc',
196 'autofill/core/browser/wallet/real_pan_wallet_client.h',
197 'autofill/core/browser/webdata/autocomplete_syncable_service.cc',
198 'autofill/core/browser/webdata/autocomplete_syncable_service.h',
199 'autofill/core/browser/webdata/autofill_change.cc',
200 'autofill/core/browser/webdata/autofill_change.h',
201 'autofill/core/browser/webdata/autofill_entry.cc',
202 'autofill/core/browser/webdata/autofill_entry.h',
203 'autofill/core/browser/webdata/autofill_profile_syncable_service.cc',
204 'autofill/core/browser/webdata/autofill_profile_syncable_service.h',
205 'autofill/core/browser/webdata/autofill_table.cc',
206 'autofill/core/browser/webdata/autofill_table.h',
207 'autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc',
208 'autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.h',
209 'autofill/core/browser/webdata/autofill_wallet_syncable_service.cc',
210 'autofill/core/browser/webdata/autofill_wallet_syncable_service.h',
211 'autofill/core/browser/webdata/autofill_webdata.h',
212 'autofill/core/browser/webdata/autofill_webdata_backend.h',
213 'autofill/core/browser/webdata/autofill_webdata_backend_impl.cc',
214 'autofill/core/browser/webdata/autofill_webdata_backend_impl.h',
215 'autofill/core/browser/webdata/autofill_webdata_service.cc',
216 'autofill/core/browser/webdata/autofill_webdata_service.h',
217 'autofill/core/browser/webdata/autofill_webdata_service_observer.h',
220 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
221 'msvs_disabled_warnings': [4267, ],
225 # GN version: //components/autofill/core/browser:test_support
226 'target_name': 'autofill_core_test_support',
227 'type': 'static_library',
229 '../base/base.gyp:base',
230 '../base/base.gyp:base_prefs',
231 '../base/base.gyp:test_support_base',
232 '../skia/skia.gyp:skia',
233 '../testing/gtest.gyp:gtest',
234 'autofill_core_common',
235 'autofill_core_browser',
239 'signin_core_browser_test_support',
242 'autofill/core/browser/autofill_test_utils.cc',
243 'autofill/core/browser/autofill_test_utils.h',
244 'autofill/core/browser/data_driven_test.cc',
245 'autofill/core/browser/data_driven_test.h',
246 'autofill/core/browser/suggestion_test_helpers.h',
247 'autofill/core/browser/test_autofill_client.cc',
248 'autofill/core/browser/test_autofill_client.h',
249 'autofill/core/browser/test_autofill_driver.cc',
250 'autofill/core/browser/test_autofill_driver.h',
251 'autofill/core/browser/test_autofill_external_delegate.cc',
252 'autofill/core/browser/test_autofill_external_delegate.h',
253 'autofill/core/browser/test_personal_data_manager.cc',
254 'autofill/core/browser/test_personal_data_manager.h',
262 # GN version: //content/autofill/content/common
263 'target_name': 'autofill_content_common',
264 'type': 'static_library',
266 'autofill_core_common',
267 '../base/base.gyp:base',
268 '../content/content.gyp:content_common',
269 '../ipc/ipc.gyp:ipc',
270 '../third_party/WebKit/public/blink.gyp:blink_minimal',
271 '../ui/gfx/gfx.gyp:gfx',
272 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
273 '../url/url.gyp:url_lib',
279 'autofill/content/common/autofill_message_generator.cc',
280 'autofill/content/common/autofill_message_generator.h',
281 'autofill/content/common/autofill_messages.h',
282 'autofill/content/common/autofill_param_traits_macros.h',
287 # Protobuf compiler / generate rule for Autofill's risk integration.
288 # GN version: //components/autofill/content/browser:risk_proto
289 'target_name': 'autofill_content_risk_proto',
290 'type': 'static_library',
292 'autofill/content/browser/risk/proto/fingerprint.proto',
295 'proto_in_dir': 'autofill/content/browser/risk/proto',
296 'proto_out_dir': 'components/autofill/content/browser/risk/proto',
298 'includes': [ '../build/protoc.gypi' ]
301 # GN version: //components/autofill/content/browser/wallet:test_support
302 # GN version: //components/autofill/content/renderer:test_support
303 'target_name': 'autofill_content_test_support',
304 'type': 'static_library',
306 'autofill_content_browser',
307 'autofill_content_renderer',
308 '../base/base.gyp:base',
309 '../ipc/ipc.gyp:ipc',
310 '../skia/skia.gyp:skia',
311 '../testing/gmock.gyp:gmock',
314 'autofill/content/browser/wallet/mock_wallet_client.cc',
315 'autofill/content/browser/wallet/mock_wallet_client.h',
316 'autofill/content/browser/wallet/wallet_test_util.cc',
317 'autofill/content/browser/wallet/wallet_test_util.h',
318 'autofill/content/renderer/test_password_autofill_agent.cc',
319 'autofill/content/renderer/test_password_autofill_agent.h',
320 'autofill/content/renderer/test_password_generation_agent.cc',
321 'autofill/content/renderer/test_password_generation_agent.h',
323 'include_dirs': [ '..' ],
326 # GN version: //components/autofill/content/browser
327 'target_name': 'autofill_content_browser',
328 'type': 'static_library',
333 '../base/base.gyp:base',
334 '../base/base.gyp:base_i18n',
335 '../base/base.gyp:base_prefs',
336 '../content/content.gyp:content_browser',
337 '../content/content.gyp:content_common',
338 '../google_apis/google_apis.gyp:google_apis',
339 '../ipc/ipc.gyp:ipc',
340 '../net/net.gyp:net',
341 '../skia/skia.gyp:skia',
342 '../sql/sql.gyp:sql',
343 '../third_party/icu/icu.gyp:icui18n',
344 '../third_party/icu/icu.gyp:icuuc',
345 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
346 '../ui/base/ui_base.gyp:ui_base',
347 '../ui/gfx/gfx.gyp:gfx',
348 '../ui/gfx/gfx.gyp:gfx_geometry',
349 '../url/url.gyp:url_lib',
350 'autofill_content_common',
351 'autofill_content_risk_proto',
352 'autofill_core_browser',
353 'autofill_core_common',
354 'components_resources.gyp:components_resources',
355 'components_strings.gyp:components_strings',
361 'autofill/content/browser/content_autofill_driver.cc',
362 'autofill/content/browser/content_autofill_driver.h',
363 'autofill/content/browser/content_autofill_driver_factory.cc',
364 'autofill/content/browser/content_autofill_driver_factory.h',
365 'autofill/content/browser/request_autocomplete_manager.cc',
366 'autofill/content/browser/request_autocomplete_manager.h',
367 'autofill/content/browser/risk/fingerprint.cc',
368 'autofill/content/browser/risk/fingerprint.h',
369 'autofill/content/browser/wallet/form_field_error.cc',
370 'autofill/content/browser/wallet/form_field_error.h',
371 'autofill/content/browser/wallet/full_wallet.cc',
372 'autofill/content/browser/wallet/full_wallet.h',
373 'autofill/content/browser/wallet/gaia_account.cc',
374 'autofill/content/browser/wallet/gaia_account.h',
375 'autofill/content/browser/wallet/instrument.cc',
376 'autofill/content/browser/wallet/instrument.h',
377 'autofill/content/browser/wallet/required_action.cc',
378 'autofill/content/browser/wallet/required_action.h',
379 'autofill/content/browser/wallet/wallet_address.cc',
380 'autofill/content/browser/wallet/wallet_address.h',
381 'autofill/content/browser/wallet/wallet_client.cc',
382 'autofill/content/browser/wallet/wallet_client.h',
383 'autofill/content/browser/wallet/wallet_client_delegate.h',
384 'autofill/content/browser/wallet/wallet_items.cc',
385 'autofill/content/browser/wallet/wallet_items.h',
386 'autofill/content/browser/wallet/wallet_service_url.cc',
387 'autofill/content/browser/wallet/wallet_service_url.h',
388 'autofill/content/browser/wallet/wallet_signin_helper.cc',
389 'autofill/content/browser/wallet/wallet_signin_helper.h',
392 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
393 'msvs_disabled_warnings': [4267, ],
397 # GN version: //components/autofill/content/renderer
398 'target_name': 'autofill_content_renderer',
399 'type': 'static_library',
404 '../base/base.gyp:base',
405 '../content/content.gyp:content_common',
406 '../content/content.gyp:content_renderer',
407 '../google_apis/google_apis.gyp:google_apis',
408 '../ipc/ipc.gyp:ipc',
409 '../net/net.gyp:net',
410 '../skia/skia.gyp:skia',
411 '../third_party/icu/icu.gyp:icui18n',
412 '../third_party/icu/icu.gyp:icuuc',
413 '../third_party/WebKit/public/blink.gyp:blink',
414 '../ui/base/ui_base.gyp:ui_base',
415 'autofill_content_common',
416 'autofill_core_common',
417 'components_strings.gyp:components_strings',
420 'autofill/content/renderer/autofill_agent.cc',
421 'autofill/content/renderer/autofill_agent.h',
422 'autofill/content/renderer/form_autofill_util.cc',
423 'autofill/content/renderer/form_autofill_util.h',
424 'autofill/content/renderer/form_cache.cc',
425 'autofill/content/renderer/form_cache.h',
426 'autofill/content/renderer/page_click_listener.h',
427 'autofill/content/renderer/page_click_tracker.cc',
428 'autofill/content/renderer/page_click_tracker.h',
429 'autofill/content/renderer/password_autofill_agent.cc',
430 'autofill/content/renderer/password_autofill_agent.h',
431 'autofill/content/renderer/password_form_conversion_utils.cc',
432 'autofill/content/renderer/password_form_conversion_utils.h',
433 'autofill/content/renderer/password_generation_agent.cc',
434 'autofill/content/renderer/password_generation_agent.h',
435 'autofill/content/renderer/renderer_save_password_progress_logger.cc',
436 'autofill/content/renderer/renderer_save_password_progress_logger.h',
438 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
439 'msvs_disabled_warnings': [4267, ],
446 'target_name': 'autofill_ios_browser',
447 'type': 'static_library',
452 'autofill_core_browser',
453 'autofill_core_common',
454 'autofill_ios_injected_js',
455 '../ios/provider/ios_provider_web.gyp:ios_provider_web',
456 '../ios/web/ios_web.gyp:ios_web',
459 'autofill/ios/browser/autofill_client_ios_bridge.h',
460 'autofill/ios/browser/autofill_driver_ios.h',
461 'autofill/ios/browser/autofill_driver_ios.mm',
462 'autofill/ios/browser/autofill_driver_ios_bridge.h',
463 'autofill/ios/browser/credit_card_util.h',
464 'autofill/ios/browser/credit_card_util.mm',
465 'autofill/ios/browser/autofill_field_trial_ios.cc',
466 'autofill/ios/browser/autofill_field_trial_ios.h',
467 'autofill/ios/browser/form_suggestion.h',
468 'autofill/ios/browser/form_suggestion.mm',
469 'autofill/ios/browser/js_autofill_manager.h',
470 'autofill/ios/browser/js_autofill_manager.mm',
471 'autofill/ios/browser/js_suggestion_manager.h',
472 'autofill/ios/browser/js_suggestion_manager.mm',
473 'autofill/ios/browser/personal_data_manager_observer_bridge.h',
474 'autofill/ios/browser/personal_data_manager_observer_bridge.mm',
478 'target_name': 'autofill_ios_injected_js',
481 'autofill/ios/browser/resources/autofill_controller.js',
482 'autofill/ios/browser/resources/suggestion_controller.js',
485 'mac_bundle_resources': [
486 '<(SHARED_INTERMEDIATE_DIR)/autofill_controller.js',
487 '<(SHARED_INTERMEDIATE_DIR)/suggestion_controller.js',
491 '../ios/web/js_compile_checked.gypi',