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

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

Issue 2294353002: Add and use a clang_linux asset. (Closed)
Patch Set: SAN|Clang Created 4 years, 4 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
Index: infra/bots/recipes/swarm_trigger.py
diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py
index f512f770d6ec6ca5a6de3e1af5d78a9f87042df9..7b3bf9eb47bea3896b2eed29db94c75fce055fa5 100644
--- a/infra/bots/recipes/swarm_trigger.py
+++ b/infra/bots/recipes/swarm_trigger.py
@@ -354,13 +354,17 @@ def compile_steps_swarm(api, builder_cfg, got_revision, infrabots_dir):
cipd_packages = []
# Android bots require a toolchain.
- if 'Android' in api.properties['buildername']:
+ if 'Android' in builder_name:
cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_sdk'))
- if 'Mac' in api.properties['buildername']:
+ if 'Mac' in builder_name:
cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_ndk_darwin'))
else:
cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_ndk_linux'))
+ if 'Ubuntu' in builder_name and (
+ 'SAN' in builder_name or 'Clang' in builder_name):
+ cipd_packages.append(cipd_pkg(api, infrabots_dir, 'clang_linux'))
+
# Windows bots require a toolchain.
if 'Win' in builder_name:
version_file = infrabots_dir.join('assets', 'win_toolchain', 'VERSION')

Powered by Google App Engine
This is Rietveld 408576698