Index: components/keyed_service/content/BUILD.gn |
diff --git a/components/keyed_service/content/BUILD.gn b/components/keyed_service/content/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..91caa348412e3498444e70f9fe3b7593006f153e |
--- /dev/null |
+++ b/components/keyed_service/content/BUILD.gn |
@@ -0,0 +1,34 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+assert(!is_ios) |
+ |
+component("content") { |
+ output_name = "keyed_service_content" |
+ sources = [ |
+ "browser_context_dependency_manager.cc", |
+ "browser_context_dependency_manager.h", |
+ "browser_context_keyed_base_factory.h", |
+ "browser_context_keyed_base_factory.cc", |
+ "browser_context_keyed_service_factory.cc", |
+ "browser_context_keyed_service_factory.h", |
+ "refcounted_browser_context_keyed_service.cc", |
+ "refcounted_browser_context_keyed_service.h", |
+ "refcounted_browser_context_keyed_service_factory.cc", |
+ ] |
+ |
+ defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] |
+ if (is_win) { |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ cflags = [ "/wd4267" ] |
+ } |
+ |
+ deps = [ |
+ "//base", |
+ "//base:prefs", |
+ "//base/third_party/dynamic_annotations", |
+ "//content/public/common", |
+ "//components/user_prefs", |
+ ] |
+} |