mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
65 lines
1.7 KiB
Plaintext
65 lines
1.7 KiB
Plaintext
# Copyright 2017 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("//services/catalog/public/tools/catalog.gni")
|
|
import("//services/service_manager/public/cpp/service.gni")
|
|
import("//services/service_manager/public/service_manifest.gni")
|
|
|
|
source_set("lib") {
|
|
sources = [
|
|
"identity_manager.cc",
|
|
"identity_manager.h",
|
|
"identity_service.cc",
|
|
"identity_service.h",
|
|
]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//components/signin/core/browser",
|
|
"//components/signin/core/browser:account_info",
|
|
"//services/identity/public/cpp:cpp_types",
|
|
"//services/identity/public/interfaces",
|
|
"//services/service_manager/public/cpp",
|
|
"//services/service_manager/public/interfaces",
|
|
]
|
|
}
|
|
|
|
service_manifest("manifest") {
|
|
name = "identity"
|
|
source = "manifest.json"
|
|
}
|
|
|
|
source_set("tests") {
|
|
testonly = true
|
|
deps = [
|
|
":lib",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//components/signin/core/browser",
|
|
"//components/signin/core/browser:account_info",
|
|
"//components/signin/core/browser:test_support",
|
|
"//components/sync_preferences:test_support",
|
|
"//mojo/public/cpp/bindings:bindings",
|
|
"//services/identity/public/interfaces",
|
|
"//services/service_manager/public/cpp",
|
|
"//services/service_manager/public/cpp:service_test_support",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
sources = [
|
|
"identity_manager_unittest.cc",
|
|
]
|
|
}
|
|
|
|
service_manifest("unittest_manifest") {
|
|
name = "identity_unittests"
|
|
source = "unittest_manifest.json"
|
|
packaged_services = [ ":manifest" ]
|
|
}
|
|
|
|
catalog("tests_catalog") {
|
|
testonly = true
|
|
embedded_services = [ ":unittest_manifest" ]
|
|
}
|