mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
# Copyright 2014 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.
|
|
|
|
component("core") {
|
|
output_name = "keyed_service_core"
|
|
sources = [
|
|
"dependency_graph.cc",
|
|
"dependency_graph.h",
|
|
"dependency_manager.cc",
|
|
"dependency_manager.h",
|
|
"dependency_node.h",
|
|
"keyed_service.cc",
|
|
"keyed_service.h",
|
|
"keyed_service_base_factory.cc",
|
|
"keyed_service_base_factory.h",
|
|
"keyed_service_export.h",
|
|
"keyed_service_factory.cc",
|
|
"keyed_service_factory.h",
|
|
"keyed_service_shutdown_notifier.cc",
|
|
"keyed_service_shutdown_notifier.h",
|
|
"refcounted_keyed_service.cc",
|
|
"refcounted_keyed_service.h",
|
|
"refcounted_keyed_service_factory.cc",
|
|
"refcounted_keyed_service_factory.h",
|
|
"service_access_type.h",
|
|
]
|
|
|
|
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
|
|
|
defines = [ "KEYED_SERVICE_IMPLEMENTATION" ]
|
|
|
|
deps = [
|
|
"//base",
|
|
"//components/pref_registry",
|
|
"//components/prefs",
|
|
"//components/user_prefs",
|
|
]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [
|
|
"dependency_graph_unittest.cc",
|
|
]
|
|
deps = [
|
|
":core",
|
|
"//base",
|
|
"//testing/gtest",
|
|
"//third_party/re2",
|
|
]
|
|
}
|