chromium/ios/chrome/browser/overlays/ui_bundled/infobar_modal/save_card/BUILD.gn

# Copyright 2020 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("save_card") {
  sources = [
    "save_card_infobar_modal_overlay_coordinator.h",
    "save_card_infobar_modal_overlay_coordinator.mm",
    "save_card_infobar_modal_overlay_mediator.h",
    "save_card_infobar_modal_overlay_mediator.mm",
    "save_card_infobar_modal_overlay_mediator_delegate.h",
  ]

  deps = [
    "//base",
    "//components/autofill/core/browser",
    "//components/autofill/core/common",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/autofill/model/credit_card:infobar_delegate",
    "//ios/chrome/browser/autofill/model/message",
    "//ios/chrome/browser/infobars/model/overlays:util",
    "//ios/chrome/browser/overlays/model",
    "//ios/chrome/browser/overlays/model/public/common/infobars",
    "//ios/chrome/browser/overlays/model/public/default",
    "//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/ui/util",
    "//ios/chrome/browser/ui/infobars/modals",
    "//ios/chrome/browser/ui/infobars/modals:public",
    "//ui/base",
    "//ui/gfx",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "save_card_infobar_modal_overlay_mediator_unittest.mm" ]

  deps = [
    "//base/test:test_support",
    "//components/autofill/core/browser",
    "//components/autofill/core/browser:test_support",
    "//components/infobars/core",
    "//components/prefs",
    "//components/signin/public/identity_manager",
    "//ios/chrome/browser/autofill/model/message",
    "//ios/chrome/browser/infobars/model",
    "//ios/chrome/browser/infobars/model:public",
    "//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/default",
    "//ios/chrome/browser/overlays/model/public/infobar_modal",
    "//ios/chrome/browser/overlays/model/test",
    "//ios/chrome/browser/overlays/ui_bundled/infobar_modal/save_card",
    "//ios/chrome/browser/overlays/ui_bundled/test",
    "//ios/chrome/browser/ui/infobars/modals",
    "//ios/chrome/browser/ui/infobars/modals/test",
    "//ios/chrome/browser/ui/infobars/test",
    "//ios/web/public/test",
    "//testing/gmock",
    "//testing/gtest",
    "//third_party/ocmock",
    "//ui/base",
    "//url",
  ]
}