Chromium Code Reviews| Index: components/tracing/proto_zero_plugin/BUILD.gn |
| diff --git a/components/tracing/proto_zero_plugin/BUILD.gn b/components/tracing/proto_zero_plugin/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1f2f1bcea5ea73b12ab98df9c230567fed1b854d |
| --- /dev/null |
| +++ b/components/tracing/proto_zero_plugin/BUILD.gn |
| @@ -0,0 +1,17 @@ |
| +# Copyright 2016 The Chromium Authors. All rights reserved. |
|
Primiano Tucci (use gerrit)
2016/07/05 11:30:16
Move all the plugin thing under a "tools" folder (
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +if (current_toolchain == host_toolchain) { |
| + executable("proto_zero_plugin") { |
| + sources = [ |
| + "proto_zero_generator.cc", |
| + "proto_zero_generator.h", |
| + "proto_zero_plugin.cc", |
| + ] |
| + |
| + deps = [ |
| + "//third_party/protobuf:protoc_lib", |
| + ] |
| + } |
| +} |