# 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_modal_overlay_coordinator.h",
"save_address_profile_infobar_modal_overlay_coordinator.mm",
"save_address_profile_infobar_modal_overlay_mediator.h",
"save_address_profile_infobar_modal_overlay_mediator.mm",
"save_address_profile_infobar_modal_overlay_mediator_delegate.h",
]
deps = [
"//base",
"//components/autofill/core/browser",
"//components/autofill/core/common",
"//components/autofill/ios/common",
"//ios/chrome/app/strings",
"//ios/chrome/browser/autofill/model",
"//ios/chrome/browser/autofill/model/bottom_sheet",
"//ios/chrome/browser/autofill/ui_bundled:autofill_shared_ui",
"//ios/chrome/browser/autofill/ui_bundled/cells",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/common/infobars",
"//ios/chrome/browser/overlays/model/public/infobar_modal",
"//ios/chrome/browser/overlays/ui_bundled:coordinators",
"//ios/chrome/browser/overlays/ui_bundled/infobar_modal:coordinators",
"//ios/chrome/browser/overlays/ui_bundled/infobar_modal:mediators",
"//ios/chrome/browser/shared/model/browser",
"//ios/chrome/browser/shared/model/browser_state",
"//ios/chrome/browser/shared/model/profile",
"//ios/chrome/browser/shared/model/web_state_list",
"//ios/chrome/browser/shared/ui/util",
"//ios/chrome/browser/ui/infobars/modals:public",
"//ios/chrome/browser/ui/infobars/modals/autofill_address_profile:modals",
"//ui/base",
]
}
source_set("unit_tests") {
testonly = true
sources =
[ "save_address_profile_infobar_modal_overlay_mediator_unittest.mm" ]
deps = [
":autofill_address_profile",
"//base/test:test_support",
"//components/autofill/core/browser",
"//components/autofill/core/browser:test_support",
"//components/infobars/core",
"//ios/chrome/browser/autofill/ui_bundled:ui_type",
"//ios/chrome/browser/infobars/model",
"//ios/chrome/browser/infobars/model/test",
"//ios/chrome/browser/overlays/model",
"//ios/chrome/browser/overlays/model/public/infobar_modal",
"//ios/chrome/browser/overlays/model/test",
"//ios/chrome/browser/overlays/ui_bundled/test",
"//ios/chrome/browser/ui/infobars/modals/autofill_address_profile:modals",
"//ios/chrome/browser/ui/infobars/modals/test",
"//ios/chrome/browser/ui/infobars/test",
"//testing/gmock",
"//testing/gtest",
"//third_party/ocmock",
"//ui/base",
]
}