Index: infra/bots/recipes/swarm_compile.py |
diff --git a/infra/bots/recipes/swarm_compile.py b/infra/bots/recipes/swarm_compile.py |
index 5f7ae3662d13549fd90ea15eeb137d1e8c10fa4a..a9f7fb03a17bb4e57172ad9a5798d3dc5e2db96c 100644 |
--- a/infra/bots/recipes/swarm_compile.py |
+++ b/infra/bots/recipes/swarm_compile.py |
@@ -40,6 +40,7 @@ TEST_BUILDERS = { |
'Build-Ubuntu-GCC-x86-Debug', |
'Build-Ubuntu-GCC-x86_64-Debug-GN', |
'Build-Ubuntu-GCC-x86_64-Debug-MSAN', |
+ 'Build-Ubuntu-GCC-x86_64-Debug-NoGPU', |
'Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE', |
'Build-Ubuntu-GCC-x86_64-Release-ANGLE', |
'Build-Ubuntu-GCC-x86_64-Release-CMake', |
@@ -180,6 +181,10 @@ def get_gyp_defines(builder_dict): |
gyp_defs['skia_vulkan'] = '1' |
gyp_defs['skia_vulkan_debug_layers'] = '0' |
+ # NoGPU. |
+ if 'NoGPU' in builder_dict.get('extra_config', ''): |
+ gyp_defs['skia_gpu'] = 0 |
+ |
return gyp_defs |