OLD | NEW |
| (Empty) |
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. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 # GN version: //components/autofill/core/common | |
9 'target_name': 'autofill_core_common', | |
10 'type': 'static_library', | |
11 'dependencies': [ | |
12 '../base/base.gyp:base', | |
13 '../base/base.gyp:base_i18n', | |
14 '../url/url.gyp:url_lib', | |
15 ], | |
16 'include_dirs': [ | |
17 '..', | |
18 ], | |
19 'sources': [ | |
20 'autofill/core/common/autofill_constants.cc', | |
21 'autofill/core/common/autofill_constants.h', | |
22 'autofill/core/common/autofill_data_validation.cc', | |
23 'autofill/core/common/autofill_data_validation.h', | |
24 'autofill/core/common/autofill_l10n_util.cc', | |
25 'autofill/core/common/autofill_l10n_util.h', | |
26 'autofill/core/common/autofill_pref_names.cc', | |
27 'autofill/core/common/autofill_pref_names.h', | |
28 'autofill/core/common/autofill_regexes.cc', | |
29 'autofill/core/common/autofill_regexes.h', | |
30 'autofill/core/common/autofill_switches.cc', | |
31 'autofill/core/common/autofill_switches.h', | |
32 'autofill/core/common/autofill_util.cc', | |
33 'autofill/core/common/autofill_util.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_field_prediction_map.h', | |
45 'autofill/core/common/password_form_fill_data.cc', | |
46 'autofill/core/common/password_form_fill_data.h', | |
47 'autofill/core/common/password_form_generation_data.h', | |
48 'autofill/core/common/password_generation_util.cc', | |
49 'autofill/core/common/password_generation_util.h', | |
50 'autofill/core/common/save_password_progress_logger.cc', | |
51 'autofill/core/common/save_password_progress_logger.h', | |
52 ], | |
53 | |
54 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
55 'msvs_disabled_warnings': [4267, ], | |
56 }, | |
57 | |
58 { | |
59 # GN version: //components/autofill/core/browser | |
60 'target_name': 'autofill_core_browser', | |
61 'type': 'static_library', | |
62 'include_dirs': [ | |
63 '..', | |
64 ], | |
65 'dependencies': [ | |
66 '../base/base.gyp:base', | |
67 '../base/base.gyp:base_i18n', | |
68 '../google_apis/google_apis.gyp:google_apis', | |
69 '../net/net.gyp:net', | |
70 '../skia/skia.gyp:skia', | |
71 '../sql/sql.gyp:sql', | |
72 '../components/sync.gyp:sync', | |
73 '../third_party/fips181/fips181.gyp:fips181', | |
74 '../third_party/icu/icu.gyp:icui18n', | |
75 '../third_party/icu/icu.gyp:icuuc', | |
76 '../third_party/libaddressinput/libaddressinput.gyp:libaddressinput_util
', | |
77 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', | |
78 '../third_party/re2/re2.gyp:re2', | |
79 '../ui/base/ui_base.gyp:ui_base', | |
80 '../ui/gfx/gfx.gyp:gfx', | |
81 '../ui/gfx/gfx.gyp:gfx_geometry', | |
82 '../ui/gfx/gfx.gyp:gfx_range', | |
83 '../ui/gfx/gfx.gyp:gfx_vector_icons', | |
84 '../url/url.gyp:url_lib', | |
85 'autofill_core_common', | |
86 'autofill_server_proto', | |
87 'components_resources.gyp:components_resources', | |
88 'components_strings.gyp:components_strings', | |
89 'data_use_measurement_core', | |
90 'infobars_core', | |
91 'keyed_service_core', | |
92 'os_crypt', | |
93 'pref_registry', | |
94 'prefs/prefs.gyp:prefs', | |
95 'rappor', | |
96 'signin_core_browser', | |
97 'signin_core_common', | |
98 'variations_net', | |
99 'webdata_common', | |
100 ], | |
101 'sources': [ | |
102 'autofill/core/browser/address.cc', | |
103 'autofill/core/browser/address.h', | |
104 'autofill/core/browser/address_field.cc', | |
105 'autofill/core/browser/address_field.h', | |
106 'autofill/core/browser/address_i18n.cc', | |
107 'autofill/core/browser/address_i18n.h', | |
108 'autofill/core/browser/address_rewriter.cc', | |
109 'autofill/core/browser/address_rewriter.h', | |
110 'autofill/core/browser/address_rewriter_rules.cc', | |
111 'autofill/core/browser/autocomplete_history_manager.cc', | |
112 'autofill/core/browser/autocomplete_history_manager.h', | |
113 'autofill/core/browser/autofill-inl.h', | |
114 'autofill/core/browser/autofill_client.h', | |
115 'autofill/core/browser/autofill_country.cc', | |
116 'autofill/core/browser/autofill_country.h', | |
117 'autofill/core/browser/autofill_data_model.cc', | |
118 'autofill/core/browser/autofill_data_model.h', | |
119 'autofill/core/browser/autofill_data_util.cc', | |
120 'autofill/core/browser/autofill_data_util.h', | |
121 'autofill/core/browser/autofill_download_manager.cc', | |
122 'autofill/core/browser/autofill_download_manager.h', | |
123 'autofill/core/browser/autofill_driver.h', | |
124 'autofill/core/browser/autofill_experiments.cc', | |
125 'autofill/core/browser/autofill_experiments.h', | |
126 'autofill/core/browser/autofill_external_delegate.cc', | |
127 'autofill/core/browser/autofill_external_delegate.h', | |
128 'autofill/core/browser/autofill_field.cc', | |
129 'autofill/core/browser/autofill_field.h', | |
130 'autofill/core/browser/autofill_ie_toolbar_import_win.cc', | |
131 'autofill/core/browser/autofill_ie_toolbar_import_win.h', | |
132 'autofill/core/browser/autofill_manager.cc', | |
133 'autofill/core/browser/autofill_manager.h', | |
134 'autofill/core/browser/autofill_manager_test_delegate.h', | |
135 'autofill/core/browser/autofill_metrics.cc', | |
136 'autofill/core/browser/autofill_metrics.h', | |
137 'autofill/core/browser/autofill_popup_delegate.h', | |
138 'autofill/core/browser/autofill_profile.cc', | |
139 'autofill/core/browser/autofill_profile.h', | |
140 'autofill/core/browser/autofill_profile_comparator.cc', | |
141 'autofill/core/browser/autofill_profile_comparator.h', | |
142 'autofill/core/browser/autofill_regex_constants.cc', | |
143 'autofill/core/browser/autofill_regex_constants.h', | |
144 'autofill/core/browser/autofill_scanner.cc', | |
145 'autofill/core/browser/autofill_scanner.h', | |
146 'autofill/core/browser/autofill_sync_constants.cc', | |
147 'autofill/core/browser/autofill_sync_constants.h', | |
148 'autofill/core/browser/autofill_type.cc', | |
149 'autofill/core/browser/autofill_type.h', | |
150 'autofill/core/browser/autofill_wallet_data_type_controller.cc', | |
151 'autofill/core/browser/autofill_wallet_data_type_controller.h', | |
152 'autofill/core/browser/card_unmask_delegate.cc', | |
153 'autofill/core/browser/card_unmask_delegate.h', | |
154 'autofill/core/browser/contact_info.cc', | |
155 'autofill/core/browser/contact_info.h', | |
156 'autofill/core/browser/country_data.cc', | |
157 'autofill/core/browser/country_data.h', | |
158 'autofill/core/browser/country_names.cc', | |
159 'autofill/core/browser/country_names.h', | |
160 'autofill/core/browser/credit_card.cc', | |
161 'autofill/core/browser/credit_card.h', | |
162 'autofill/core/browser/credit_card_field.cc', | |
163 'autofill/core/browser/credit_card_field.h', | |
164 'autofill/core/browser/detail_input.cc', | |
165 'autofill/core/browser/detail_input.h', | |
166 'autofill/core/browser/dialog_section.h', | |
167 'autofill/core/browser/email_field.cc', | |
168 'autofill/core/browser/email_field.h', | |
169 'autofill/core/browser/field_candidates.h', | |
170 'autofill/core/browser/field_candidates.cc', | |
171 'autofill/core/browser/field_types.h', | |
172 'autofill/core/browser/form_field.cc', | |
173 'autofill/core/browser/form_field.h', | |
174 'autofill/core/browser/form_group.cc', | |
175 'autofill/core/browser/form_group.h', | |
176 'autofill/core/browser/form_structure.cc', | |
177 'autofill/core/browser/form_structure.h', | |
178 'autofill/core/browser/legal_message_line.cc', | |
179 'autofill/core/browser/legal_message_line.h', | |
180 'autofill/core/browser/name_field.cc', | |
181 'autofill/core/browser/name_field.h', | |
182 'autofill/core/browser/password_generator.cc', | |
183 'autofill/core/browser/password_generator.h', | |
184 'autofill/core/browser/payments/full_card_request.cc', | |
185 'autofill/core/browser/payments/full_card_request.h', | |
186 'autofill/core/browser/payments/payments_client.cc', | |
187 'autofill/core/browser/payments/payments_client.h', | |
188 'autofill/core/browser/payments/payments_request.h', | |
189 'autofill/core/browser/payments/payments_service_url.cc', | |
190 'autofill/core/browser/payments/payments_service_url.h', | |
191 'autofill/core/browser/personal_data_manager.cc', | |
192 'autofill/core/browser/personal_data_manager.h', | |
193 'autofill/core/browser/personal_data_manager_observer.h', | |
194 'autofill/core/browser/phone_field.cc', | |
195 'autofill/core/browser/phone_field.h', | |
196 'autofill/core/browser/phone_number.cc', | |
197 'autofill/core/browser/phone_number.h', | |
198 'autofill/core/browser/phone_number_i18n.cc', | |
199 'autofill/core/browser/phone_number_i18n.h', | |
200 'autofill/core/browser/popup_item_ids.h', | |
201 'autofill/core/browser/server_field_types_util.cc', | |
202 'autofill/core/browser/server_field_types_util.h', | |
203 'autofill/core/browser/state_names.cc', | |
204 'autofill/core/browser/state_names.h', | |
205 'autofill/core/browser/suggestion.cc', | |
206 'autofill/core/browser/suggestion.h', | |
207 'autofill/core/browser/ui/card_unmask_prompt_controller.h', | |
208 'autofill/core/browser/ui/card_unmask_prompt_controller_impl.cc', | |
209 'autofill/core/browser/ui/card_unmask_prompt_controller_impl.h', | |
210 'autofill/core/browser/ui/card_unmask_prompt_view.h', | |
211 'autofill/core/browser/validation.cc', | |
212 'autofill/core/browser/validation.h', | |
213 'autofill/core/browser/webdata/autocomplete_syncable_service.cc', | |
214 'autofill/core/browser/webdata/autocomplete_syncable_service.h', | |
215 'autofill/core/browser/webdata/autofill_change.cc', | |
216 'autofill/core/browser/webdata/autofill_change.h', | |
217 'autofill/core/browser/webdata/autofill_data_type_controller.cc', | |
218 'autofill/core/browser/webdata/autofill_data_type_controller.h', | |
219 'autofill/core/browser/webdata/autofill_entry.cc', | |
220 'autofill/core/browser/webdata/autofill_entry.h', | |
221 'autofill/core/browser/webdata/autofill_profile_data_type_controller.cc'
, | |
222 'autofill/core/browser/webdata/autofill_profile_data_type_controller.h', | |
223 'autofill/core/browser/webdata/autofill_profile_syncable_service.cc', | |
224 'autofill/core/browser/webdata/autofill_profile_syncable_service.h', | |
225 'autofill/core/browser/webdata/autofill_table.cc', | |
226 'autofill/core/browser/webdata/autofill_table.h', | |
227 'autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service
.cc', | |
228 'autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service
.h', | |
229 'autofill/core/browser/webdata/autofill_wallet_syncable_service.cc', | |
230 'autofill/core/browser/webdata/autofill_wallet_syncable_service.h', | |
231 'autofill/core/browser/webdata/autofill_webdata.h', | |
232 'autofill/core/browser/webdata/autofill_webdata_backend.h', | |
233 'autofill/core/browser/webdata/autofill_webdata_backend_impl.cc', | |
234 'autofill/core/browser/webdata/autofill_webdata_backend_impl.h', | |
235 'autofill/core/browser/webdata/autofill_webdata_service.cc', | |
236 'autofill/core/browser/webdata/autofill_webdata_service.h', | |
237 'autofill/core/browser/webdata/autofill_webdata_service_observer.h', | |
238 ], | |
239 | |
240 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
241 'msvs_disabled_warnings': [4267, ], | |
242 | |
243 # This is needed because GYP's handling of transitive dependencies is | |
244 # not great. See https://goo.gl/QGtlae for details. | |
245 'export_dependent_settings': [ | |
246 'autofill_server_proto', | |
247 ], | |
248 | |
249 'conditions': [ | |
250 ['OS=="ios"', { | |
251 'sources': [ | |
252 'autofill/core/browser/keyboard_accessory_metrics_logger.h', | |
253 'autofill/core/browser/keyboard_accessory_metrics_logger.mm', | |
254 ], | |
255 }], | |
256 ['OS=="android"', { | |
257 'sources': [ | |
258 'autofill/core/browser/autofill_assistant.cc', | |
259 'autofill/core/browser/autofill_assistant.h', | |
260 'autofill/core/browser/autofill_credit_card_filling_infobar_delegate
_mobile.cc', | |
261 'autofill/core/browser/autofill_credit_card_filling_infobar_delegate
_mobile.h', | |
262 ], | |
263 }], | |
264 ['OS=="ios" or OS=="android"', { | |
265 'sources': [ | |
266 'autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc
', | |
267 'autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h'
, | |
268 'autofill/core/browser/autofill_save_card_infobar_mobile.h', | |
269 ], | |
270 }], | |
271 ['OS!="ios"', { | |
272 'dependencies': [ | |
273 '../device/geolocation/geolocation.gyp:device_geolocation', | |
274 ] | |
275 }], | |
276 ], | |
277 | |
278 }, | |
279 | |
280 { | |
281 # Protobuf compiler / generate rule for Autofill's server proto. | |
282 # GN version: //components/autofill/core/browser/proto | |
283 'target_name': 'autofill_server_proto', | |
284 'type': 'static_library', | |
285 'sources': [ | |
286 'autofill/core/browser/proto/server.proto', | |
287 ], | |
288 'variables': { | |
289 'proto_in_dir': 'autofill/core/browser/proto', | |
290 'proto_out_dir': 'components/autofill/core/browser/proto', | |
291 }, | |
292 'includes': [ '../build/protoc.gypi' ] | |
293 }, | |
294 | |
295 { | |
296 # GN version: //components/autofill/core/browser:test_support | |
297 'target_name': 'autofill_core_test_support', | |
298 'type': 'static_library', | |
299 'dependencies': [ | |
300 '../base/base.gyp:base', | |
301 '../base/base.gyp:test_support_base', | |
302 '../skia/skia.gyp:skia', | |
303 '../testing/gtest.gyp:gtest', | |
304 'autofill_core_common', | |
305 'autofill_core_browser', | |
306 'infobars', | |
307 'os_crypt', | |
308 'pref_registry', | |
309 'prefs/prefs.gyp:prefs', | |
310 'rappor', | |
311 'signin_core_browser_test_support', | |
312 ], | |
313 'sources': [ | |
314 'autofill/core/browser/autofill_test_utils.cc', | |
315 'autofill/core/browser/autofill_test_utils.h', | |
316 'autofill/core/browser/data_driven_test.cc', | |
317 'autofill/core/browser/data_driven_test.h', | |
318 'autofill/core/browser/suggestion_test_helpers.h', | |
319 'autofill/core/browser/test_autofill_client.cc', | |
320 'autofill/core/browser/test_autofill_client.h', | |
321 'autofill/core/browser/test_autofill_driver.cc', | |
322 'autofill/core/browser/test_autofill_driver.h', | |
323 'autofill/core/browser/test_autofill_external_delegate.cc', | |
324 'autofill/core/browser/test_autofill_external_delegate.h', | |
325 'autofill/core/browser/test_personal_data_manager.cc', | |
326 'autofill/core/browser/test_personal_data_manager.h', | |
327 ], | |
328 }, | |
329 ], | |
330 'conditions': [ | |
331 ['OS != "ios"', { | |
332 'targets': [ | |
333 { | |
334 # GN version: //components/autofill/content/public/interfaces:types | |
335 'target_name': 'autofill_content_types_mojo_bindings_mojom', | |
336 'type': 'none', | |
337 'variables': { | |
338 'mojom_files': [ | |
339 'autofill/content/public/interfaces/autofill_types.mojom', | |
340 ], | |
341 'mojom_typemaps': [ | |
342 'autofill/content/public/cpp/autofill_types.typemap', | |
343 '<(DEPTH)/mojo/common/common_custom_types.typemap', | |
344 '<(DEPTH)/url/mojo/gurl.typemap', | |
345 '<(DEPTH)/url/mojo/origin.typemap', | |
346 ], | |
347 }, | |
348 'includes': [ '../mojo/mojom_bindings_generator_explicit.gypi' ], | |
349 'dependencies': [ | |
350 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
351 ], | |
352 }, | |
353 { | |
354 # GN version: //components/autofill/content/public/interfaces:types | |
355 'target_name': 'autofill_content_types_mojo_bindings', | |
356 'type': 'static_library', | |
357 'sources': [ | |
358 'autofill/content/public/cpp/autofill_types_struct_traits.cc' | |
359 ], | |
360 'export_dependent_settings': [ | |
361 '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom', | |
362 '../url/url.gyp:url_mojom', | |
363 ], | |
364 'dependencies': [ | |
365 '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom', | |
366 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
367 '../url/url.gyp:url_mojom', | |
368 'autofill_content_types_mojo_bindings_mojom', | |
369 ], | |
370 }, | |
371 { | |
372 # GN version: //components/autofill/content/public/interfaces:test_typ
es | |
373 'target_name': 'autofill_content_test_types_mojo_bindings', | |
374 'type': 'static_library', | |
375 'variables': { | |
376 'mojom_typemaps': [ | |
377 'autofill/content/public/cpp/autofill_types.typemap', | |
378 '<(DEPTH)/mojo/common/common_custom_types.typemap', | |
379 '<(DEPTH)/url/mojo/gurl.typemap', | |
380 '<(DEPTH)/url/mojo/origin.typemap', | |
381 ], | |
382 }, | |
383 'sources': [ | |
384 'autofill/content/public/interfaces/test_autofill_types.mojom', | |
385 ], | |
386 'export_dependent_settings': [ | |
387 '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom', | |
388 '../url/url.gyp:url_mojom', | |
389 'autofill_content_types_mojo_bindings', | |
390 ], | |
391 'dependencies': [ | |
392 '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom', | |
393 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
394 '../url/url.gyp:url_mojom', | |
395 'autofill_content_types_mojo_bindings', | |
396 ], | |
397 'includes': [ '../mojo/mojom_bindings_generator.gypi' ], | |
398 }, | |
399 { | |
400 # GN version: //components/autofill/content/public/interfaces | |
401 'target_name': 'autofill_content_mojo_bindings_mojom', | |
402 'type': 'none', | |
403 'variables': { | |
404 'mojom_files': [ | |
405 'autofill/content/public/interfaces/autofill_agent.mojom', | |
406 'autofill/content/public/interfaces/autofill_driver.mojom', | |
407 ], | |
408 'mojom_typemaps': [ | |
409 'autofill/content/public/cpp/autofill_types.typemap', | |
410 '<(DEPTH)/mojo/common/common_custom_types.typemap', | |
411 '<(DEPTH)/ui/gfx/geometry/mojo/geometry.typemap', | |
412 '<(DEPTH)/url/mojo/gurl.typemap', | |
413 ], | |
414 }, | |
415 'include_dirs': [ | |
416 '..', | |
417 ], | |
418 'includes': [ | |
419 '../mojo/mojom_bindings_generator_explicit.gypi', | |
420 ], | |
421 }, | |
422 { | |
423 # GN version: //components/autofill/content/public/interfaces | |
424 'target_name': 'autofill_content_mojo_bindings', | |
425 'type': 'static_library', | |
426 'export_dependent_settings': [ | |
427 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
428 '../ui/gfx/gfx.gyp:mojo_geometry_bindings', | |
429 '../url/url.gyp:url_mojom', | |
430 'autofill_content_types_mojo_bindings', | |
431 ], | |
432 'dependencies': [ | |
433 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
434 '../ui/gfx/gfx.gyp:mojo_geometry_bindings', | |
435 '../url/url.gyp:url_mojom', | |
436 'autofill_content_mojo_bindings_mojom', | |
437 'autofill_content_types_mojo_bindings', | |
438 ], | |
439 }, | |
440 { | |
441 # GN version: //content/autofill/content/common | |
442 'target_name': 'autofill_content_common', | |
443 'type': 'static_library', | |
444 'dependencies': [ | |
445 'autofill_core_common', | |
446 '../base/base.gyp:base', | |
447 '../content/content.gyp:content_common', | |
448 '../ipc/ipc.gyp:ipc', | |
449 '../third_party/WebKit/public/blink.gyp:blink_minimal', | |
450 '../ui/gfx/gfx.gyp:gfx', | |
451 '../ui/gfx/ipc/geometry/gfx_ipc_geometry.gyp:gfx_ipc_geometry', | |
452 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', | |
453 '../ui/gfx/ipc/skia/gfx_ipc_skia.gyp:gfx_ipc_skia', | |
454 '../url/url.gyp:url_lib', | |
455 '../url/ipc/url_ipc.gyp:url_ipc', | |
456 ], | |
457 'include_dirs': [ | |
458 '..', | |
459 ], | |
460 'sources': [ | |
461 'autofill/content/common/autofill_message_generator.cc', | |
462 'autofill/content/common/autofill_message_generator.h', | |
463 'autofill/content/common/autofill_messages.h', | |
464 'autofill/content/common/autofill_param_traits_macros.h', | |
465 ], | |
466 }, | |
467 | |
468 { | |
469 # Protobuf compiler / generate rule for Autofill's risk integration. | |
470 # GN version: //components/autofill/content/browser:risk_proto | |
471 'target_name': 'autofill_content_risk_proto', | |
472 'type': 'static_library', | |
473 'sources': [ | |
474 'autofill/content/browser/risk/proto/fingerprint.proto', | |
475 ], | |
476 'variables': { | |
477 'proto_in_dir': 'autofill/content/browser/risk/proto', | |
478 'proto_out_dir': 'components/autofill/content/browser/risk/proto', | |
479 }, | |
480 'includes': [ '../build/protoc.gypi' ] | |
481 }, | |
482 { | |
483 # GN version: //components/autofill/content/renderer:test_support | |
484 'target_name': 'autofill_content_test_support', | |
485 'type': 'static_library', | |
486 'dependencies': [ | |
487 'autofill_content_browser', | |
488 'autofill_content_renderer', | |
489 '../base/base.gyp:base', | |
490 '../ipc/ipc.gyp:ipc', | |
491 '../skia/skia.gyp:skia', | |
492 '../testing/gmock.gyp:gmock', | |
493 ], | |
494 'sources': [ | |
495 'autofill/content/renderer/test_password_autofill_agent.cc', | |
496 'autofill/content/renderer/test_password_autofill_agent.h', | |
497 'autofill/content/renderer/test_password_generation_agent.cc', | |
498 'autofill/content/renderer/test_password_generation_agent.h', | |
499 ], | |
500 'include_dirs': [ '..' ], | |
501 }, | |
502 { | |
503 # GN version: //components/autofill/content/browser | |
504 'target_name': 'autofill_content_browser', | |
505 'type': 'static_library', | |
506 'include_dirs': [ | |
507 '..', | |
508 ], | |
509 'dependencies': [ | |
510 '../base/base.gyp:base', | |
511 '../base/base.gyp:base_i18n', | |
512 '../content/content.gyp:content_browser', | |
513 '../content/content.gyp:content_common', | |
514 '../google_apis/google_apis.gyp:google_apis', | |
515 '../ipc/ipc.gyp:ipc', | |
516 '../mojo/mojo_base.gyp:mojo_common_lib', | |
517 '../net/net.gyp:net', | |
518 '../skia/skia.gyp:skia', | |
519 '../sql/sql.gyp:sql', | |
520 '../third_party/icu/icu.gyp:icui18n', | |
521 '../third_party/icu/icu.gyp:icuuc', | |
522 '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', | |
523 '../ui/base/ui_base.gyp:ui_base', | |
524 '../ui/display/display.gyp:display', | |
525 '../ui/gfx/gfx.gyp:gfx', | |
526 '../ui/gfx/gfx.gyp:gfx_geometry', | |
527 '../url/url.gyp:url_lib', | |
528 'autofill_content_common', | |
529 'autofill_content_mojo_bindings', | |
530 'autofill_content_risk_proto', | |
531 'autofill_core_browser', | |
532 'autofill_core_common', | |
533 'autofill_server_proto', | |
534 'components_resources.gyp:components_resources', | |
535 'components_strings.gyp:components_strings', | |
536 'os_crypt', | |
537 'prefs/prefs.gyp:prefs', | |
538 'user_prefs', | |
539 'webdata_common', | |
540 ], | |
541 'sources': [ | |
542 'autofill/content/browser/content_autofill_driver.cc', | |
543 'autofill/content/browser/content_autofill_driver.h', | |
544 'autofill/content/browser/content_autofill_driver_factory.cc', | |
545 'autofill/content/browser/content_autofill_driver_factory.h', | |
546 'autofill/content/browser/risk/fingerprint.cc', | |
547 'autofill/content/browser/risk/fingerprint.h', | |
548 ], | |
549 | |
550 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
551 'msvs_disabled_warnings': [4267, ], | |
552 # This is needed because GYP's handling of transitive dependencies is | |
553 # not great. See https://goo.gl/QGtlae for details. | |
554 'export_dependent_settings': [ | |
555 'autofill_server_proto', | |
556 ], | |
557 }, | |
558 | |
559 { | |
560 # GN version: //components/autofill/content/renderer | |
561 'target_name': 'autofill_content_renderer', | |
562 'type': 'static_library', | |
563 'include_dirs': [ | |
564 '..', | |
565 ], | |
566 'dependencies': [ | |
567 '../base/base.gyp:base', | |
568 '../content/content.gyp:content_common', | |
569 '../content/content.gyp:content_renderer', | |
570 '../google_apis/google_apis.gyp:google_apis', | |
571 '../ipc/ipc.gyp:ipc', | |
572 '../mojo/mojo_base.gyp:mojo_common_lib', | |
573 '../net/net.gyp:net', | |
574 '../skia/skia.gyp:skia', | |
575 '../third_party/re2/re2.gyp:re2', | |
576 '../third_party/WebKit/public/blink.gyp:blink', | |
577 '../ui/base/ui_base.gyp:ui_base', | |
578 'autofill_content_common', | |
579 'autofill_content_mojo_bindings', | |
580 'autofill_core_common', | |
581 'components_strings.gyp:components_strings', | |
582 ], | |
583 'sources': [ | |
584 'autofill/content/renderer/autofill_agent.cc', | |
585 'autofill/content/renderer/autofill_agent.h', | |
586 'autofill/content/renderer/form_autofill_util.cc', | |
587 'autofill/content/renderer/form_autofill_util.h', | |
588 'autofill/content/renderer/form_cache.cc', | |
589 'autofill/content/renderer/form_cache.h', | |
590 'autofill/content/renderer/form_classifier.cc', | |
591 'autofill/content/renderer/form_classifier.h', | |
592 'autofill/content/renderer/page_click_listener.h', | |
593 'autofill/content/renderer/page_click_tracker.cc', | |
594 'autofill/content/renderer/page_click_tracker.h', | |
595 'autofill/content/renderer/password_autofill_agent.cc', | |
596 'autofill/content/renderer/password_autofill_agent.h', | |
597 'autofill/content/renderer/password_form_conversion_utils.cc', | |
598 'autofill/content/renderer/password_form_conversion_utils.h', | |
599 'autofill/content/renderer/password_generation_agent.cc', | |
600 'autofill/content/renderer/password_generation_agent.h', | |
601 'autofill/content/renderer/renderer_save_password_progress_logger.cc
', | |
602 'autofill/content/renderer/renderer_save_password_progress_logger.h'
, | |
603 ], | |
604 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
605 'msvs_disabled_warnings': [4267, ], | |
606 }, | |
607 ], | |
608 }], | |
609 ['OS == "ios"', { | |
610 'targets': [ | |
611 { | |
612 # GN version: //components/autofill/ios/browser | |
613 'target_name': 'autofill_ios_browser', | |
614 'type': 'static_library', | |
615 'include_dirs': [ | |
616 '..', | |
617 ], | |
618 'dependencies': [ | |
619 'autofill_core_browser', | |
620 'autofill_core_common', | |
621 'autofill_ios_injected_js', | |
622 'autofill_server_proto', | |
623 '../ios/provider/ios_provider_web.gyp:ios_provider_web', | |
624 '../ios/web/ios_web.gyp:ios_web', | |
625 ], | |
626 'sources': [ | |
627 'autofill/ios/browser/autofill_client_ios_bridge.h', | |
628 'autofill/ios/browser/autofill_driver_ios.h', | |
629 'autofill/ios/browser/autofill_driver_ios.mm', | |
630 'autofill/ios/browser/autofill_driver_ios_bridge.h', | |
631 'autofill/ios/browser/credit_card_util.h', | |
632 'autofill/ios/browser/credit_card_util.mm', | |
633 'autofill/ios/browser/form_suggestion.h', | |
634 'autofill/ios/browser/form_suggestion.mm', | |
635 'autofill/ios/browser/js_autofill_manager.h', | |
636 'autofill/ios/browser/js_autofill_manager.mm', | |
637 'autofill/ios/browser/js_suggestion_manager.h', | |
638 'autofill/ios/browser/js_suggestion_manager.mm', | |
639 'autofill/ios/browser/personal_data_manager_observer_bridge.h', | |
640 'autofill/ios/browser/personal_data_manager_observer_bridge.mm', | |
641 ], | |
642 # This is needed because GYP's handling of transitive dependencies is | |
643 # not great. See https://goo.gl/QGtlae for details. | |
644 'export_dependent_settings': [ | |
645 'autofill_server_proto', | |
646 ], | |
647 }, | |
648 { | |
649 # GN version: //components/autofill/ios/browser:injected_js | |
650 'target_name': 'autofill_ios_injected_js', | |
651 'type': 'none', | |
652 'sources': [ | |
653 'autofill/ios/browser/resources/autofill_controller.js', | |
654 'autofill/ios/browser/resources/suggestion_controller.js', | |
655 ], | |
656 'link_settings': { | |
657 'mac_bundle_resources': [ | |
658 '<(SHARED_INTERMEDIATE_DIR)/autofill_controller.js', | |
659 '<(SHARED_INTERMEDIATE_DIR)/suggestion_controller.js', | |
660 ], | |
661 }, | |
662 'includes': [ | |
663 '../ios/web/js_compile_checked.gypi', | |
664 ], | |
665 }, | |
666 ], | |
667 }], | |
668 ], | |
669 } | |
OLD | NEW |