Index: components/tracing.gyp |
diff --git a/components/tracing.gyp b/components/tracing.gyp |
index 1e6a2303295e6dfeb94a2c3e3d929ea0668647d3..e4b0dbcd2b56101b40c64871a00dbd22f1742cc7 100644 |
--- a/components/tracing.gyp |
+++ b/components/tracing.gyp |
@@ -57,5 +57,41 @@ |
}], |
] |
}, |
+ { |
+ 'target_name': 'proto_zero_plugin', |
+ 'type': 'executable', |
+ 'toolsets': ['host'], |
+ 'sources': [ |
+ 'tracing/proto_zero_plugin/proto_zero_generator.cc', |
+ 'tracing/proto_zero_plugin/proto_zero_generator.h', |
+ 'tracing/proto_zero_plugin/proto_zero_plugin.cc', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ '../third_party/protobuf/src', |
+ ], |
+ 'dependencies': [ |
+ '../third_party/protobuf/protobuf.gyp:protoc_lib', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'mock_messages', |
Primiano Tucci (use gerrit)
2016/07/13 16:52:31
call this target "proto_zero_test_message"
this ta
|
+ 'type': 'static_library', |
+ 'variables': { |
+ 'proto_in_dir': 'tracing/proto_zero_plugin', |
+ 'proto_out_dir': 'components/tracing/proto_zero_plugin', |
+ 'generator_plugin': 'proto_zero_plugin', |
+ 'generator_plugin_suffix': '.zeropb', |
Primiano Tucci (use gerrit)
2016/07/13 16:52:31
i'd make this .pbzero for consistency with ProtoZe
|
+ 'generate_cc': 0, |
+ 'generate_python': 0, |
+ }, |
+ 'sources': [ |
+ 'tracing/proto_zero_plugin/mock_messages.proto', |
+ ], |
+ 'dependencies': [ |
+ 'proto_zero_plugin', |
+ ], |
+ 'includes': ['../build/protoc.gypi'], |
+ }, |
], |
} |