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("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_protos_for_tests") { |
| 27 visibility = [ "//components/tracing/*" ] |
| 28 testonly = true |
| 29 |
| 30 proto_in_dir = "." |
| 31 proto_out_dir = "components/tracing/test/golden_protos" |
| 32 sources = [ |
| 33 "events_chunk.proto", |
| 34 ] |
| 35 |
| 36 generate_python = false |
| 37 } |
OLD | NEW |