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

Unified Diff: scripts/slave/recipe_modules/goma/api.py

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: 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
« no previous file with comments | « scripts/slave/recipe_modules/goma/__init__.py ('k') | scripts/slave/recipe_modules/gsutil/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/goma/api.py
diff --git a/scripts/slave/recipe_modules/goma/api.py b/scripts/slave/recipe_modules/goma/api.py
index 87f754c90cd7518c784cf2dc22bf15b5c183bb90..4c0b3de1eefb593d75dcdc0a7570b27ceaa5fc70 100644
--- a/scripts/slave/recipe_modules/goma/api.py
+++ b/scripts/slave/recipe_modules/goma/api.py
@@ -18,11 +18,11 @@ class GomaApi(recipe_api.RecipeApi):
# deprecated? switch to use ensure_goma with canary=True.
# for git checkout, should use @refs/heads/master to use head.
head = 'refs/heads/master'
- # TODO(phajdan.jr): Remove infra_paths['build'] usage, http://crbug.com/437264 .
+ # TODO(phajdan.jr): Remove path['build'] usage, http://crbug.com/437264 .
self.m.gclient('update goma canary',
['sync', '--verbose', '--force',
'--revision', 'build/goma@%s' % head],
- cwd=self.m.infra_paths['build'])
+ cwd=self.m.path['build'])
def ensure_goma(self):
with self.m.step.nest('ensure_goma'):
@@ -36,7 +36,7 @@ class GomaApi(recipe_api.RecipeApi):
# For Windows there's only 64-bit goma client.
if self.m.platform.is_win:
goma_package = goma_package.replace('386', 'amd64')
- goma_dir = self.m.infra_paths['cache'].join('cipd', 'goma')
+ goma_dir = self.m.path['cache'].join('cipd', 'goma')
self.m.cipd.ensure(goma_dir, {goma_package: 'release'})
return goma_dir
except self.m.step.StepFailure: # pragma: no cover
« no previous file with comments | « scripts/slave/recipe_modules/goma/__init__.py ('k') | scripts/slave/recipe_modules/gsutil/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698