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

Unified Diff: components/tracing/proto/BUILD.gn

Issue 2281903002: Tracing V2: Trace buffer writer uses proto. (Closed)
Patch Set: Created 4 years, 4 months 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
Index: components/tracing/proto/BUILD.gn
diff --git a/components/tracing/proto/BUILD.gn b/components/tracing/proto/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..46d3d379d50b5fb797c93c4363a11a11ae7afc0a
--- /dev/null
+++ b/components/tracing/proto/BUILD.gn
@@ -0,0 +1,33 @@
+# Copyright 2016 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("//third_party/protobuf/proto_library.gni")
+
+protos = [
Primiano Tucci (use gerrit) 2016/08/26 14:27:32 Oh I see what you are doing here, but I'd explicit
+ "event.proto",
+ "events_chunk.proto",
+]
+
+# Stubs generated using custom plugin.
+proto_library("tracing_protos") {
+ visibility = [ "//components/tracing/*" ]
+
+ proto_in_dir = "."
+ sources = protos
+
+ generator_plugin_label =
+ "//components/tracing/tools/proto_zero_plugin:proto_zero_plugin"
+ generator_plugin_suffix = ".pbzero"
+ generator_plugin_options = "wrapper_namespace=pbzero"
+ generate_cc = false
+ generate_python = false
+}
+
+# Official protobuf C++ and Python stubs.
+proto_library("tracing_protos_golden") {
+ visibility = [ "//components/tracing/*" ]
+
+ proto_in_dir = "."
+ sources = protos
+}

Powered by Google App Engine
This is Rietveld 408576698