# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("autofill_address_profile") {
sources = [
"save_address_profile_infobar_banner_interaction_handler.h",
"save_address_profile_infobar_banner_interaction_handler.mm",
"save_address_profile_infobar_modal_interaction_handler.h",
"save_address_profile_infobar_modal_interaction_handler.mm",
"save_address_profile_infobar_modal_overlay_request_callback_installer.h",
"save_address_profile_infobar_modal_overlay_request_callback_installer.mm",
]
deps = [
"//base",
"//components/autofill/core/browser",
"//ios/chrome/browser/autofill/ui_bundled:ui_type",
"//ios/chrome/browser/infobars/model",
"//ios/chrome/browser/infobars/model:public",
"//ios/chrome/browser/infobars/model/overlays",
"//ios/chrome/browser/infobars/model/overlays:util",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/common",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/infobar_banner",
"//ios/chrome/browser/overlays/model/public/infobar_modal",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/model/web_state_list",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"save_address_profile_infobar_banner_interaction_handler_unittest.mm",
"save_address_profile_infobar_modal_interaction_handler_unittest.mm",
"save_address_profile_infobar_modal_overlay_request_callback_installer_unittest.mm",
]
deps = [
":autofill_address_profile",
"//base/test:test_support",
"//components/autofill/core/browser:test_support",
"//ios/chrome/browser/infobars/model",
"//ios/chrome/browser/infobars/model/overlays",
"//ios/chrome/browser/infobars/model/overlays:util",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/common",
"//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/test",
"//ios/chrome/browser/infobars/model/test",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/common",
"//ios/chrome/browser/overlays/model/public/infobar_banner",
"//ios/chrome/browser/overlays/model/public/infobar_modal",
"//ios/chrome/browser/overlays/model/test",
"//ios/chrome/browser/shared/model/browser/test:test_support",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/ui/infobars/test",
"//ios/web/public/test",
"//ios/web/public/test/fakes",
"//testing/gtest",
]
}