Roll src/third_party/skia c64137c:b5fb5af
[chromium-blink-merge.git] / components / keyed_service / core / BUILD.gn
bloba89949f678af97153d12df51c346bb90b81cb289
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 component("core") {
6   output_name = "keyed_service_core"
7   sources = [
8     "dependency_graph.cc",
9     "dependency_graph.h",
10     "dependency_manager.cc",
11     "dependency_manager.h",
12     "dependency_node.h",
13     "keyed_service.cc",
14     "keyed_service.h",
15     "keyed_service_base_factory.cc",
16     "keyed_service_base_factory.h",
17     "keyed_service_export.h",
18     "keyed_service_factory.cc",
19     "keyed_service_factory.h",
20     "keyed_service_shutdown_notifier.cc",
21     "keyed_service_shutdown_notifier.h",
22     "refcounted_keyed_service.cc",
23     "refcounted_keyed_service.h",
24     "refcounted_keyed_service_factory.cc",
25     "refcounted_keyed_service_factory.h",
26   ]
28   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
30   defines = [ "KEYED_SERVICE_IMPLEMENTATION" ]
32   deps = [
33     "//base",
34     "//base:prefs",
35     "//components/user_prefs",
36   ]
39 source_set("unit_tests") {
40   testonly = true
41   sources = [
42     "dependency_graph_unittest.cc",
43   ]
44   deps = [
45     ":core",
46     "//testing/gtest",
47   ]