Roll ANGLE cc54ab3..c5b2ba5
[chromium-blink-merge.git] / components / keyed_service / content / BUILD.gn
blob78d87ff07f5ae49e12eb5562c9e21f3cce62a52e
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 assert(!is_ios)
7 component("content") {
8   output_name = "keyed_service_content"
9   sources = [
10     "browser_context_dependency_manager.cc",
11     "browser_context_dependency_manager.h",
12     "browser_context_keyed_base_factory.cc",
13     "browser_context_keyed_base_factory.h",
14     "browser_context_keyed_service_factory.cc",
15     "browser_context_keyed_service_factory.h",
16     "browser_context_keyed_service_shutdown_notifier_factory.cc",
17     "browser_context_keyed_service_shutdown_notifier_factory.h",
18     "refcounted_browser_context_keyed_service_factory.cc",
19     "refcounted_browser_context_keyed_service_factory.h",
20   ]
22   # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
23   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
25   defines = [ "KEYED_SERVICE_IMPLEMENTATION" ]
27   deps = [
28     "//base",
29     "//base/third_party/dynamic_annotations",
30     "//components/keyed_service/core",
31     "//content/public/common",
32   ]
35 source_set("unit_tests") {
36   testonly = true
37   sources = [
38     "browser_context_dependency_manager_unittest.cc",
39   ]
40   deps = [
41     ":content",
42     "//testing/gtest",
43   ]