Home | History | Annotate | Download | only in content
      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.cc",
     17     "refcounted_browser_context_keyed_service.h",
     18     "refcounted_browser_context_keyed_service_factory.cc",
     19   ]
     20 
     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   }
     26 
     27   deps = [
     28     "//base",
     29     "//base:prefs",
     30     "//base/third_party/dynamic_annotations",
     31     "//content/public/common",
     32     "//components/user_prefs",
     33   ]
     34 }
     35