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

# Copyright 2019 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("confirm") {
  sources = [
    "confirm_infobar_banner_overlay_mediator.h",
    "confirm_infobar_banner_overlay_mediator.mm",
  ]

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

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

  deps = [
    ":confirm",
    "//base/test: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/test",
    "//ios/chrome/browser/overlays/ui_bundled/test",
    "//ios/chrome/browser/ui/infobars/banners/test",
    "//ios/chrome/browser/ui/infobars/test",
    "//testing/gmock",
    "//testing/gtest",
    "//ui/base",
  ]
}