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_form_field_prediction_map.h',
47 'autofill/core/common/password_generation_util.cc',
48 'autofill/core/common/password_generation_util.h',
49 'autofill/core/common/save_password_progress_logger.cc',
50 'autofill/core/common/save_password_progress_logger.h',
51 'autofill/core/common/web_element_descriptor.cc',
52 'autofill/core/common/web_element_descriptor.h',
55 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
56 'msvs_disabled_warnings': [4267, ],
60 # GN version: //components/autofill/core/browser
61 'target_name': 'autofill_core_browser',
62 'type': 'static_library',
67 '../base/base.gyp:base',
68 '../base/base.gyp:base_i18n',
69 '../base/base.gyp:base_prefs',
70 '../google_apis/google_apis.gyp:google_apis',
72 '../skia/skia.gyp:skia',
74 '../sync/sync.gyp:sync',
75 '../third_party/fips181/fips181.gyp:fips181',
76 '../third_party/icu/icu.gyp:icui18n',
77 '../third_party/icu/icu.gyp:icuuc',
78 '../third_party/libjingle/libjingle.gyp:libjingle',
79 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util',
80 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
81 '../ui/base/ui_base.gyp:ui_base',
82 '../ui/gfx/gfx.gyp:gfx',
83 '../ui/gfx/gfx.gyp:gfx_geometry',
84 '../url/url.gyp:url_lib',
85 'autofill_core_common',
86 'components_resources.gyp:components_resources',
87 'components_strings.gyp:components_strings',
93 'signin_core_browser',
98 'autofill/core/browser/address.cc',
99 'autofill/core/browser/address.h',
100 'autofill/core/browser/address_field.cc',
101 'autofill/core/browser/address_field.h',
102 'autofill/core/browser/address_i18n.cc',
103 'autofill/core/browser/address_i18n.h',
104 'autofill/core/browser/autocomplete_history_manager.cc',
105 'autofill/core/browser/autocomplete_history_manager.h',
106 'autofill/core/browser/autofill-inl.h',
107 'autofill/core/browser/autofill_cc_infobar_delegate.cc',
108 'autofill/core/browser/autofill_cc_infobar_delegate.h',
109 'autofill/core/browser/autofill_client.h',
110 'autofill/core/browser/autofill_country.cc',
111 'autofill/core/browser/autofill_country.h',
112 'autofill/core/browser/autofill_data_model.cc',
113 'autofill/core/browser/autofill_data_model.h',
114 'autofill/core/browser/autofill_download_manager.cc',
115 'autofill/core/browser/autofill_download_manager.h',
116 'autofill/core/browser/autofill_driver.h',
117 'autofill/core/browser/autofill_experiments.cc',
118 'autofill/core/browser/autofill_experiments.h',
119 'autofill/core/browser/autofill_external_delegate.cc',
120 'autofill/core/browser/autofill_external_delegate.h',
121 'autofill/core/browser/autofill_field.cc',
122 'autofill/core/browser/autofill_field.h',
123 'autofill/core/browser/autofill_ie_toolbar_import_win.cc',
124 'autofill/core/browser/autofill_ie_toolbar_import_win.h',
125 'autofill/core/browser/autofill_manager.cc',
126 'autofill/core/browser/autofill_manager.h',
127 'autofill/core/browser/autofill_manager_test_delegate.h',
128 'autofill/core/browser/autofill_metrics.cc',
129 'autofill/core/browser/autofill_metrics.h',
130 'autofill/core/browser/autofill_popup_delegate.h',
131 'autofill/core/browser/autofill_profile.cc',
132 'autofill/core/browser/autofill_profile.h',
133 'autofill/core/browser/autofill_regex_constants.cc',
134 'autofill/core/browser/autofill_regex_constants.h',
135 'autofill/core/browser/autofill_scanner.cc',
136 'autofill/core/browser/autofill_scanner.h',
137 'autofill/core/browser/autofill_server_field_info.h',
138 'autofill/core/browser/autofill_sync_constants.cc',
139 'autofill/core/browser/autofill_sync_constants.h',
140 'autofill/core/browser/autofill_type.cc',
141 'autofill/core/browser/autofill_type.h',
142 'autofill/core/browser/autofill_xml_parser.cc',
143 'autofill/core/browser/autofill_xml_parser.h',
144 'autofill/core/browser/card_unmask_delegate.cc',
145 'autofill/core/browser/card_unmask_delegate.h',
146 'autofill/core/browser/contact_info.cc',
147 'autofill/core/browser/contact_info.h',
148 'autofill/core/browser/credit_card.cc',
149 'autofill/core/browser/credit_card.h',
150 'autofill/core/browser/credit_card_field.cc',
151 'autofill/core/browser/credit_card_field.h',
152 'autofill/core/browser/detail_input.cc',
153 'autofill/core/browser/detail_input.h',
154 'autofill/core/browser/dialog_section.h',
155 'autofill/core/browser/email_field.cc',
156 'autofill/core/browser/email_field.h',
157 'autofill/core/browser/field_types.h',
158 'autofill/core/browser/form_field.cc',
159 'autofill/core/browser/form_field.h',
160 'autofill/core/browser/form_group.cc',
161 'autofill/core/browser/form_group.h',
162 'autofill/core/browser/form_structure.cc',
163 'autofill/core/browser/form_structure.h',
164 'autofill/core/browser/name_field.cc',
165 'autofill/core/browser/name_field.h',
166 'autofill/core/browser/options_util.cc',
167 'autofill/core/browser/options_util.h',
168 'autofill/core/browser/password_generator.cc',
169 'autofill/core/browser/password_generator.h',
170 'autofill/core/browser/personal_data_manager.cc',
171 'autofill/core/browser/personal_data_manager.h',
172 'autofill/core/browser/personal_data_manager_mac.mm',
173 'autofill/core/browser/personal_data_manager_observer.h',
174 'autofill/core/browser/phone_field.cc',
175 'autofill/core/browser/phone_field.h',
176 'autofill/core/browser/phone_number.cc',
177 'autofill/core/browser/phone_number.h',
178 'autofill/core/browser/phone_number_i18n.cc',
179 'autofill/core/browser/phone_number_i18n.h',
180 'autofill/core/browser/popup_item_ids.h',
181 'autofill/core/browser/server_field_types_util.cc',
182 'autofill/core/browser/server_field_types_util.h',
183 'autofill/core/browser/state_names.cc',
184 'autofill/core/browser/state_names.h',
185 'autofill/core/browser/suggestion.cc',
186 'autofill/core/browser/suggestion.h',
187 'autofill/core/browser/ui/card_unmask_prompt_controller.h',
188 'autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc',
189 'autofill/core/browser/ui/card_unmask_prompt_controller_impl.h',
190 'autofill/core/browser/ui/card_unmask_prompt_view.h',
191 'autofill/core/browser/validation.cc',
192 'autofill/core/browser/validation.h',
193 'autofill/core/browser/wallet/real_pan_wallet_client.cc',
194 'autofill/core/browser/wallet/real_pan_wallet_client.h',
195 'autofill/core/browser/webdata/autocomplete_syncable_service.cc',
196 'autofill/core/browser/webdata/autocomplete_syncable_service.h',
197 'autofill/core/browser/webdata/autofill_change.cc',
198 'autofill/core/browser/webdata/autofill_change.h',
199 'autofill/core/browser/webdata/autofill_entry.cc',
200 'autofill/core/browser/webdata/autofill_entry.h',
201 'autofill/core/browser/webdata/autofill_profile_syncable_service.cc',
202 'autofill/core/browser/webdata/autofill_profile_syncable_service.h',
203 'autofill/core/browser/webdata/autofill_table.cc',
204 'autofill/core/browser/webdata/autofill_table.h',
205 'autofill/core/browser/webdata/autofill_wallet_syncable_service.cc',
206 'autofill/core/browser/webdata/autofill_wallet_syncable_service.h',
207 'autofill/core/browser/webdata/autofill_webdata.h',
208 'autofill/core/browser/webdata/autofill_webdata_backend.h',
209 'autofill/core/browser/webdata/autofill_webdata_backend_impl.cc',
210 'autofill/core/browser/webdata/autofill_webdata_backend_impl.h',
211 'autofill/core/browser/webdata/autofill_webdata_service.cc',
212 'autofill/core/browser/webdata/autofill_webdata_service.h',
213 'autofill/core/browser/webdata/autofill_webdata_service_observer.h',
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_client_ios_bridge.h',
447 'autofill/ios/browser/autofill_driver_ios.h',
448 'autofill/ios/browser/autofill_driver_ios.mm',
449 'autofill/ios/browser/autofill_driver_ios_bridge.h',
450 'autofill/ios/browser/credit_card_util.h',
451 'autofill/ios/browser/credit_card_util.mm',
452 'autofill/ios/browser/form_suggestion.h',
453 'autofill/ios/browser/form_suggestion.mm',
454 'autofill/ios/browser/js_autofill_manager.h',
455 'autofill/ios/browser/js_autofill_manager.mm',
456 'autofill/ios/browser/js_suggestion_manager.h',
457 'autofill/ios/browser/js_suggestion_manager.mm',
458 'autofill/ios/browser/personal_data_manager_observer_bridge.h',
459 'autofill/ios/browser/personal_data_manager_observer_bridge.mm',
463 'target_name': 'autofill_ios_injected_js',
466 'autofill/ios/browser/resources/autofill_controller.js',
467 'autofill/ios/browser/resources/suggestion_controller.js',
470 'mac_bundle_resources': [
471 '<(SHARED_INTERMEDIATE_DIR)/autofill_controller.js',
472 '<(SHARED_INTERMEDIATE_DIR)/suggestion_controller.js',
476 '../ios/web/js_compile_checked.gypi',