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 # Private target only used in components/autofill.
9 'target_name': 'autofill_regexes',
12 'action_name': 'autofill_regexes',
14 '<(DEPTH)/build/escape_unicode.py',
15 'autofill/browser/autofill_regex_constants.cc.utf8',
18 '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc',
20 'action': ['python', '<(DEPTH)/build/escape_unicode.py',
21 '-o', '<(SHARED_INTERMEDIATE_DIR)',
22 'autofill/browser/autofill_regex_constants.cc.utf8'],
30 'target_name': 'autofill_common',
31 'type': 'static_library',
33 '../base/base.gyp:base',
34 '../content/content.gyp:content_common',
36 '../third_party/WebKit/public/blink.gyp:blink',
38 '../url/url.gyp:url_lib',
43 'autofill_jni_headers',
49 '<(SHARED_INTERMEDIATE_DIR)/autofill'
52 'autofill/browser/android/auxiliary_profile_loader_android.cc',
53 'autofill/browser/android/auxiliary_profile_loader_android.h',
54 'autofill/browser/android/auxiliary_profiles_android.cc',
55 'autofill/browser/android/auxiliary_profiles_android.h',
56 'autofill/browser/android/component_jni_registrar.cc',
57 'autofill/browser/android/component_jni_registrar.h',
58 'autofill/browser/android/personal_data_manager_android.cc',
59 'autofill/common/autocheckout_status.h',
60 'autofill/common/autofill_constants.cc',
61 'autofill/common/autofill_constants.h',
62 'autofill/common/autofill_messages.h',
63 'autofill/common/autofill_message_generator.cc',
64 'autofill/common/autofill_message_generator.h',
65 'autofill/common/autofill_pref_names.cc',
66 'autofill/common/autofill_pref_names.h',
67 'autofill/common/autofill_switches.cc',
68 'autofill/common/autofill_switches.h',
69 'autofill/common/form_data.cc',
70 'autofill/common/form_data.h',
71 'autofill/common/form_data_predictions.cc',
72 'autofill/common/form_data_predictions.h',
73 'autofill/common/form_field_data.cc',
74 'autofill/common/form_field_data.h',
75 'autofill/common/form_field_data_predictions.cc',
76 'autofill/common/form_field_data_predictions.h',
77 'autofill/common/password_form_fill_data.cc',
78 'autofill/common/password_form_fill_data.h',
79 'autofill/common/password_generation_util.cc',
80 'autofill/common/password_generation_util.h',
81 'autofill/common/web_element_descriptor.cc',
82 'autofill/common/web_element_descriptor.h',
87 # TODO(blundell): Eliminate this target; instead, have only the
88 # autofill_content_browser target and a new top-level
89 # autofill_shared target. crbug.com/247015
90 'target_name': 'autofill_browser',
91 'type': 'static_library',
101 '../base/base.gyp:base',
102 '../base/base.gyp:base_i18n',
103 '../base/base.gyp:base_prefs',
104 '../content/content.gyp:content_browser',
105 '../content/content.gyp:content_common',
106 '../google_apis/google_apis.gyp:google_apis',
107 '../ipc/ipc.gyp:ipc',
108 '../skia/skia.gyp:skia',
109 '../sql/sql.gyp:sql',
110 '../third_party/icu/icu.gyp:icui18n',
111 '../third_party/icu/icu.gyp:icuuc',
112 '../third_party/libjingle/libjingle.gyp:libjingle',
113 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
115 '../url/url.gyp:url_lib',
116 '../webkit/support/webkit_support.gyp:webkit_resources',
118 'component_resources.gyp:component_resources',
121 'autofill/browser/address.cc',
122 'autofill/browser/address.h',
123 'autofill/browser/address_field.cc',
124 'autofill/browser/address_field.h',
125 'autofill/browser/autocomplete_history_manager.cc',
126 'autofill/browser/autocomplete_history_manager.h',
127 'autofill/browser/autofill-inl.h',
128 'autofill/browser/autofill_country.cc',
129 'autofill/browser/autofill_country.h',
130 'autofill/browser/autofill_data_model.cc',
131 'autofill/browser/autofill_data_model.h',
132 'autofill/browser/autofill_download.cc',
133 'autofill/browser/autofill_download.h',
134 'autofill/browser/autofill_download_url.cc',
135 'autofill/browser/autofill_download_url.h',
136 'autofill/browser/autofill_driver.h',
137 'autofill/browser/autofill_external_delegate.cc',
138 'autofill/browser/autofill_external_delegate.h',
139 'autofill/browser/autofill_field.cc',
140 'autofill/browser/autofill_field.h',
141 'autofill/browser/autofill_ie_toolbar_import_win.cc',
142 'autofill/browser/autofill_ie_toolbar_import_win.h',
143 'autofill/browser/autofill_manager.cc',
144 'autofill/browser/autofill_manager.h',
145 'autofill/browser/autofill_manager_delegate.h',
146 'autofill/browser/autofill_manager_test_delegate.h',
147 'autofill/browser/autofill_metrics.cc',
148 'autofill/browser/autofill_metrics.h',
149 'autofill/browser/autofill_popup_delegate.h',
150 'autofill/browser/autofill_profile.cc',
151 'autofill/browser/autofill_profile.h',
152 'autofill/browser/autofill_regex_constants.cc.utf8',
153 'autofill/browser/autofill_regex_constants.h',
154 'autofill/browser/autofill_regexes.cc',
155 'autofill/browser/autofill_regexes.h',
156 'autofill/browser/autofill_scanner.cc',
157 'autofill/browser/autofill_scanner.h',
158 'autofill/browser/autofill_server_field_info.h',
159 'autofill/browser/autofill_type.cc',
160 'autofill/browser/autofill_type.h',
161 'autofill/browser/autofill_xml_parser.cc',
162 'autofill/browser/autofill_xml_parser.h',
163 'autofill/browser/contact_info.cc',
164 'autofill/browser/contact_info.h',
165 'autofill/browser/credit_card.cc',
166 'autofill/browser/credit_card.h',
167 'autofill/browser/credit_card_field.cc',
168 'autofill/browser/credit_card_field.h',
169 'autofill/browser/email_field.cc',
170 'autofill/browser/email_field.h',
171 'autofill/browser/field_types.h',
172 'autofill/browser/form_field.cc',
173 'autofill/browser/form_field.h',
174 'autofill/browser/form_group.cc',
175 'autofill/browser/form_group.h',
176 'autofill/browser/form_structure.cc',
177 'autofill/browser/form_structure.h',
178 'autofill/browser/name_field.cc',
179 'autofill/browser/name_field.h',
180 'autofill/browser/password_autofill_manager.cc',
181 'autofill/browser/password_autofill_manager.h',
182 'autofill/browser/password_generator.cc',
183 'autofill/browser/password_generator.h',
184 'autofill/browser/personal_data_manager.cc',
185 'autofill/browser/personal_data_manager.h',
186 'autofill/browser/personal_data_manager_mac.mm',
187 'autofill/browser/personal_data_manager_observer.h',
188 'autofill/browser/phone_field.cc',
189 'autofill/browser/phone_field.h',
190 'autofill/browser/phone_number.cc',
191 'autofill/browser/phone_number.h',
192 'autofill/browser/phone_number_i18n.cc',
193 'autofill/browser/phone_number_i18n.h',
194 'autofill/browser/state_names.cc',
195 'autofill/browser/state_names.h',
196 'autofill/browser/validation.cc',
197 'autofill/browser/validation.h',
198 'autofill/browser/webdata/autofill_change.cc',
199 'autofill/browser/webdata/autofill_change.h',
200 'autofill/browser/webdata/autofill_entry.cc',
201 'autofill/browser/webdata/autofill_entry.h',
202 'autofill/browser/webdata/autofill_table.cc',
203 'autofill/browser/webdata/autofill_table.h',
204 'autofill/browser/webdata/autofill_webdata.h',
205 'autofill/browser/webdata/autofill_webdata_backend.h',
206 'autofill/browser/webdata/autofill_webdata_backend_impl.cc',
207 'autofill/browser/webdata/autofill_webdata_backend_impl.h',
208 'autofill/browser/webdata/autofill_webdata_service.cc',
209 'autofill/browser/webdata/autofill_webdata_service.h',
210 'autofill/browser/webdata/autofill_webdata_service_observer.h',
212 # This file is generated by the autofill_regexes action.
213 '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc',
216 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
217 'msvs_disabled_warnings': [4267, ],
221 # Protobuf compiler / generate rule for Autofill's risk integration.
222 'target_name': 'autofill_content_risk_proto',
223 'type': 'static_library',
225 'autofill/content/browser/risk/proto/fingerprint.proto',
228 'proto_in_dir': 'autofill/content/browser/risk/proto',
229 'proto_out_dir': 'components/autofill/content/browser/risk/proto',
231 'includes': [ '../build/protoc.gypi' ]
234 'target_name': 'autofill_content_test_util',
235 'type': 'static_library',
237 'autofill/content/browser/wallet/wallet_test_util.cc',
238 'autofill/content/browser/wallet/wallet_test_util.h',
240 'include_dirs': [ '..' ],
243 'target_name': 'autofill_content_browser',
244 'type': 'static_library',
251 'autofill_content_risk_proto',
256 '../base/base.gyp:base',
257 '../base/base.gyp:base_i18n',
258 '../base/base.gyp:base_prefs',
259 '../content/content.gyp:content_browser',
260 '../content/content.gyp:content_common',
261 '../google_apis/google_apis.gyp:google_apis',
262 '../ipc/ipc.gyp:ipc',
263 '../skia/skia.gyp:skia',
264 '../sql/sql.gyp:sql',
265 '../third_party/icu/icu.gyp:icui18n',
266 '../third_party/icu/icu.gyp:icuuc',
267 '../third_party/libjingle/libjingle.gyp:libjingle',
268 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber',
270 '../url/url.gyp:url_lib',
271 '../webkit/support/webkit_support.gyp:webkit_resources',
273 'component_resources.gyp:component_resources',
276 'autofill/content/browser/autocheckout/whitelist_manager.cc',
277 'autofill/content/browser/autocheckout/whitelist_manager.h',
278 'autofill/content/browser/autocheckout_manager.cc',
279 'autofill/content/browser/autocheckout_manager.h',
280 'autofill/content/browser/autocheckout_page_meta_data.cc',
281 'autofill/content/browser/autocheckout_page_meta_data.h',
282 'autofill/content/browser/autocheckout_request_manager.cc',
283 'autofill/content/browser/autocheckout_request_manager.h',
284 'autofill/content/browser/autofill_driver_impl.cc',
285 'autofill/content/browser/autofill_driver_impl.h',
286 'autofill/content/browser/risk/fingerprint.cc',
287 'autofill/content/browser/risk/fingerprint.h',
288 'autofill/content/browser/wallet/encryption_escrow_client.cc',
289 'autofill/content/browser/wallet/encryption_escrow_client.h',
290 'autofill/content/browser/wallet/encryption_escrow_client_observer.h',
291 'autofill/content/browser/wallet/form_field_error.cc',
292 'autofill/content/browser/wallet/form_field_error.h',
293 'autofill/content/browser/wallet/full_wallet.cc',
294 'autofill/content/browser/wallet/full_wallet.h',
295 'autofill/content/browser/wallet/instrument.cc',
296 'autofill/content/browser/wallet/instrument.h',
297 'autofill/content/browser/wallet/required_action.cc',
298 'autofill/content/browser/wallet/required_action.h',
299 'autofill/content/browser/wallet/wallet_address.cc',
300 'autofill/content/browser/wallet/wallet_address.h',
301 'autofill/content/browser/wallet/wallet_client.cc',
302 'autofill/content/browser/wallet/wallet_client.h',
303 'autofill/content/browser/wallet/wallet_client_delegate.h',
304 'autofill/content/browser/wallet/wallet_items.cc',
305 'autofill/content/browser/wallet/wallet_items.h',
306 'autofill/content/browser/wallet/wallet_service_url.cc',
307 'autofill/content/browser/wallet/wallet_service_url.h',
308 'autofill/content/browser/wallet/wallet_signin_helper.cc',
309 'autofill/content/browser/wallet/wallet_signin_helper.h',
312 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
313 'msvs_disabled_warnings': [4267, ],
317 'target_name': 'autofill_content_renderer',
318 'type': 'static_library',
324 '../base/base.gyp:base',
325 '../content/content.gyp:content_renderer',
326 '../content/content.gyp:content_common',
327 '../ipc/ipc.gyp:ipc',
328 '../skia/skia.gyp:skia',
330 'component_resources.gyp:component_resources',
333 'autofill/content/renderer/autofill_agent.cc',
334 'autofill/content/renderer/autofill_agent.h',
335 'autofill/content/renderer/form_autofill_util.cc',
336 'autofill/content/renderer/form_autofill_util.h',
337 'autofill/content/renderer/form_cache.cc',
338 'autofill/content/renderer/form_cache.h',
339 'autofill/content/renderer/page_click_listener.h',
340 'autofill/content/renderer/page_click_tracker.cc',
341 'autofill/content/renderer/page_click_tracker.h',
342 'autofill/content/renderer/password_autofill_agent.cc',
343 'autofill/content/renderer/password_autofill_agent.h',
344 'autofill/content/renderer/password_generation_manager.cc',
345 'autofill/content/renderer/password_generation_manager.h',
347 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
348 'msvs_disabled_warnings': [4267, ],
352 ['OS == "android"', {
355 'target_name': 'autofill_java',
358 '../base/base.gyp:base',
359 '../content/content.gyp:content_java',
362 'java_in_dir': 'autofill/browser/android/java',
364 'includes': [ '../build/java.gypi' ],
367 'target_name': 'autofill_jni_headers',
370 'autofill/browser/android/java/src/org/chromium/components/browser/autofill/PersonalAutofillPopulator.java',
373 'jni_gen_package': 'autofill',
375 'includes': [ '../build/jni_generator.gypi' ],