# Copyright 2018 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("objc") {
  sources = [
    "identity_manager_observer_bridge.h",
    "identity_manager_observer_bridge.mm",
  ]

  public_deps = [ "//components/signin/public/identity_manager" ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "identity_manager_observer_bridge_unittest.mm" ]

  deps = [
    ":objc",
    "//base/test:test_support",
    "//components/signin/public/identity_manager:test_support",
    "//services/network:test_support",
    "//testing/gtest",
  ]

  if (is_ios) {
    deps += [ "//components/signin/public/identity_manager/ios:test_support" ]
  }
}
