diff --git a/AUTHORS b/AUTHORS index 809628212d..11da0f4b1e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -70,6 +70,7 @@ Mallikarjuna Rao V Manish Jethani Martin Storsjo Matthias Liebig +Maksim Sisov Maxim Pavlov Maxim Potapov Michael Iedema diff --git a/tools_webrtc/mb/mb.py b/tools_webrtc/mb/mb.py index 45606ffbf4..b0266ac5e2 100755 --- a/tools_webrtc/mb/mb.py +++ b/tools_webrtc/mb/mb.py @@ -911,9 +911,8 @@ class MetaBuildWrapper(object): cmdline.append('../../tools_webrtc/ensure_webcam_is_running.py') extra_files.append('../../tools_webrtc/ensure_webcam_is_running.py') - # This needs to mirror the settings in //build/config/ui.gni: - # use_x11 = is_linux && !use_ozone. - use_x11 = is_linux and not 'use_ozone=true' in vals['gn_args'] + # is_linux uses use_ozone and x11 by default. + use_x11 = is_linux xvfb = use_x11 and test_type == 'windowed_test_launcher' if xvfb: diff --git a/webrtc.gni b/webrtc.gni index a32e7bfc44..3d8c538c37 100644 --- a/webrtc.gni +++ b/webrtc.gni @@ -8,9 +8,9 @@ import("//build/config/arm.gni") import("//build/config/features.gni") import("//build/config/mips.gni") +import("//build/config/ozone.gni") import("//build/config/sanitizers/sanitizers.gni") import("//build/config/sysroot.gni") -import("//build/config/ui.gni") import("//build_overrides/build.gni") if (!build_with_chromium && is_component_build) { @@ -124,7 +124,7 @@ declare_args() { rtc_build_tools = true # Set this to false to skip building code that requires X11. - rtc_use_x11 = use_x11 + rtc_use_x11 = ozone_platform_x11 # Set this to use PipeWire on the Wayland display server. # By default it's only enabled on desktop Linux (excludes ChromeOS) and