chromium/ios/chrome/browser/overlays/ui_bundled/infobar_banner/autofill_address_profile/BUILD.gn

# 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_overlay_mediator.h",
    "save_address_profile_infobar_banner_overlay_mediator.mm",
  ]

  deps = [
    "//base",
    "//ios/chrome/browser/overlays/model",
    "//ios/chrome/browser/overlays/model/public/infobar_banner",
    "//ios/chrome/browser/overlays/model/public/infobar_modal",
    "//ios/chrome/browser/overlays/ui_bundled:coordinators",
    "//ios/chrome/browser/overlays/ui_bundled/infobar_banner:mediators",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/ui/infobars/banners",
    "//ui/base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources =
      [ "save_address_profile_infobar_banner_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/infobars/model",
    "//ios/chrome/browser/infobars/model/test",
    "//ios/chrome/browser/overlays/model",
    "//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/overlays/ui_bundled/test",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/ui/infobars/banners/test",
    "//ios/chrome/browser/ui/infobars/test",
    "//testing/gmock",
    "//testing/gtest",
    "//ui/base",
  ]
}