Index: services/resource_coordinator/tracing/BUILD.gn |
diff --git a/services/resource_coordinator/tracing/BUILD.gn b/services/resource_coordinator/tracing/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3f917ead35102957040ae6a38b51911994db7790 |
--- /dev/null |
+++ b/services/resource_coordinator/tracing/BUILD.gn |
@@ -0,0 +1,41 @@ |
+# Copyright 2017 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. |
+ |
+import("//services/service_manager/public/cpp/service.gni") |
+import("//services/service_manager/public/service_manifest.gni") |
+ |
+service("tracing") { |
+ sources = [ |
+ "main.cc", |
+ ] |
+ |
+ deps = [ |
+ ":lib", |
+ "//services/service_manager/public/cpp", |
+ ] |
+} |
+ |
+source_set("lib") { |
+ sources = [ |
+ "agent_set_impl.cc", |
+ "agent_set_impl.h", |
+ "coordinator_impl.cc", |
+ "coordinator_impl.h", |
+ "recorder_impl.cc", |
+ "recorder_impl.h", |
+ "service.cc", |
+ "service.h", |
+ ] |
+ |
+ public_deps = [ |
+ "//base", |
+ "//mojo/common", |
+ "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", |
+ ] |
+} |
+ |
+service_manifest("manifest") { |
+ name = "tracing" |
+ source = "manifest.json" |
+} |