Index: components/keyed_service/core/BUILD.gn |
diff --git a/components/keyed_service/core/BUILD.gn b/components/keyed_service/core/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..10cf1bbfdb5d9571c922dd8193a265cba7c44861 |
--- /dev/null |
+++ b/components/keyed_service/core/BUILD.gn |
@@ -0,0 +1,25 @@ |
+# 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. |
+ |
+component("keyed_service_core") { |
tfarina
2014/06/28 20:12:45
Brett, didn't you mean s/keyed_service_core/core h
|
+ output_name = "keyed_service_core" |
+ sources = [ |
tfarina
2014/06/28 20:12:46
blank line above.
|
+ "dependency_graph.cc", |
+ "dependency_graph.h", |
+ "dependency_node.h", |
+ "keyed_service.cc", |
+ "keyed_service.h", |
+ "keyed_service_export.h", |
+ ] |
+ |
+ defines = [ "KEYED_SERVICE_IMPLEMENTATION" ] |
+ if (is_win) { |
tfarina
2014/06/28 20:12:45
I usually put conditions after deps.
tfarina
2014/06/28 20:12:45
blank line above.
|
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ cflags = [ "/wd4267" ] |
+ } |
+ |
+ deps = [ |
+ "//base", |
+ ] |
+} |