Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / components / keyed_service / content / BUILD.gn
blob91caa348412e3498444e70f9fe3b7593006f153e
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.h",
13     "browser_context_keyed_base_factory.cc",
14     "browser_context_keyed_service_factory.cc",
15     "browser_context_keyed_service_factory.h",
16     "refcounted_browser_context_keyed_service.cc",
17     "refcounted_browser_context_keyed_service.h",
18     "refcounted_browser_context_keyed_service_factory.cc",
19   ]
21   defines = [ "KEYED_SERVICE_IMPLEMENTATION" ]
22   if (is_win) {
23     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
24     cflags = [ "/wd4267" ]
25   }
27   deps = [
28     "//base",
29     "//base:prefs",
30     "//base/third_party/dynamic_annotations",
31     "//content/public/common",
32     "//components/user_prefs",
33   ]