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 <jansson@google.com>
Auto-Submit: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41474}
This commit is contained in:
Harald Alvestrand 2024-01-08 09:13:32 +00:00 committed by WebRTC LUCI CQ
parent 293af4b5e0
commit a3bde0a844

View File

@ -146,6 +146,7 @@
'dummy_audio_file_devices_no_protobuf': 'dummy_audio_file_devices_no_protobuf':
'dummy_audio_file_devices_no_protobuf_android_arm', 'dummy_audio_file_devices_no_protobuf_android_arm',
'rtti_no_sctp': 'rtti_no_sctp_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_arm_rel': 'android_release_bot_arm',
'android_compile_arm64_dbg': 'android_debug_static_bot_arm64', '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':
'dummy_audio_file_devices_no_protobuf_x64', 'dummy_audio_file_devices_no_protobuf_x64',
'rtti_no_sctp': 'rtti_no_sctp_x64', 'rtti_no_sctp': 'rtti_no_sctp_x64',
'disable_trace_events': 'disable_trace_events_x64',
}, },
'linux_msan': 'msan_clang_release_bot_x64', 'linux_msan': 'msan_clang_release_bot_x64',
'linux_rel': 'release_bot_x64', 'linux_rel': 'release_bot_x64',
@ -218,6 +220,7 @@
'dummy_audio_file_devices_no_protobuf': 'dummy_audio_file_devices_no_protobuf':
'dummy_audio_file_devices_no_protobuf_x86', 'dummy_audio_file_devices_no_protobuf_x86',
'rtti_no_sctp': 'rtti_no_sctp_no_unicode_win_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_arm64': ['openh264', 'debug_bot', 'arm64', 'h265'],
'debug_bot_x64': ['openh264', 'debug_bot', 'x64', 'h265'], 'debug_bot_x64': ['openh264', 'debug_bot', 'x64', 'h265'],
'debug_bot_x86': ['openh264', 'debug_bot', 'x86', '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': [ 'dummy_audio_file_devices_no_protobuf_android_arm': [
'android', 'debug_static_bot', 'arm', 'dummy_audio_file_devices', 'android', 'debug_static_bot', 'arm', 'dummy_audio_file_devices',
'no_protobuf' 'no_protobuf'
@ -451,6 +460,9 @@
'debug_static_bot': { 'debug_static_bot': {
'mixins': ['debug', 'minimal_symbols', 'reclient', 'strict_field_trials'], 'mixins': ['debug', 'minimal_symbols', 'reclient', 'strict_field_trials'],
}, },
'disable_trace_events': {
'gn_args': 'rtc_disable_trace_events=true',
},
'dummy_audio_file_devices': { 'dummy_audio_file_devices': {
'gn_args': 'rtc_use_dummy_audio_file_devices=true', 'gn_args': 'rtc_use_dummy_audio_file_devices=true',
}, },