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

Side by Side Diff: components/tracing/proto/BUILD.gn

Issue 2293073002: Tracing V2: Proto fields reflection. (Closed)
Patch Set: new one Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 # Stubs generated using custom plugin. 7 # Stubs generated using custom plugin.
8 proto_library("protos") { 8 proto_library("protos") {
9 visibility = [ "//components/tracing/*" ] 9 visibility = [ "//components/tracing/*" ]
10 10
11 proto_in_dir = "." 11 proto_in_dir = "."
12 sources = [ 12 sources = [
13 "event.proto", 13 "event.proto",
14 "events_chunk.proto", 14 "events_chunk.proto",
15 ] 15 ]
16 16
17 generator_plugin_label = 17 generator_plugin_label =
18 "//components/tracing/tools/proto_zero_plugin:proto_zero_plugin" 18 "//components/tracing/tools/proto_zero_plugin:proto_zero_plugin"
19 generator_plugin_suffix = ".pbzero" 19 generator_plugin_suffix = ".pbzero"
20 generator_plugin_options = "wrapper_namespace=pbzero" 20 generator_plugin_options = "wrapper_namespace=pbzero,reflection=true"
Primiano Tucci (use gerrit) 2016/09/01 16:18:06 ditto
21 generate_cc = false 21 generate_cc = false
22 generate_python = false 22 generate_python = false
23 } 23 }
24 24
25 # Official protobuf C++ stubs to test conformance. 25 # Official protobuf C++ stubs to test conformance.
26 proto_library("golden_protos_for_tests") { 26 proto_library("golden_protos_for_tests") {
27 visibility = [ "//components/tracing/*" ] 27 visibility = [ "//components/tracing/*" ]
28 testonly = true 28 testonly = true
29 29
30 proto_in_dir = "." 30 proto_in_dir = "."
31 proto_out_dir = "components/tracing/test/golden_protos" 31 proto_out_dir = "components/tracing/test/golden_protos"
32 sources = [ 32 sources = [
33 "events_chunk.proto", 33 "events_chunk.proto",
34 ] 34 ]
35 35
36 generate_python = false 36 generate_python = false
37 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698