diff --git a/build_overrides/vulkan_headers.gni b/build_overrides/vulkan_headers.gni index 5efa852344924..8a4144db207b6 100644 --- a/build_overrides/vulkan_headers.gni +++ b/build_overrides/vulkan_headers.gni @@ -6,6 +6,6 @@ # set anything. if (is_linux) { - vulkan_use_x11 = true + vulkan_use_x11 = false vulkan_use_wayland = true } diff --git a/impeller/tools/impeller.gni b/impeller/tools/impeller.gni index a81cbc352387e..55453fe574f32 100644 --- a/impeller/tools/impeller.gni +++ b/impeller/tools/impeller.gni @@ -22,7 +22,7 @@ declare_args() { enable_unittests) && target_os != "fuchsia" # Whether the Vulkan backend is enabled. - impeller_enable_vulkan = (is_win || is_android || is_mac || + impeller_enable_vulkan = (is_linux || is_win || is_android || is_mac || enable_unittests) && target_os != "fuchsia" # Whether to use a prebuilt impellerc. diff --git a/tools/gn b/tools/gn index 5480e2f0d81fe..c485d9b468b6d 100755 --- a/tools/gn +++ b/tools/gn @@ -668,7 +668,7 @@ def to_gn_args(args): # Enable Vulkan on all platforms except for iOS. This is just # to save on mobile binary size, as there's no reason the Vulkan embedder # features can't work on these platforms. - if gn_args['target_os'] not in ['ios', 'mac', 'linux']: + if gn_args['target_os'] not in ['ios', 'mac']: gn_args['skia_use_vulkan'] = True gn_args['skia_use_vma'] = False gn_args['shell_enable_vulkan'] = True