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/password_generator.cc',
166 'autofill/core/browser/password_generator.h',
167 'autofill/core/browser/personal_data_manager.cc',
168 'autofill/core/browser/personal_data_manager.h',
169 'autofill/core/browser/personal_data_manager_mac.mm',
170 'autofill/core/browser/personal_data_manager_observer.h',
171 'autofill/core/browser/phone_field.cc',
172 'autofill/core/browser/phone_field.h',
173 'autofill/core/browser/phone_number.cc',
174 'autofill/core/browser/phone_number.h',
175 'autofill/core/browser/phone_number_i18n.cc',
176 'autofill/core/browser/phone_number_i18n.h',
177 'autofill/core/browser/popup_item_ids.h',
178 'autofill/core/browser/server_field_types_util.cc',
179 'autofill/core/browser/server_field_types_util.h',
180 'autofill/core/browser/state_names.cc',
181 'autofill/core/browser/state_names.h',
182 'autofill/core/browser/suggestion.cc',
183 'autofill/core/browser/suggestion.h',
184 'autofill/core/browser/validation.cc',
185 'autofill/core/browser/validation.h',
186 'autofill/core/browser/wallet/real_pan_wallet_client.cc',
187 'autofill/core/browser/wallet/real_pan_wallet_client.h',
188 'autofill/core/browser/webdata/autocomplete_syncable_service.cc',
189 'autofill/core/browser/webdata/autocomplete_syncable_service.h',
190 'autofill/core/browser/webdata/autofill_change.cc',
191 'autofill/core/browser/webdata/autofill_change.h',
192 'autofill/core/browser/webdata/autofill_entry.cc',
193 'autofill/core/browser/webdata/autofill_entry.h',
194 'autofill/core/browser/webdata/autofill_profile_syncable_service.cc',
195 'autofill/core/browser/webdata/autofill_profile_syncable_service.h',
196 'autofill/core/browser/webdata/autofill_table.cc',
197 'autofill/core/browser/webdata/autofill_table.h',
198 'autofill/core/browser/webdata/autofill_wallet_syncable_service.cc',
199 'autofill/core/browser/webdata/autofill_wallet_syncable_service.h',
200 'autofill/core/browser/webdata/autofill_webdata.h',
201 'autofill/core/browser/webdata/autofill_webdata_backend.h',
202 'autofill/core/browser/webdata/autofill_webdata_backend_impl.cc',
203 'autofill/core/browser/webdata/autofill_webdata_backend_impl.h',
204 'autofill/core/browser/webdata/autofill_webdata_service.cc',
205 'autofill/core/browser/webdata/autofill_webdata_service.h',
206 'autofill/core/browser/webdata/autofill_webdata_service_observer.h',
209 ['desktop_linux != 1', {
210 # Controls whether Wallet cards can be saved to the local instance of
212 'defines': [ 'ENABLE_SAVE_WALLET_CARDS_LOCALLY' ],
216 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
217 'msvs_disabled_warnings': [4267, ],
221 # GN version: //components/autofill/core/browser:test_support
222 'target_name': 'autofill_core_test_support',
223 'type': 'static_library',
225 '../base/base.gyp:base',
226 '../base/base.gyp:base_prefs',
227 '../base/base.gyp:test_support_base',
228 '../skia/skia.gyp:skia',
229 '../testing/gtest.gyp:gtest',
230 'autofill_core_common',
231 'autofill_core_browser',
235 'signin_core_browser_test_support',
238 'autofill/core/browser/autofill_test_utils.cc',
239 'autofill/core/browser/autofill_test_utils.h',
240 'autofill/core/browser/data_driven_test.cc',
241 'autofill/core/browser/data_driven_test.h',
242 'autofill/core/browser/suggestion_test_helpers.h',
243 'autofill/core/browser/test_autofill_client.cc',
244 'autofill/core/browser/test_autofill_client.h',
245 'autofill/core/browser/test_autofill_driver.cc',
246 'autofill/core/browser/test_autofill_driver.h',
247 'autofill/core/browser/test_autofill_external_delegate.cc',
248 'autofill/core/browser/test_autofill_external_delegate.h',
249 'autofill/core/browser/test_personal_data_manager.cc',
250 'autofill/core/browser/test_personal_data_manager.h',
258 # GN version: //content/autofill/content/common
259 'target_name': 'autofill_content_common',
260 'type': 'static_library',
262 'autofill_core_common',
263 '../base/base.gyp:base',
264 '../content/content.gyp:content_common',
265 '../ipc/ipc.gyp:ipc',
266 '../third_party/WebKit/public/blink.gyp:blink_minimal',
267 '../ui/gfx/gfx.gyp:gfx',
268 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
269 '../url/url.gyp:url_lib',
275 'autofill/content/common/autofill_message_generator.cc',
276 'autofill/content/common/autofill_message_generator.h',
277 'autofill/content/common/autofill_messages.h',
278 'autofill/content/common/autofill_param_traits_macros.h',
283 # Protobuf compiler / generate rule for Autofill's risk integration.
284 # GN version: //components/autofill/content/browser:risk_proto
285 'target_name': 'autofill_content_risk_proto',
286 'type': 'static_library',
288 'autofill/content/browser/risk/proto/fingerprint.proto',
291 'proto_in_dir': 'autofill/content/browser/risk/proto',
292 'proto_out_dir': 'components/autofill/content/browser/risk/proto',
294 'includes': [ '../build/protoc.gypi' ]
297 # GN version: //components/autofill/content/browser:test_support
298 'target_name': 'autofill_content_test_support',
299 'type': 'static_library',
301 '../testing/gmock.gyp:gmock',
304 'autofill/content/browser/wallet/mock_wallet_client.cc',
305 'autofill/content/browser/wallet/mock_wallet_client.h',
306 'autofill/content/browser/wallet/wallet_test_util.cc',
307 'autofill/content/browser/wallet/wallet_test_util.h',
309 'include_dirs': [ '..' ],
312 # GN version: //components/autofill/content/browser
313 'target_name': 'autofill_content_browser',
314 'type': 'static_library',
319 '../base/base.gyp:base',
320 '../base/base.gyp:base_i18n',
321 '../base/base.gyp:base_prefs',
322 '../content/content.gyp:content_browser',
323 '../content/content.gyp:content_common',
324 '../google_apis/google_apis.gyp:google_apis',
325 '../ipc/ipc.gyp:ipc',
326 '../net/net.gyp:net',
327 '../skia/skia.gyp:skia',
328 '../sql/sql.gyp:sql',
329 '../third_party/icu/icu.gyp:icui18n',
330 '../third_party/icu/icu.gyp:icuuc',
331 '../third_party/libjingle/libjingle.gyp:libjingle',
332 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
333 '../ui/base/ui_base.gyp:ui_base',
334 '../ui/gfx/gfx.gyp:gfx',
335 '../ui/gfx/gfx.gyp:gfx_geometry',
336 '../url/url.gyp:url_lib',
337 'autofill_content_common',
338 'autofill_content_risk_proto',
339 'autofill_core_browser',
340 'autofill_core_common',
341 'components_resources.gyp:components_resources',
342 'components_strings.gyp:components_strings',
348 'autofill/content/browser/content_autofill_driver.cc',
349 'autofill/content/browser/content_autofill_driver.h',
350 'autofill/content/browser/content_autofill_driver_factory.cc',
351 'autofill/content/browser/content_autofill_driver_factory.h',
352 'autofill/content/browser/request_autocomplete_manager.cc',
353 'autofill/content/browser/request_autocomplete_manager.h',
354 'autofill/content/browser/risk/fingerprint.cc',
355 'autofill/content/browser/risk/fingerprint.h',
356 'autofill/content/browser/wallet/form_field_error.cc',
357 'autofill/content/browser/wallet/form_field_error.h',
358 'autofill/content/browser/wallet/full_wallet.cc',
359 'autofill/content/browser/wallet/full_wallet.h',
360 'autofill/content/browser/wallet/gaia_account.cc',
361 'autofill/content/browser/wallet/gaia_account.h',
362 'autofill/content/browser/wallet/instrument.cc',
363 'autofill/content/browser/wallet/instrument.h',
364 'autofill/content/browser/wallet/required_action.cc',
365 'autofill/content/browser/wallet/required_action.h',
366 'autofill/content/browser/wallet/wallet_address.cc',
367 'autofill/content/browser/wallet/wallet_address.h',
368 'autofill/content/browser/wallet/wallet_client.cc',
369 'autofill/content/browser/wallet/wallet_client.h',
370 'autofill/content/browser/wallet/wallet_client_delegate.h',
371 'autofill/content/browser/wallet/wallet_items.cc',
372 'autofill/content/browser/wallet/wallet_items.h',
373 'autofill/content/browser/wallet/wallet_service_url.cc',
374 'autofill/content/browser/wallet/wallet_service_url.h',
375 'autofill/content/browser/wallet/wallet_signin_helper.cc',
376 'autofill/content/browser/wallet/wallet_signin_helper.h',
379 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
380 'msvs_disabled_warnings': [4267, ],
384 # GN version: //components/autofill/content/renderer
385 'target_name': 'autofill_content_renderer',
386 'type': 'static_library',
391 '../base/base.gyp:base',
392 '../content/content.gyp:content_common',
393 '../content/content.gyp:content_renderer',
394 '../google_apis/google_apis.gyp:google_apis',
395 '../ipc/ipc.gyp:ipc',
396 '../net/net.gyp:net',
397 '../skia/skia.gyp:skia',
398 '../third_party/icu/icu.gyp:icui18n',
399 '../third_party/icu/icu.gyp:icuuc',
400 '../third_party/WebKit/public/blink.gyp:blink',
401 '../ui/base/ui_base.gyp:ui_base',
402 'autofill_content_common',
403 'autofill_core_common',
404 'components_strings.gyp:components_strings',
407 'autofill/content/renderer/autofill_agent.cc',
408 'autofill/content/renderer/autofill_agent.h',
409 'autofill/content/renderer/form_autofill_util.cc',
410 'autofill/content/renderer/form_autofill_util.h',
411 'autofill/content/renderer/form_cache.cc',
412 'autofill/content/renderer/form_cache.h',
413 'autofill/content/renderer/page_click_listener.h',
414 'autofill/content/renderer/page_click_tracker.cc',
415 'autofill/content/renderer/page_click_tracker.h',
416 'autofill/content/renderer/password_autofill_agent.cc',
417 'autofill/content/renderer/password_autofill_agent.h',
418 'autofill/content/renderer/password_form_conversion_utils.cc',
419 'autofill/content/renderer/password_form_conversion_utils.h',
420 'autofill/content/renderer/password_generation_agent.cc',
421 'autofill/content/renderer/password_generation_agent.h',
422 'autofill/content/renderer/renderer_save_password_progress_logger.cc',
423 'autofill/content/renderer/renderer_save_password_progress_logger.h',
425 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
426 'msvs_disabled_warnings': [4267, ],
433 'target_name': 'autofill_ios_browser',
434 'type': 'static_library',
439 'autofill_core_browser',
440 'autofill_core_common',
441 'autofill_ios_injected_js',
442 '../ios/provider/ios_provider_web.gyp:ios_provider_web',
443 '../ios/web/ios_web.gyp:ios_web',
446 'autofill/ios/browser/autofill_driver_ios.h',
447 'autofill/ios/browser/autofill_driver_ios.mm',
448 'autofill/ios/browser/autofill_driver_ios_bridge.h',
449 'autofill/ios/browser/form_suggestion.h',
450 'autofill/ios/browser/form_suggestion.mm',
451 'autofill/ios/browser/js_autofill_manager.h',
452 'autofill/ios/browser/js_autofill_manager.mm',
453 'autofill/ios/browser/js_suggestion_manager.h',
454 'autofill/ios/browser/js_suggestion_manager.mm',
458 'target_name': 'autofill_ios_injected_js',
461 'autofill/ios/browser/resources/autofill_controller.js',
462 'autofill/ios/browser/resources/suggestion_controller.js',
465 'mac_bundle_resources': [
466 '<(SHARED_INTERMEDIATE_DIR)/autofill_controller.js',
467 '<(SHARED_INTERMEDIATE_DIR)/suggestion_controller.js',
471 '../ios/web/js_compile.gypi',