blob: 0d3219bcbc5f18971899458be401fa9004d8fb5b [file] [log] [blame]
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/ui.gni")
assert(is_chromeos_ash || is_chromeos_lacros)
component("account_manager_core") {
sources = [
"account.cc",
"account.h",
"account_manager_facade.cc",
"account_manager_facade.h",
"account_manager_facade_impl.cc",
"account_manager_facade_impl.h",
"account_manager_util.cc",
"account_manager_util.h",
]
deps = [
"//base",
"//chromeos/crosapi/mojom",
"//google_apis:google_apis",
"//mojo/public/cpp/bindings",
]
defines = [ "IS_ACCOUNT_MANAGER_CORE_IMPL" ]
}
source_set("test_support") {
testonly = true
sources = [
"account_manager_test_util.cc",
"account_manager_test_util.h",
]
deps = [ ":account_manager_core" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "account_manager_facade_impl_unittest.cc" ]
deps = [
":account_manager_core",
":test_support",
"//base/test:test_support",
"//chromeos/crosapi/mojom",
"//testing/gtest",
]
}