chromium/ios/chrome/browser/overlays/model/public/infobar_banner/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("infobar_banner") {
  sources = [
    "confirm_infobar_banner_overlay_request_config.h",
    "confirm_infobar_banner_overlay_request_config.mm",
    "confirm_infobar_banner_overlay_request_config_storage.h",
    "confirm_infobar_banner_overlay_request_config_storage.mm",
    "infobar_banner_overlay_responses.cc",
    "infobar_banner_overlay_responses.h",
    "infobar_banner_placeholder_request_config.h",
    "infobar_banner_placeholder_request_config.mm",
    "save_address_profile_infobar_banner_overlay_request_config.h",
    "save_address_profile_infobar_banner_overlay_request_config.mm",
  ]

  deps = [
    "//base",
    "//components/autofill/core/browser",
    "//components/infobars/core",
    "//components/password_manager/core/common:features",
    "//components/translate/core/browser",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/infobars/model",
    "//ios/chrome/browser/infobars/model/overlays:overlay_type",
    "//ios/chrome/browser/overlays/model",
    "//ios/chrome/browser/overlays/model/public/common",
    "//ios/chrome/browser/overlays/model/public/common/infobars",
    "//ios/chrome/browser/overlays/model/public/infobar_modal",
    "//ios/chrome/browser/passwords/model:infobar_delegates",
    "//ios/chrome/browser/permissions/model:infobar_delegate",
    "//ios/chrome/browser/safe_browsing/model/tailored_security:infobar_delegates",
    "//ios/chrome/browser/settings/model/sync/utils",
    "//ios/chrome/browser/ui/authentication",
    "//ios/chrome/browser/web/model",
    "//ios/web/public/permissions",
    "//ui/base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "confirm_infobar_banner_overlay_request_config_unittest.mm" ]
  deps = [
    ":infobar_banner",
    "//base/test:test_support",
    "//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/settings/model/sync/utils",
    "//ios/chrome/browser/settings/model/sync/utils/test",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/ui/infobars/test",
    "//ios/chrome/common/ui/colors",
    "//ios/web/public/test",
    "//testing/gmock",
    "//testing/gtest",
    "//third_party/ocmock",
  ]
}