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

Unified Diff: infra/bots/flavor/default_flavor.py

Issue 1823653002: Swarming: Ensure depot_tools is in PATH when compiling (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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/flavor/default_flavor.py
diff --git a/infra/bots/flavor/default_flavor.py b/infra/bots/flavor/default_flavor.py
index 4d1111795db95becc48aaef679c0fc866f765950..e59887301fc0fecb720287ec9b6c85d6ace493dd 100644
--- a/infra/bots/flavor/default_flavor.py
+++ b/infra/bots/flavor/default_flavor.py
@@ -107,6 +107,9 @@ class DefaultFlavorUtils(object):
env['CHROME_PATH'] = self.chrome_path
self._bot_info._run_once(self.bootstrap_win_toolchain)
else:
+ # Ensure depot_tools is in PATH.
+ depot_tools = os.path.join('/b', 'depot_tools')
+ env['PATH'] = os.pathsep.join([depot_tools, os.environ['PATH']])
make_cmd = ['make']
cmd = make_cmd + [target]
self._bot_info.run(cmd, env=env)
« 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