diff --git a/scripts/dawn_features.gni b/scripts/dawn_features.gni index 7cbb82f444..f2e95860cc 100644 --- a/scripts/dawn_features.gni +++ b/scripts/dawn_features.gni @@ -56,7 +56,8 @@ declare_args() { # dawn_swiftshader_dir variable in build_overrides/dawn.gni # Because of how the Vulkan loader works, setting this make Dawn only able # to find the Swiftshader ICD and not the others. - dawn_use_swiftshader = false + # Enabled by default when fuzzing. + dawn_use_swiftshader = build_with_chromium && use_fuzzing_engine # Enables error injection for faking failures to native API calls dawn_enable_error_injection =