Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(852)

Unified Diff: mojo/common/BUILD.gn

Issue 751303003: Move tracing_impl code to mojo/common (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/common/tracing.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/BUILD.gn
diff --git a/mojo/common/BUILD.gn b/mojo/common/BUILD.gn
index 4707b27103105a63872009c507a0fece4f2dc861..50b8b27ceffd5649c56eca495fb3603d1f51b573 100644
--- a/mojo/common/BUILD.gn
+++ b/mojo/common/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/public/tools/bindings/mojom.gni")
+
# GYP version: mojo/mojo_base.gyp:mojo_common_lib
component("common") {
output_name = "mojo_common_lib"
@@ -57,3 +59,20 @@ test("mojo_common_unittests") {
"//url",
]
}
+
+source_set("tracing_impl") {
+ sources = [
+ "tracing_impl.cc",
+ "tracing_impl.h",
+ ]
+
+ deps = [
+ ":tracing_bindings",
+ "//base",
+ "//mojo/public/cpp/bindings",
+ ]
+}
+
+mojom("tracing_bindings") {
+ sources = [ "tracing.mojom" ]
+}
« no previous file with comments | « no previous file | mojo/common/tracing.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698