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

Unified Diff: components/tracing.gyp

Issue 2196663002: tracing v2: Introduce TraceBufferWriter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proto_refactor
Patch Set: Fix linking errors moving kChunkSize outside of exported class Created 4 years, 4 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 7517d9cdc5a62976a8b2a9a1a2c6e564be79276f..1ea16ddd4e5051d2b07a6e8b598ddc2f34f519c9 100644
--- a/components/tracing.gyp
+++ b/components/tracing.gyp
@@ -49,6 +49,8 @@
'tracing/core/proto_zero_message_handle.h',
'tracing/core/scattered_stream_writer.cc',
'tracing/core/scattered_stream_writer.h',
+ 'tracing/core/trace_buffer_writer.cc',
+ 'tracing/core/trace_buffer_writer.h',
'tracing/core/trace_ring_buffer.cc',
'tracing/core/trace_ring_buffer.h',
'tracing/tracing_export.h',
@@ -97,5 +99,20 @@
],
'includes': ['../build/protoc.gypi'],
},
+ {
+ # Official protobuf used by tests to verify that the Tracing V2 output is
+ # effectively proto-compatible.
+ # GN version: //components/tracing:golden_protos_for_tests
+ 'target_name': 'golden_protos_for_tests',
+ 'type': 'static_library',
+ 'variables': {
+ 'proto_in_dir': 'tracing/proto',
+ 'proto_out_dir': 'components/tracing/test/golden_protos',
+ },
+ 'sources': [
+ 'tracing/proto/events_chunk.proto',
+ ],
+ '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