From 9dd4d3502abda138c23da8aee0e560cb42d3feb6 Mon Sep 17 00:00:00 2001 From: Swift Kim Date: Wed, 25 Jan 2023 14:14:36 +0900 Subject: [PATCH] [Tizen] Temporarily disable Vulkan backend for Linux --- impeller/tools/args.gni | 2 +- tools/gn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/impeller/tools/args.gni b/impeller/tools/args.gni index adfc111ffce15..1b8d30d018b3d 100644 --- a/impeller/tools/args.gni +++ b/impeller/tools/args.gni @@ -17,7 +17,7 @@ declare_args() { enable_unittests) && target_os != "fuchsia" # Whether the Vulkan backend is enabled. - impeller_enable_vulkan = (is_linux || is_win || is_android || is_mac || + impeller_enable_vulkan = (is_win || is_android || is_mac || enable_unittests) && target_os != "fuchsia" } diff --git a/tools/gn b/tools/gn index 56babb46fb45c..7b8ecb2eddec4 100755 --- a/tools/gn +++ b/tools/gn @@ -601,7 +601,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']: + if gn_args['target_os'] not in ['ios', 'mac', 'linux']: gn_args['skia_use_vulkan'] = True gn_args['skia_use_vma'] = False gn_args['shell_enable_vulkan'] = True