diff --git a/impeller/tools/impeller.gni b/impeller/tools/impeller.gni index 7ec09b2334384..e6e71edfbeae6 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_android + impeller_enable_vulkan = is_linux || 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 3a71cc2eeda79..00a3b710088e7 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 and Linux. This is just + # 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 args.target_os not in ['ios', 'linux']: + if args.target_os not in ['ios']: gn_args['skia_use_vulkan'] = True gn_args['skia_use_vma'] = False gn_args['shell_enable_vulkan'] = True