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: c/1096425
Change-Id: Iaec1bd171423936f5a1817fae08a72079faf16fc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/63840
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Maksim Sisov <msisov@igalia.com>
This commit is contained in:
Maksim Sisov 2021-09-10 06:08:41 +00:00 committed by Dawn LUCI CQ
parent 6fa50b5e6c
commit 08949a3fe7
2 changed files with 3 additions and 3 deletions

View File

@ -20,6 +20,6 @@ import("//build_overrides/vulkan_common.gni")
vvl_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src"
vvl_glslang_dir = "//third_party/vulkan-deps/glslang/src"
# Fake the use_x11 when inside Dawn's repository
# Fake the ozone_platform_x11 when inside Dawn's repository
import("../scripts/dawn_features.gni")
use_x11 = dawn_use_x11

View File

@ -16,9 +16,9 @@ import("//build_overrides/build.gni")
if (build_with_chromium) {
import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
import("//build/config/ozone.gni")
dawn_use_x11 = use_x11
dawn_use_x11 = ozone_platform_x11
} else {
declare_args() {
# Whether Dawn should enable X11 support.