rename use_x11 to ozone_platform_x11
Ozone is default now in Chromium and non-Ozone/X11 (aka use_x11) is deprecated. During the transition period use_x11 == ozone_platform_x11. Bug: chromium:1096425 Change-Id: Ie3643360ec6607796533054bdedf8e2bb8e7e749 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231650 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35040}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
afc237751a
commit
ef4d0b6c7a
@ -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:
|
||||
|
Reference in New Issue
Block a user