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}
91 lines
2.1 KiB
Python
91 lines
2.1 KiB
Python
include_rules = [
|
|
"+third_party/libjpeg",
|
|
"+third_party/libjpeg_turbo",
|
|
"+call",
|
|
"+common_audio",
|
|
"+common_video",
|
|
"+logging/rtc_event_log",
|
|
"+media/base",
|
|
"+media/sctp",
|
|
"+media/engine",
|
|
"+modules/audio_coding",
|
|
"+modules/congestion_controller",
|
|
"+modules/audio_device",
|
|
"+modules/audio_mixer",
|
|
"+modules/audio_processing",
|
|
"+modules/congestion_controller/bbr",
|
|
"+modules/rtp_rtcp",
|
|
"+modules/utility",
|
|
"+modules/video_capture",
|
|
"+modules/video_coding",
|
|
"+p2p/base/basic_packet_socket_factory.h",
|
|
"+sdk",
|
|
"+system_wrappers",
|
|
"+third_party/libyuv",
|
|
"+video/config",
|
|
]
|
|
|
|
specific_include_rules = {
|
|
"gmock\.h": [
|
|
"+testing/gmock/include/gmock",
|
|
],
|
|
"gtest\.h": [
|
|
"+testing/gtest/include/gtest",
|
|
],
|
|
".*congestion_controller_feedback_fuzzer\.cc": [
|
|
"+modules/congestion_controller/include/receive_side_congestion_controller.h",
|
|
"+modules/pacing/packet_router.h",
|
|
"+modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h",
|
|
],
|
|
".*mdns_parser_fuzzer\.cc": [
|
|
"+p2p/base/mdns_message.h",
|
|
],
|
|
".*pseudotcp_parser_fuzzer\.cc": [
|
|
"+p2p/base/pseudo_tcp.h",
|
|
],
|
|
".*stun_parser_fuzzer\.cc": [
|
|
"+p2p/base/stun.h",
|
|
],
|
|
".*stun_validator_fuzzer\.cc": [
|
|
"+p2p/base/stun.h",
|
|
],
|
|
".*test_main_lib\.cc": [
|
|
"+third_party/perfetto",
|
|
],
|
|
".*test_main\.cc": [
|
|
"+absl/debugging/failure_signal_handler.h",
|
|
"+absl/debugging/symbolize.h",
|
|
],
|
|
".*test_peer\.(h|cc)": [
|
|
"+pc",
|
|
"+p2p",
|
|
],
|
|
".*test_peer_factory\.(h|cc)": [
|
|
"+pc",
|
|
"+p2p",
|
|
],
|
|
".*peer_connection_quality_test_params\.h": [
|
|
"+p2p/base/port_allocator.h",
|
|
],
|
|
".*network_emulation_pc_unittest\.cc": [
|
|
"+pc/peer_connection_wrapper.h",
|
|
"+pc/test/mock_peer_connection_observers.h",
|
|
"+p2p/client/basic_port_allocator.h",
|
|
],
|
|
".*peer_connection_quality_test\.(h|cc)": [
|
|
"+pc",
|
|
],
|
|
".*sdp_changer\.(h|cc)": [
|
|
"+pc",
|
|
"+p2p",
|
|
],
|
|
".*test_video_capturer_video_track_source.h": [
|
|
"+pc",
|
|
],
|
|
"benchmark_main\.cc": [
|
|
"+benchmark",
|
|
],
|
|
"emulated_turn_server\.h": [
|
|
"+p2p/base/turn_server.h",
|
|
]
|
|
}
|