mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00

This is the first new style trace event so this CL adds and updates WebRTCs Perfetto configuration. * Changes all #includes to target "third_party/perfetto". Added this to DEPS. * Expose the Perfetto public config in the "tracing" group using an all_dependent_configs statement. This means the config is included in all parts that include the "//:tracing" group. However, direct perfetto includes are banned per DEPS. * In order to expose Perfetto types (ie Flow/TerminatingFlow) the perfetto headers are a dependancy on all targets. This should not affect binary size as these are not used when perfetto is not enabled and will not be linked. Bug: b/42226290 Change-Id: I5711d81dae95ee907cbcd41bf1ee9b55d2ec595c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/349161 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@google.com> Cr-Commit-Position: refs/heads/main@{#42197}
24 lines
424 B
Python
24 lines
424 B
Python
include_rules = [
|
|
"+json",
|
|
"+system_wrappers",
|
|
"+third_party/jsoncpp",
|
|
"+third_party/libevent",
|
|
]
|
|
|
|
specific_include_rules = {
|
|
"protobuf_utils.h": [
|
|
"+third_party/protobuf",
|
|
],
|
|
"gunit\.h": [
|
|
"+testing/base/public/gunit.h"
|
|
],
|
|
"trace_categories\.h": [
|
|
"+third_party/perfetto",
|
|
],
|
|
"event_tracer\.cc": [
|
|
"+third_party/perfetto",
|
|
],
|
|
"trace_event\.h": [
|
|
"+third_party/perfetto",
|
|
]
|
|
}
|