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

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

Issue 2336233005: update derive_compile_bot_name() for GN_Android_Vulkan (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/bots/recipes/swarm_trigger.py
diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py
index 570b1eaf803a5a383be4f37a42622a55668e9bbf..04e55649eae18c4cfaab8e3667c350d89e899a7f 100644
--- a/infra/bots/recipes/swarm_trigger.py
+++ b/infra/bots/recipes/swarm_trigger.py
@@ -72,12 +72,12 @@ def derive_compile_bot_name(api):
return 'Build-Ubuntu-GCC-x86_64-Release-Shared'
if builder_cfg['role'] in ('Test', 'Perf'):
task_os = builder_cfg['os']
- extra_config = builder_cfg.get('extra_config')
+ extra_config = builder_cfg.get('extra_config', '')
if task_os == 'Android':
if extra_config == 'Vulkan':
extra_config = '%s_%s' % (task_os, 'Vulkan')
- elif extra_config == 'GN_Android':
- pass # i.e. extra_config stays GN_Android
+ elif 'GN_Android' in extra_config:
+ pass # i.e. extra_config stays GN_Android or GN_Android_Vulkan
else:
extra_config = task_os
task_os = 'Ubuntu'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698