blob: d37fe3edcfa00720564d351b731d3ca63af425e5 [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chrome_build.gni")
import("//build/config/jumbo.gni")
import("//build/util/version.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
import("//tools/grit/grit_rule.gni")
grit("autofill_address_rewriter_resources") {
source = "autofill_address_rewriter_resources.grd"
outputs = [
"grit/autofill_address_rewriter_resources.h",
"grit/autofill_address_rewriter_resources_map.cc",
"grit/autofill_address_rewriter_resources_map.h",
"autofill_address_rewriter_resources.pak",
]
output_dir = "$root_gen_dir/components/autofill/core/browser"
}
jumbo_static_library("browser") {
sources = [
"address_normalization_manager.cc",
"address_normalization_manager.h",
"address_normalizer.h",
"address_normalizer_impl.cc",
"address_normalizer_impl.h",
"address_rewriter.cc",
"address_rewriter.h",
"autocomplete_history_manager.cc",
"autocomplete_history_manager.h",
"autofill_address_util.cc",
"autofill_address_util.h",
"autofill_browser_util.cc",
"autofill_browser_util.h",
"autofill_client.cc",
"autofill_client.h",
"autofill_data_util.cc",
"autofill_data_util.h",
"autofill_download_manager.cc",
"autofill_download_manager.h",
"autofill_driver.h",
"autofill_driver_factory.cc",
"autofill_driver_factory.h",
"autofill_experiments.cc",
"autofill_experiments.h",
"autofill_external_delegate.cc",
"autofill_external_delegate.h",
"autofill_field.cc",
"autofill_field.h",
"autofill_handler.cc",
"autofill_handler.h",
"autofill_handler_proxy.cc",
"autofill_handler_proxy.h",
"autofill_ie_toolbar_import_win.cc",
"autofill_ie_toolbar_import_win.h",
"autofill_manager.cc",
"autofill_manager.h",
"autofill_manager_test_delegate.h",
"autofill_metrics.cc",
"autofill_metrics.h",
"autofill_observer.cc",
"autofill_observer.h",
"autofill_profile_sync_util.cc",
"autofill_profile_sync_util.h",
"autofill_profile_validation_util.cc",
"autofill_profile_validation_util.h",
"autofill_profile_validator.cc",
"autofill_profile_validator.h",
"autofill_provider.cc",
"autofill_provider.h",
"autofill_subject.cc",
"autofill_subject.h",
"autofill_type.cc",
"autofill_type.h",
"data_model/address.cc",
"data_model/address.h",
"data_model/autofill_data_model.cc",
"data_model/autofill_data_model.h",
"data_model/autofill_metadata.cc",
"data_model/autofill_metadata.h",
"data_model/autofill_profile.cc",
"data_model/autofill_profile.h",
"data_model/autofill_profile_comparator.cc",
"data_model/autofill_profile_comparator.h",
"data_model/contact_info.cc",
"data_model/contact_info.h",
"data_model/credit_card.cc",
"data_model/credit_card.h",
"data_model/data_model_utils.cc",
"data_model/data_model_utils.h",
"data_model/form_group.cc",
"data_model/form_group.h",
"data_model/phone_number.cc",
"data_model/phone_number.h",
"data_model/test_data_creator.cc",
"data_model/test_data_creator.h",
"field_filler.cc",
"field_filler.h",
"field_types.h",
"form_data_importer.cc",
"form_data_importer.h",
"form_parsing/address_field.cc",
"form_parsing/address_field.h",
"form_parsing/autofill_scanner.cc",
"form_parsing/autofill_scanner.h",
"form_parsing/credit_card_field.cc",
"form_parsing/credit_card_field.h",
"form_parsing/email_field.cc",
"form_parsing/email_field.h",
"form_parsing/field_candidates.cc",
"form_parsing/field_candidates.h",
"form_parsing/form_field.cc",
"form_parsing/form_field.h",
"form_parsing/name_field.cc",
"form_parsing/name_field.h",
"form_parsing/phone_field.cc",
"form_parsing/phone_field.h",
"form_parsing/price_field.cc",
"form_parsing/price_field.h",
"form_parsing/search_field.cc",
"form_parsing/search_field.h",
"form_parsing/travel_field.cc",
"form_parsing/travel_field.h",
"form_structure.cc",
"form_structure.h",
"form_types.cc",
"form_types.h",
"geo/address_i18n.cc",
"geo/address_i18n.h",
"geo/autofill_country.cc",
"geo/autofill_country.h",
"geo/country_data.cc",
"geo/country_data.h",
"geo/country_names.cc",
"geo/country_names.h",
"geo/phone_number_i18n.cc",
"geo/phone_number_i18n.h",
"geo/region_data_loader.h",
"geo/region_data_loader_impl.cc",
"geo/region_data_loader_impl.h",
"geo/state_names.cc",
"geo/state_names.h",
"geo/subkey_requester.cc",
"geo/subkey_requester.h",
"logging/log_buffer_submitter.cc",
"logging/log_buffer_submitter.h",
"logging/log_manager.cc",
"logging/log_manager.h",
"logging/log_protobufs.h",
"logging/log_receiver.h",
"logging/log_router.cc",
"logging/log_router.h",
"metrics/address_form_event_logger.cc",
"metrics/address_form_event_logger.h",
"metrics/credit_card_form_event_logger.cc",
"metrics/credit_card_form_event_logger.h",
"metrics/form_event_logger_base.cc",
"metrics/form_event_logger_base.h",
"metrics/form_events.h",
"payments/account_info_getter.h",
"payments/autofill_wallet_model_type_controller.cc",
"payments/autofill_wallet_model_type_controller.h",
"payments/card_unmask_delegate.cc",
"payments/card_unmask_delegate.h",
"payments/credit_card_access_manager.cc",
"payments/credit_card_access_manager.h",
"payments/credit_card_cvc_authenticator.cc",
"payments/credit_card_cvc_authenticator.h",
"payments/credit_card_save_manager.cc",
"payments/credit_card_save_manager.h",
"payments/credit_card_save_strike_database.cc",
"payments/credit_card_save_strike_database.h",
"payments/full_card_request.cc",
"payments/full_card_request.h",
"payments/legal_message_line.cc",
"payments/legal_message_line.h",
"payments/local_card_migration_manager.cc",
"payments/local_card_migration_manager.h",
"payments/local_card_migration_strike_database.cc",
"payments/local_card_migration_strike_database.h",
"payments/payments_client.cc",
"payments/payments_client.h",
"payments/payments_customer_data.h",
"payments/payments_request.h",
"payments/payments_service_url.cc",
"payments/payments_service_url.h",
"payments/payments_util.cc",
"payments/payments_util.h",
"payments/risk_data_loader.h",
"payments/strike_database.cc",
"payments/strike_database.h",
"payments/strike_database_integrator_base.cc",
"payments/strike_database_integrator_base.h",
"payments/strike_database_integrator_test_strike_database.cc",
"payments/strike_database_integrator_test_strike_database.h",
"payments/upi_vpa_save_manager.cc",
"payments/upi_vpa_save_manager.h",
"payments/webauthn_callback_types.h",
"personal_data_manager.cc",
"personal_data_manager.h",
"personal_data_manager_observer.h",
"randomized_encoder.cc",
"randomized_encoder.h",
"rationalization_util.cc",
"rationalization_util.h",
"sync_utils.h",
"ui/accessory_sheet_data.cc",
"ui/accessory_sheet_data.h",
"ui/accessory_sheet_enums.h",
"ui/address_combobox_model.cc",
"ui/address_combobox_model.h",
"ui/address_contact_form_label_formatter.cc",
"ui/address_contact_form_label_formatter.h",
"ui/address_email_form_label_formatter.cc",
"ui/address_email_form_label_formatter.h",
"ui/address_form_label_formatter.cc",
"ui/address_form_label_formatter.h",
"ui/address_phone_form_label_formatter.cc",
"ui/address_phone_form_label_formatter.h",
"ui/autofill_popup_delegate.h",
"ui/contact_form_label_formatter.cc",
"ui/contact_form_label_formatter.h",
"ui/country_combobox_model.cc",
"ui/country_combobox_model.h",
"ui/label_formatter.cc",
"ui/label_formatter.h",
"ui/label_formatter_utils.cc",
"ui/label_formatter_utils.h",
"ui/payments/card_unmask_prompt_controller.h",
"ui/payments/card_unmask_prompt_controller_impl.cc",
"ui/payments/card_unmask_prompt_controller_impl.h",
"ui/payments/card_unmask_prompt_view.h",
"ui/popup_item_ids.h",
"ui/popup_types.h",
"ui/region_combobox_model.cc",
"ui/region_combobox_model.h",
"ui/suggestion.cc",
"ui/suggestion.h",
"ui/suggestion_selection.cc",
"ui/suggestion_selection.h",
"validation.cc",
"validation.h",
"webdata/autocomplete_sync_bridge.cc",
"webdata/autocomplete_sync_bridge.h",
"webdata/autofill_change.cc",
"webdata/autofill_change.h",
"webdata/autofill_entry.cc",
"webdata/autofill_entry.h",
"webdata/autofill_profile_model_type_controller.cc",
"webdata/autofill_profile_model_type_controller.h",
"webdata/autofill_profile_sync_bridge.cc",
"webdata/autofill_profile_sync_bridge.h",
"webdata/autofill_profile_sync_difference_tracker.cc",
"webdata/autofill_profile_sync_difference_tracker.h",
"webdata/autofill_sync_bridge_util.cc",
"webdata/autofill_sync_bridge_util.h",
"webdata/autofill_table.cc",
"webdata/autofill_table.h",
"webdata/autofill_table_encryptor.h",
"webdata/autofill_table_encryptor_factory.cc",
"webdata/autofill_table_encryptor_factory.h",
"webdata/autofill_wallet_metadata_sync_bridge.cc",
"webdata/autofill_wallet_metadata_sync_bridge.h",
"webdata/autofill_wallet_sync_bridge.cc",
"webdata/autofill_wallet_sync_bridge.h",
"webdata/autofill_webdata_backend.h",
"webdata/autofill_webdata_backend_impl.cc",
"webdata/autofill_webdata_backend_impl.h",
"webdata/autofill_webdata_backend_util.cc",
"webdata/autofill_webdata_backend_util.h",
"webdata/autofill_webdata_service.cc",
"webdata/autofill_webdata_service.h",
"webdata/autofill_webdata_service_observer.h",
"webdata/system_encryptor.cc",
"webdata/system_encryptor.h",
]
if (is_ios) {
sources += [
"keyboard_accessory_metrics_logger.h",
"keyboard_accessory_metrics_logger.mm",
]
}
if (is_ios || is_android) {
sources += [
"autofill_assistant.cc",
"autofill_assistant.h",
"payments/autofill_credit_card_filling_infobar_delegate_mobile.cc",
"payments/autofill_credit_card_filling_infobar_delegate_mobile.h",
"payments/autofill_save_card_infobar_delegate_mobile.cc",
"payments/autofill_save_card_infobar_delegate_mobile.h",
"payments/autofill_save_card_infobar_mobile.h",
"ui/mobile_label_formatter.cc",
"ui/mobile_label_formatter.h",
"ui/payments/card_expiration_date_fix_flow_controller.h",
"ui/payments/card_expiration_date_fix_flow_controller_impl.cc",
"ui/payments/card_expiration_date_fix_flow_controller_impl.h",
"ui/payments/card_expiration_date_fix_flow_view.h",
"ui/payments/card_name_fix_flow_controller.h",
"ui/payments/card_name_fix_flow_controller_impl.cc",
"ui/payments/card_name_fix_flow_controller_impl.h",
"ui/payments/card_name_fix_flow_view.h",
]
}
if (!is_android) {
sources += [
"ui/payments/local_card_migration_bubble_controller.h",
"ui/payments/local_card_migration_dialog_controller.h",
]
}
if (!is_ios) {
sources += [
"autofill_address_policy_handler.cc",
"autofill_address_policy_handler.h",
"autofill_credit_card_policy_handler.cc",
"autofill_credit_card_policy_handler.h",
"autofill_policy_handler.cc",
"autofill_policy_handler.h",
"payments/credit_card_fido_authenticator.cc",
"payments/credit_card_fido_authenticator.h",
"payments/fido_authentication_strike_database.cc",
"payments/fido_authentication_strike_database.h",
]
}
defines = [ "CHROME_VERSION_MAJOR=" + chrome_version_major ]
configs += [ "//build/config:precompiled_headers" ]
public_deps = [
"//components/autofill/core/browser/proto",
"//components/autofill/core/common",
"//components/autofill/core/common/mojom:mojo_types",
"//components/resources",
"//components/security_state/core",
"//skia",
"//third_party/libaddressinput",
]
deps = [
":autofill_address_rewriter_resources",
"proto:legacy_proto_bridge",
"//base",
"//base:i18n",
"//build:branding_buildflags",
"//components/google/core/common",
"//components/history/core/browser",
"//components/infobars/core",
"//components/keyed_service/core",
"//components/leveldb_proto",
"//components/os_crypt",
"//components/pref_registry",
"//components/prefs",
"//components/signin/public/base",
"//components/signin/public/identity_manager",
"//components/strings",
"//components/sync",
"//components/variations/net",
"//components/version_info",
"//components/webdata/common",
"//crypto",
"//google_apis",
"//net",
"//services/metrics/public/cpp:metrics_cpp",
"//services/metrics/public/cpp:ukm_builders",
"//services/network/public/cpp",
"//services/network/public/mojom",
"//sql",
"//third_party/icu",
"//third_party/libphonenumber",
"//third_party/re2",
"//third_party/zlib/google:compression_utils",
"//ui/accessibility:accessibility",
"//ui/base",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/gfx/range",
"//url",
]
if (!is_ios) {
deps += [
"//components/policy/core/browser",
"//components/policy/core/common",
"//third_party/blink/public/common",
]
}
if (!is_android && !is_ios) {
deps += [
"//ui/native_theme",
"//ui/native_theme:native_theme_browser",
]
}
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}
jumbo_static_library("test_support") {
testonly = true
sources = [
"autofill_test_utils.cc",
"autofill_test_utils.h",
"data_driven_test.cc",
"data_driven_test.h",
"geo/test_region_data_loader.cc",
"geo/test_region_data_loader.h",
"logging/stub_log_manager.cc",
"logging/stub_log_manager.h",
"mock_autocomplete_history_manager.cc",
"mock_autocomplete_history_manager.h",
"payments/test_authentication_requester.cc",
"payments/test_authentication_requester.h",
"payments/test_credit_card_save_manager.cc",
"payments/test_credit_card_save_manager.h",
"payments/test_credit_card_save_strike_database.cc",
"payments/test_credit_card_save_strike_database.h",
"payments/test_legal_message_line.h",
"payments/test_local_card_migration_manager.cc",
"payments/test_local_card_migration_manager.h",
"payments/test_payments_client.cc",
"payments/test_payments_client.h",
"payments/test_strike_database.cc",
"payments/test_strike_database.h",
"test_address_normalizer.cc",
"test_address_normalizer.h",
"test_autofill_async_observer.cc",
"test_autofill_async_observer.h",
"test_autofill_client.cc",
"test_autofill_client.h",
"test_autofill_clock.cc",
"test_autofill_clock.h",
"test_autofill_download_manager.cc",
"test_autofill_download_manager.h",
"test_autofill_driver.cc",
"test_autofill_driver.h",
"test_autofill_external_delegate.cc",
"test_autofill_external_delegate.h",
"test_autofill_manager.cc",
"test_autofill_manager.h",
"test_autofill_profile_validator.cc",
"test_autofill_profile_validator.h",
"test_autofill_profile_validator_delayed.cc",
"test_autofill_profile_validator_delayed.h",
"test_autofill_provider.cc",
"test_autofill_provider.h",
"test_autofill_tick_clock.cc",
"test_autofill_tick_clock.h",
"test_event_waiter.h",
"test_form_data_importer.cc",
"test_form_data_importer.h",
"test_form_structure.cc",
"test_form_structure.h",
"test_personal_data_manager.cc",
"test_personal_data_manager.h",
"ui/suggestion_test_helpers.h",
"webdata/autofill_sync_bridge_test_util.cc",
"webdata/autofill_sync_bridge_test_util.h",
"webdata/mock_autofill_webdata_backend.cc",
"webdata/mock_autofill_webdata_backend.h",
]
public_deps = [
":browser",
]
deps = [
":autofill_address_rewriter_resources",
"//base",
"//base/test:test_support",
"//components/autofill/core/browser",
"//components/autofill/core/common",
"//components/leveldb_proto",
"//components/os_crypt",
"//components/os_crypt:test_support",
"//components/pref_registry",
"//components/prefs:test_support",
"//components/signin/public/identity_manager:test_support",
"//components/sync:test_support",
"//components/ukm",
"//components/ukm:test_support",
"//google_apis:test_support",
"//services/network:test_support",
"//services/network/public/cpp",
"//skia",
"//testing/gtest",
"//third_party/libaddressinput:test_support",
"//third_party/libaddressinput:util",
"//third_party/re2:re2",
"//ui/accessibility",
"//ui/gfx:test_support",
"//ui/gfx/geometry",
]
if (!is_ios) {
sources += [
"payments/test_credit_card_fido_authenticator.cc",
"payments/test_credit_card_fido_authenticator.h",
]
deps += [ "//third_party/blink/public/common" ]
}
}
bundle_data("unit_tests_bundle_data") {
sources = [
"//components/test/data/autofill/merge/input/ambiguous.in",
"//components/test/data/autofill/merge/input/case.in",
"//components/test/data/autofill/merge/input/email.in",
"//components/test/data/autofill/merge/input/identical.in",
"//components/test/data/autofill/merge/input/primarycase.in",
"//components/test/data/autofill/merge/input/singlemerge.in",
"//components/test/data/autofill/merge/input/validation.in",
"//components/test/data/autofill/merge/output/ambiguous.out",
"//components/test/data/autofill/merge/output/case.out",
"//components/test/data/autofill/merge/output/email.out",
"//components/test/data/autofill/merge/output/identical.out",
"//components/test/data/autofill/merge/output/primarycase.out",
"//components/test/data/autofill/merge/output/singlemerge.out",
"//components/test/data/autofill/merge/output/validation.out",
]
outputs = [
"{{bundle_resources_dir}}/" +
"{{source_root_relative_dir}}/{{source_file_part}}",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"address_normalization_manager_unittest.cc",
"address_normalizer_impl_unittest.cc",
"address_rewriter_unittest.cc",
"autocomplete_history_manager_unittest.cc",
"autofill_data_util_unittest.cc",
"autofill_download_manager_unittest.cc",
"autofill_driver_factory_unittest.cc",
"autofill_experiments_unittest.cc",
"autofill_external_delegate_unittest.cc",
"autofill_ie_toolbar_import_win_unittest.cc",
"autofill_manager_unittest.cc",
"autofill_merge_unittest.cc",
"autofill_metrics_unittest.cc",
"autofill_profile_sync_util_unittest.cc",
"autofill_profile_validation_util_unittest.cc",
"autofill_profile_validator_unittest.cc",
"autofill_subject_unittest.cc",
"autofill_type_unittest.cc",
"data_model/address_unittest.cc",
"data_model/autofill_data_model_unittest.cc",
"data_model/autofill_profile_comparator_unittest.cc",
"data_model/autofill_profile_unittest.cc",
"data_model/contact_info_unittest.cc",
"data_model/credit_card_unittest.cc",
"data_model/phone_number_unittest.cc",
"field_filler_unittest.cc",
"form_data_importer_unittest.cc",
"form_parsing/address_field_unittest.cc",
"form_parsing/credit_card_field_unittest.cc",
"form_parsing/field_candidates_unittest.cc",
"form_parsing/form_field_unittest.cc",
"form_parsing/name_field_unittest.cc",
"form_parsing/phone_field_unittest.cc",
"form_parsing/price_field_unittest.cc",
"form_parsing/search_field_unittest.cc",
"form_structure_unittest.cc",
"geo/address_i18n_unittest.cc",
"geo/autofill_country_unittest.cc",
"geo/country_names_unittest.cc",
"geo/phone_number_i18n_unittest.cc",
"geo/subkey_requester_unittest.cc",
"logging/log_buffer_submitter_unittest.cc",
"logging/log_manager_unittest.cc",
"logging/log_router_unittest.cc",
"payments/credit_card_access_manager_unittest.cc",
"payments/credit_card_cvc_authenticator_unittest.cc",
"payments/credit_card_save_manager_unittest.cc",
"payments/full_card_request_unittest.cc",
"payments/legal_message_line_unittest.cc",
"payments/local_card_migration_manager_unittest.cc",
"payments/payments_client_unittest.cc",
"payments/payments_service_url_unittest.cc",
"payments/payments_util_unittest.cc",
"payments/strike_database_integrator_test_strike_database_unittest.cc",
"payments/strike_database_unittest.cc",
"personal_data_manager_unittest.cc",
"proto/legacy_proto_bridge_unittest.cc",
"randomized_encoder_unittest.cc",
"rationalization_util_unittest.cc",
"ui/address_combobox_model_unittest.cc",
"ui/country_combobox_model_unittest.cc",
"ui/payments/card_unmask_prompt_controller_impl_unittest.cc",
"ui/region_combobox_model_unittest.cc",
"ui/suggestion_selection_unittest.cc",
"validation_unittest.cc",
"webdata/autocomplete_sync_bridge_unittest.cc",
"webdata/autofill_profile_sync_bridge_unittest.cc",
"webdata/autofill_profile_sync_difference_tracker_unittest.cc",
"webdata/autofill_sync_bridge_util_unittest.cc",
"webdata/autofill_table_unittest.cc",
"webdata/autofill_wallet_metadata_sync_bridge_unittest.cc",
"webdata/autofill_wallet_sync_bridge_unittest.cc",
"webdata/web_data_service_unittest.cc",
]
if (is_ios || is_android) {
sources += [
"autofill_assistant_unittest.cc",
"ui/mobile_label_formatter_unittest.cc",
"ui/payments/card_expiration_date_fix_flow_controller_impl_unittest.cc",
"ui/payments/card_name_fix_flow_controller_impl_unittest.cc",
]
}
if (!is_ios) {
sources += [
"autofill_address_policy_handler_unittest.cc",
"autofill_credit_card_policy_handler_unittest.cc",
"autofill_policy_handler_unittest.cc",
"payments/credit_card_fido_authenticator_unittest.cc",
]
}
if (!is_ios && !is_android) {
sources += [
"ui/address_contact_form_label_formatter_unittest.cc",
"ui/address_email_form_label_formatter_unittest.cc",
"ui/address_form_label_formatter_unittest.cc",
"ui/address_phone_form_label_formatter_unittest.cc",
"ui/contact_form_label_formatter_unittest.cc",
"ui/label_formatter_unittest.cc",
"ui/label_formatter_utils_unittest.cc",
]
}
defines = [ "CHROME_VERSION_MAJOR=" + chrome_version_major ]
deps = [
":autofill_address_rewriter_resources",
":browser",
":test_support",
":unit_tests_bundle_data",
"proto:legacy_proto_bridge",
"//base",
"//base/test:test_support",
"//components/autofill/core/common",
"//components/leveldb_proto",
"//components/os_crypt",
"//components/os_crypt:test_support",
"//components/prefs:test_support",
"//components/resources",
"//components/security_state/core",
"//components/signin/public/identity_manager:test_support",
"//components/strings",
"//components/sync",
"//components/sync:test_support_model",
"//components/sync/driver:test_support",
"//components/ukm",
"//components/ukm:test_support",
"//components/variations",
"//components/variations:test_support",
"//components/variations/net",
"//components/version_info:version_info",
"//components/webdata/common",
"//google_apis",
"//google_apis:test_support",
"//net:test_support",
"//services/metrics/public/cpp:ukm_builders",
"//services/network:test_support",
"//services/network/public/cpp",
"//sql",
"//testing/gmock",
"//testing/gtest",
"//third_party/libaddressinput:test_support",
"//third_party/libaddressinput:util",
"//third_party/libphonenumber",
"//third_party/re2:re2",
"//ui/base",
"//url",
]
if (!is_ios) {
deps += [
"//components/policy/core/common",
"//third_party/blink/public/common",
]
}
}
fuzzer_test("form_structure_fuzzer") {
sources = [
"form_structure_fuzzer.cc",
]
deps = [
# TODO(crbug.com/896313): Reduce the dependency on "browser".
":browser",
"//base:base",
"//components/autofill/core/common:common",
]
seed_corpus = "form_structure_fuzzer_corpus"
dict = "form_structure_fuzzer.dict"
}
if (use_libfuzzer) {
fuzzer_test("form_structure_process_query_response_fuzzer") {
sources = [
"form_structure_process_query_response_fuzzer.cc",
]
deps = [
# TODO(crbug.com/896313): Reduce the dependency on "browser".
":browser",
"//base:base",
"//components/autofill/core/browser/proto",
"//components/autofill/core/common",
"//third_party/libprotobuf-mutator",
]
}
}
fuzzer_test("autofill_phone_number_i18n_fuzzer") {
sources = [
"geo/phone_number_i18n_fuzzer.cc",
]
deps = [
# TODO(crbug.com/896313): Reduce the dependency on "browser".
":browser",
"//base",
"//base:i18n",
"//third_party/libphonenumber",
]
dict = "geo/phone_number_i18n_fuzzer.dict"
}