Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / components / keyed_service / content / BUILD.gn
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.
4
5 assert(!is_ios)
6
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_factory.cc",
17     "refcounted_browser_context_keyed_service_factory.h",
18   ]
19
20   defines = [ "KEYED_SERVICE_IMPLEMENTATION" ]
21   if (is_win) {
22     # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
23     cflags = [ "/wd4267" ]
24   }
25
26   deps = [
27     "//base",
28     "//base:prefs",
29     "//base/third_party/dynamic_annotations",
30     "//content/public/common",
31     "//components/keyed_service/core",
32     "//components/user_prefs",
33   ]
34 }