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

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

Issue 2209423002: [recipes] Remove build environment vars from default_env (Closed) Base URL: https://skia.googlesource.com/skia.git@merge_buildbot_spec_fix_coverage
Patch Set: [recipes] Remove build environment vars from default_env 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_compile.py
diff --git a/infra/bots/recipes/swarm_compile.py b/infra/bots/recipes/swarm_compile.py
index 09fb1f62bc4b6c1fc00e872a2db0ccc1fb95b0f5..bb592563af29afb3e0401ddee72784b58c076a3d 100644
--- a/infra/bots/recipes/swarm_compile.py
+++ b/infra/bots/recipes/swarm_compile.py
@@ -48,9 +48,13 @@ TEST_BUILDERS = {
def RunSteps(api):
api.core.setup()
+ env = api.vars.builder_spec['env']
+
+ build_targets = api.vars.builder_spec['build_targets']
+
try:
- for target in api.vars.build_targets:
- api.flavor.compile(target)
+ for target in build_targets:
+ api.flavor.compile(target, env=env)
api.run.copy_build_products(
api.flavor.out_dir,
api.vars.swarming_out_dir.join(

Powered by Google App Engine
This is Rietveld 408576698