From a3bde0a84442cd881accf7a9062feba0550dfd71 Mon Sep 17 00:00:00 2001 From: Harald Alvestrand Date: Mon, 8 Jan 2024 09:13:32 +0000 Subject: [PATCH] Add disable_trace_events compilation The intent is to catch compile errors when tracing is turned off. Bug: None Change-Id: I48a42e53e7bd8053984b7d0687b1f6abe538cba1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/333760 Reviewed-by: Christoffer Dewerin Auto-Submit: Harald Alvestrand Commit-Queue: Harald Alvestrand Cr-Commit-Position: refs/heads/main@{#41474} --- tools_webrtc/mb/mb_config.pyl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools_webrtc/mb/mb_config.pyl b/tools_webrtc/mb/mb_config.pyl index 42d73506af..8862950e0e 100644 --- a/tools_webrtc/mb/mb_config.pyl +++ b/tools_webrtc/mb/mb_config.pyl @@ -146,6 +146,7 @@ 'dummy_audio_file_devices_no_protobuf': 'dummy_audio_file_devices_no_protobuf_android_arm', 'rtti_no_sctp': 'rtti_no_sctp_android_arm', + 'disable_trace_events': 'disable_trace_events_android_arm', }, 'android_arm_rel': 'android_release_bot_arm', 'android_compile_arm64_dbg': 'android_debug_static_bot_arm64', @@ -183,6 +184,7 @@ 'dummy_audio_file_devices_no_protobuf': 'dummy_audio_file_devices_no_protobuf_x64', 'rtti_no_sctp': 'rtti_no_sctp_x64', + 'disable_trace_events': 'disable_trace_events_x64', }, 'linux_msan': 'msan_clang_release_bot_x64', 'linux_rel': 'release_bot_x64', @@ -218,6 +220,7 @@ 'dummy_audio_file_devices_no_protobuf': 'dummy_audio_file_devices_no_protobuf_x86', 'rtti_no_sctp': 'rtti_no_sctp_no_unicode_win_x86', + 'disable_trace_events': 'disable_trace_events_x86', }, } }, @@ -302,6 +305,12 @@ 'debug_bot_arm64': ['openh264', 'debug_bot', 'arm64', 'h265'], 'debug_bot_x64': ['openh264', 'debug_bot', 'x64', 'h265'], 'debug_bot_x86': ['openh264', 'debug_bot', 'x86', 'h265'], + 'disable_trace_events_android_arm': + ['android', 'arm', 'disable_trace_events', 'release_bot'], + 'disable_trace_events_x64': + ['x64', 'disable_trace_events', 'release_bot'], + 'disable_trace_events_x86': + ['x86', 'disable_trace_events', 'release_bot'], 'dummy_audio_file_devices_no_protobuf_android_arm': [ 'android', 'debug_static_bot', 'arm', 'dummy_audio_file_devices', 'no_protobuf' @@ -451,6 +460,9 @@ 'debug_static_bot': { 'mixins': ['debug', 'minimal_symbols', 'reclient', 'strict_field_trials'], }, + 'disable_trace_events': { + 'gn_args': 'rtc_disable_trace_events=true', + }, 'dummy_audio_file_devices': { 'gn_args': 'rtc_use_dummy_audio_file_devices=true', },