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

Unified Diff: scripts/slave/recipes/infra/luci_gae.py

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 years, 8 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: scripts/slave/recipes/infra/luci_gae.py
diff --git a/scripts/slave/recipes/infra/luci_gae.py b/scripts/slave/recipes/infra/luci_gae.py
index b8b2b681c405985b789e0a4a488c74e9683f0781..3e34e191d4bcdb2efc169dc5bb6ab6f075da0b5e 100644
--- a/scripts/slave/recipes/infra/luci_gae.py
+++ b/scripts/slave/recipes/infra/luci_gae.py
@@ -6,6 +6,7 @@ DEPS = [
'depot_tools/bot_update',
'depot_tools/gclient',
'depot_tools/git',
+ 'depot_tools/infra_paths',
'recipe_engine/json',
'recipe_engine/path',
'recipe_engine/properties',
@@ -22,8 +23,8 @@ def _run_presubmit(api, patch_root, bot_update_step):
# infra/go/env.py takes care of this.
presubmit_cmd = [
'python', # env.py will replace with this its sys.executable.
- api.path['depot_tools'].join('presubmit_support.py'),
- '--root', api.path['slave_build'].join(patch_root),
+ api.infra_paths['depot_tools'].join('presubmit_support.py'),
+ '--root', api.infra_paths['slave_build'].join(patch_root),
'--commit',
'--verbose', '--verbose',
'--issue', api.properties['issue'],
@@ -45,7 +46,7 @@ def _commit_change(api, patch_root):
'-c', 'user.name=The Commit Bot',
'commit', '-a', '-m', 'Committed patch',
name='commit git patch',
- cwd=api.path['slave_build'].join(patch_root))
+ cwd=api.infra_paths['slave_build'].join(patch_root))
def RunSteps(api):

Powered by Google App Engine
This is Rietveld 408576698