diff options
Diffstat (limited to 'components/autofill.gypi')
-rw-r--r-- | components/autofill.gypi | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/components/autofill.gypi b/components/autofill.gypi index 7c7be31..bbb1147 100644 --- a/components/autofill.gypi +++ b/components/autofill.gypi @@ -92,6 +92,183 @@ 'autofill/common/web_element_descriptor.h', ], }, + + { + 'target_name': 'autofill_browser', + 'type': 'static_library', + 'include_dirs': [ + '..', + ], + 'dependencies': [ + 'autofill_common', + 'autofill_regexes', + 'autofill_risk_proto', + '../base/base.gyp:base', + '../build/temp_gyp/googleurl.gyp:googleurl', + '../content/content.gyp:content_browser', + '../content/content.gyp:content_common', + '../ipc/ipc.gyp:ipc', + '../skia/skia.gyp:skia', + '../third_party/icu/icu.gyp:icui18n', + '../third_party/icu/icu.gyp:icuuc', + '../third_party/libjingle/libjingle.gyp:libjingle', + '../third_party/libphonenumber/libphonenumber.gyp:libphonenumber', + '../webkit/support/webkit_support.gyp:webkit_resources', + + # TODO(kaiwang): Remove this dependency on chrome. + '../chrome/chrome_resources.gyp:chrome_strings', + + # TODO(kaiwang): Add webdata after it's fully componentized. + ], + 'sources': [ + 'autofill/browser/address.cc', + 'autofill/browser/address.h', + 'autofill/browser/address_field.cc', + 'autofill/browser/address_field.h', + 'autofill/browser/autocheckout/whitelist_manager.cc', + 'autofill/browser/autocheckout/whitelist_manager.h', + 'autofill/browser/autocheckout_manager.cc', + 'autofill/browser/autocheckout_manager.h', + 'autofill/browser/autocheckout_page_meta_data.cc', + 'autofill/browser/autocheckout_page_meta_data.h', + 'autofill/browser/autocheckout_request_manager.cc', + 'autofill/browser/autocheckout_request_manager.h', + 'autofill/browser/autocomplete_history_manager.cc', + 'autofill/browser/autocomplete_history_manager.h', + 'autofill/browser/autofill-inl.h', + 'autofill/browser/autofill_country.cc', + 'autofill/browser/autofill_country.h', + 'autofill/browser/autofill_download.cc', + 'autofill/browser/autofill_download.h', + 'autofill/browser/autofill_download_url.cc', + 'autofill/browser/autofill_download_url.h', + 'autofill/browser/autofill_external_delegate.cc', + 'autofill/browser/autofill_external_delegate.h', + 'autofill/browser/autofill_field.cc', + 'autofill/browser/autofill_field.h', + 'autofill/browser/autofill_ie_toolbar_import_win.cc', + 'autofill/browser/autofill_ie_toolbar_import_win.h', + 'autofill/browser/autofill_manager.cc', + 'autofill/browser/autofill_manager.h', + 'autofill/browser/autofill_manager_delegate.h', + 'autofill/browser/autofill_manager_test_delegate.h', + 'autofill/browser/autofill_metrics.cc', + 'autofill/browser/autofill_metrics.h', + 'autofill/browser/autofill_popup_delegate.h', + 'autofill/browser/autofill_profile.cc', + 'autofill/browser/autofill_profile.h', + 'autofill/browser/autofill_regex_constants.cc.utf8', + 'autofill/browser/autofill_regex_constants.h', + 'autofill/browser/autofill_regexes.cc', + 'autofill/browser/autofill_regexes.h', + 'autofill/browser/autofill_scanner.cc', + 'autofill/browser/autofill_scanner.h', + 'autofill/browser/autofill_server_field_info.h', + 'autofill/browser/autofill_type.cc', + 'autofill/browser/autofill_type.h', + 'autofill/browser/autofill_xml_parser.cc', + 'autofill/browser/autofill_xml_parser.h', + 'autofill/browser/contact_info.cc', + 'autofill/browser/contact_info.h', + 'autofill/browser/credit_card.cc', + 'autofill/browser/credit_card.h', + 'autofill/browser/credit_card_field.cc', + 'autofill/browser/credit_card_field.h', + 'autofill/browser/email_field.cc', + 'autofill/browser/email_field.h', + 'autofill/browser/field_types.h', + 'autofill/browser/form_field.cc', + 'autofill/browser/form_field.h', + 'autofill/browser/form_group.cc', + 'autofill/browser/form_group.h', + 'autofill/browser/form_structure.cc', + 'autofill/browser/form_structure.h', + 'autofill/browser/name_field.cc', + 'autofill/browser/name_field.h', + 'autofill/browser/password_autofill_manager.cc', + 'autofill/browser/password_autofill_manager.h', + 'autofill/browser/password_generator.cc', + 'autofill/browser/password_generator.h', + 'autofill/browser/personal_data_manager.cc', + 'autofill/browser/personal_data_manager.h', + 'autofill/browser/personal_data_manager_mac.mm', + 'autofill/browser/personal_data_manager_observer.h', + 'autofill/browser/phone_field.cc', + 'autofill/browser/phone_field.h', + 'autofill/browser/phone_number.cc', + 'autofill/browser/phone_number.h', + 'autofill/browser/phone_number_i18n.cc', + 'autofill/browser/phone_number_i18n.h', + 'autofill/browser/risk/fingerprint.cc', + 'autofill/browser/risk/fingerprint.h', + 'autofill/browser/validation.cc', + 'autofill/browser/validation.h', + 'autofill/browser/wallet/cart.cc', + 'autofill/browser/wallet/cart.h', + 'autofill/browser/wallet/encryption_escrow_client.cc', + 'autofill/browser/wallet/encryption_escrow_client.h', + 'autofill/browser/wallet/encryption_escrow_client_observer.h', + 'autofill/browser/wallet/full_wallet.cc', + 'autofill/browser/wallet/full_wallet.h', + 'autofill/browser/wallet/instrument.cc', + 'autofill/browser/wallet/instrument.h', + 'autofill/browser/wallet/required_action.cc', + 'autofill/browser/wallet/required_action.h', + 'autofill/browser/wallet/wallet_address.cc', + 'autofill/browser/wallet/wallet_address.h', + 'autofill/browser/wallet/wallet_client.cc', + 'autofill/browser/wallet/wallet_client.h', + 'autofill/browser/wallet/wallet_client_delegate.h', + 'autofill/browser/wallet/wallet_items.cc', + 'autofill/browser/wallet/wallet_items.h', + 'autofill/browser/wallet/wallet_service_url.cc', + 'autofill/browser/wallet/wallet_service_url.h', + 'autofill/browser/wallet/wallet_signin_helper.cc', + 'autofill/browser/wallet/wallet_signin_helper.h', + + # This file is generated by the autofill_regexes action. + '<(SHARED_INTERMEDIATE_DIR)/autofill_regex_constants.cc', + ], + + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + 'msvs_disabled_warnings': [4267, ], + }, + + { + 'target_name': 'autofill_renderer', + 'type': 'static_library', + 'include_dirs': [ + '..', + ], + 'dependencies': [ + 'autofill_common', + '../base/base.gyp:base', + '../content/content.gyp:content_renderer', + '../content/content.gyp:content_common', + '../ipc/ipc.gyp:ipc', + '../skia/skia.gyp:skia', + + # TODO(kaiwang): Remove this dependency on chrome. + '../chrome/chrome_resources.gyp:chrome_strings', + ], + 'sources': [ + 'autofill/renderer/autofill_agent.cc', + 'autofill/renderer/autofill_agent.h', + 'autofill/renderer/form_autofill_util.cc', + 'autofill/renderer/form_autofill_util.h', + 'autofill/renderer/form_cache.cc', + 'autofill/renderer/form_cache.h', + 'autofill/renderer/page_click_listener.h', + 'autofill/renderer/page_click_tracker.cc', + 'autofill/renderer/page_click_tracker.h', + 'autofill/renderer/password_autofill_agent.cc', + 'autofill/renderer/password_autofill_agent.h', + 'autofill/renderer/password_generation_manager.cc', + 'autofill/renderer/password_generation_manager.h', + ], + # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. + 'msvs_disabled_warnings': [4267, ], + }, ], }], ['OS == "android"', { |