diff --git a/impeller/tools/impeller.gni b/impeller/tools/impeller.gni index e6e71edfbeae6..7ec09b2334384 100644 --- a/impeller/tools/impeller.gni +++ b/impeller/tools/impeller.gni @@ -17,7 +17,7 @@ declare_args() { impeller_enable_opengles = is_mac || is_linux || is_win || is_android # Whether the Vulkan backend is enabled. - impeller_enable_vulkan = is_linux || is_android + impeller_enable_vulkan = is_android # Whether to use a prebuilt impellerc. # If this is the empty string, impellerc will be built. diff --git a/tools/gn b/tools/gn index f76ba5f19c486..09cfe690b0231 100755 --- a/tools/gn +++ b/tools/gn @@ -434,10 +434,10 @@ def to_gn_args(args): gn_args['skia_use_metal'] = True gn_args['shell_enable_metal'] = True - # Enable Vulkan on all platforms except for iOS. This is just + # Enable Vulkan on all platforms except for iOS and Linux. 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 args.target_os not in ['ios']: + if args.target_os not in ['ios', 'linux']: gn_args['skia_use_vulkan'] = True gn_args['skia_use_vma'] = False gn_args['shell_enable_vulkan'] = True