Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//third_party/protobuf/proto_library.gni") | |
| 6 | |
| 7 # Stubs generated using custom plugin. | |
| 8 proto_library("tracing_protos") { | |
| 9 visibility = [ "//components/tracing/*" ] | |
| 10 | |
| 11 proto_in_dir = "." | |
| 12 sources = [ | |
| 13 "event.proto", | |
| 14 "events_chunk.proto", | |
| 15 ] | |
| 16 | |
| 17 generator_plugin_label = | |
| 18 "//components/tracing/tools/proto_zero_plugin:proto_zero_plugin" | |
| 19 generator_plugin_suffix = ".pbzero" | |
| 20 generator_plugin_options = "wrapper_namespace=pbzero" | |
| 21 generate_cc = false | |
| 22 generate_python = false | |
| 23 } | |
| 24 | |
| 25 # Official protobuf C++ stubs to test conformance. | |
| 26 proto_library("golden_tracing_protos_for_tests") { | |
|
Primiano Tucci (use gerrit)
2016/08/26 15:15:13
ditto here (redundancy of "tracing"), as this is a
| |
| 27 visibility = [ "//components/tracing/*" ] | |
| 28 | |
| 29 proto_in_dir = "." | |
| 30 proto_out_dir = "components/tracing/test/golden_tracing_protos" | |
| 31 sources = [ | |
| 32 "events_chunk.proto", | |
| 33 ] | |
| 34 | |
| 35 generate_python = false | |
| 36 } | |
| OLD | NEW |