chromium/ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/sync_error/BUILD.gn

# Copyright 2022 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("sync_error") {
  sources = [
    "sync_error_infobar_banner_interaction_handler.h",
    "sync_error_infobar_banner_interaction_handler.mm",
  ]
  deps = [
    "//base",
    "//ios/chrome/browser/infobars/model",
    "//ios/chrome/browser/infobars/model:public",
    "//ios/chrome/browser/infobars/model/overlays",
    "//ios/chrome/browser/infobars/model/overlays:util",
    "//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers",
    "//ios/chrome/browser/infobars/model/overlays/browser_agent/interaction_handlers/common",
    "//ios/chrome/browser/overlays/model/public/infobar_banner",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "sync_error_infobar_banner_interaction_handler_unittest.mm" ]
  deps = [
    ":sync_error",
    "//base/test:test_support",
    "//components/sync/service",
    "//ios/chrome/browser/infobars/model",
    "//ios/chrome/browser/infobars/model:public",
    "//ios/chrome/browser/infobars/model/overlays",
    "//ios/chrome/browser/infobars/model/test",
    "//ios/chrome/browser/overlays/model",
    "//ios/chrome/browser/settings/model/sync/utils",
    "//ios/chrome/browser/settings/model/sync/utils/test",
    "//ios/chrome/browser/sync/model",
    "//ios/chrome/browser/sync/model:test_support",
    "//ios/web/public/test",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
    "//third_party/ocmock",
  ]
}