# Copyright 2014 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/features.gni")
assert(use_blink)
component("content") {
output_name = "keyed_service_content"
sources = [
"browser_context_dependency_manager.cc",
"browser_context_dependency_manager.h",
"browser_context_keyed_service_factory.cc",
"browser_context_keyed_service_factory.h",
"browser_context_keyed_service_shutdown_notifier_factory.cc",
"browser_context_keyed_service_shutdown_notifier_factory.h",
"refcounted_browser_context_keyed_service_factory.cc",
"refcounted_browser_context_keyed_service_factory.h",
]
defines = [ "KEYED_SERVICE_IMPLEMENTATION" ]
public_deps = [
"//base",
"//components/keyed_service/core",
]
deps = [
"//components/pref_registry",
"//content/public/browser",
"//content/public/common",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "browser_context_dependency_manager_unittest.cc" ]
deps = [
":content",
"//testing/gtest",
]
}