Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: infra/bots/recipes/swarm_compile.py

Issue 2342683003: Fix NoGPU bot, which is compiling in GPU support (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Debug-NoGPU.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Debug-NoGPU.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698