Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: components/tracing.gyp

Issue 2147613002: Skeleton for proto_zero_plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style and naming Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/tracing/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/tracing.gyp
diff --git a/components/tracing.gyp b/components/tracing.gyp
index 1e6a2303295e6dfeb94a2c3e3d929ea0668647d3..a85840943591acdf531c5b17d9c6d42e50d3ae09 100644
--- a/components/tracing.gyp
+++ b/components/tracing.gyp
@@ -57,5 +57,41 @@
}],
]
},
+ {
+ 'target_name': 'proto_zero_plugin',
+ 'type': 'executable',
+ 'toolsets': ['host'],
+ 'sources': [
+ 'tracing/tools/proto_zero_plugin/proto_zero_generator.cc',
+ 'tracing/tools/proto_zero_plugin/proto_zero_generator.h',
+ 'tracing/tools/proto_zero_plugin/proto_zero_plugin.cc',
+ ],
+ 'include_dirs': [
+ '..',
+ '../third_party/protobuf/src',
+ ],
+ 'dependencies': [
+ '../third_party/protobuf/protobuf.gyp:protoc_lib',
+ ],
+ },
+ {
+ 'target_name': 'proto_zero_testing_messages',
+ 'type': 'static_library',
+ 'variables': {
+ 'proto_in_dir': 'tracing/test',
+ 'proto_out_dir': 'components/tracing/test',
+ 'generator_plugin': 'proto_zero_plugin',
+ 'generator_plugin_suffix': '.pbzero',
+ 'generate_cc': 0,
+ 'generate_python': 0,
+ },
+ 'sources': [
+ 'tracing/test/example_messages.proto',
+ ],
+ 'dependencies': [
+ 'proto_zero_plugin',
+ ],
+ 'includes': ['../build/protoc.gypi'],
+ },
],
}
« no previous file with comments | « components/components_tests.gyp ('k') | components/tracing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698