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 protos = [ | |
|
Primiano Tucci (use gerrit)
2016/08/26 14:27:32
Oh I see what you are doing here, but I'd explicit
| |
| 8 "event.proto", | |
| 9 "events_chunk.proto", | |
| 10 ] | |
| 11 | |
| 12 # Stubs generated using custom plugin. | |
| 13 proto_library("tracing_protos") { | |
| 14 visibility = [ "//components/tracing/*" ] | |
| 15 | |
| 16 proto_in_dir = "." | |
| 17 sources = protos | |
| 18 | |
| 19 generator_plugin_label = | |
| 20 "//components/tracing/tools/proto_zero_plugin:proto_zero_plugin" | |
| 21 generator_plugin_suffix = ".pbzero" | |
| 22 generator_plugin_options = "wrapper_namespace=pbzero" | |
| 23 generate_cc = false | |
| 24 generate_python = false | |
| 25 } | |
| 26 | |
| 27 # Official protobuf C++ and Python stubs. | |
| 28 proto_library("tracing_protos_golden") { | |
| 29 visibility = [ "//components/tracing/*" ] | |
| 30 | |
| 31 proto_in_dir = "." | |
| 32 sources = protos | |
| 33 } | |
| OLD | NEW |