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

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

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
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
Index: scripts/slave/recipe_modules/skia/api.py
diff --git a/scripts/slave/recipe_modules/skia/api.py b/scripts/slave/recipe_modules/skia/api.py
index e5bd5f6e1b7809865d1c26b1ef93abc746331a5b..7e6f16dc2b2653b346b8fa439efa414f684906e7 100644
--- a/scripts/slave/recipe_modules/skia/api.py
+++ b/scripts/slave/recipe_modules/skia/api.py
@@ -156,7 +156,7 @@ class SkiaApi(recipe_api.RecipeApi):
self.master_name = self.m.properties['mastername']
self.slave_name = self.m.properties['slavename']
- self.slave_dir = self.m.path['slave_build']
+ self.slave_dir = self.m.infra_paths['slave_build']
self.skia_dir = self.slave_dir.join('skia')
self.infrabots_dir = self.skia_dir.join('infra', 'bots')
@@ -196,7 +196,7 @@ class SkiaApi(recipe_api.RecipeApi):
else:
self.out_dir = self.m.path['checkout'].join('out', self.builder_name)
self.local_skp_dir = self.slave_dir.join('playback', 'skps')
- self.tmp_dir = self.m.path['slave_build'].join('tmp')
+ self.tmp_dir = self.m.infra_paths['slave_build'].join('tmp')
self.gsutil_env_chromium_skia_gm = self.gsutil_env(BOTO_CHROMIUM_SKIA_GM)
@@ -256,7 +256,7 @@ class SkiaApi(recipe_api.RecipeApi):
def update_repo(self, repo):
"""Update an existing repo. This is safe to call without gen_steps."""
- repo_path = self.m.path['slave_build'].join(repo.name)
+ repo_path = self.m.infra_paths['slave_build'].join(repo.name)
if self.m.path.exists(repo_path):
if self.m.platform.is_win:
git = 'git.bat'
@@ -284,7 +284,7 @@ class SkiaApi(recipe_api.RecipeApi):
if self.running_in_swarming:
# We should've obtained the Skia checkout through isolates, so we don't
# need to perform the checkout ourselves.
- self.m.path['checkout'] = self.m.path['slave_build'].join('skia')
+ self.m.path['checkout'] = self.m.infra_paths['slave_build'].join('skia')
self.got_revision = self.m.properties['revision']
return
@@ -711,7 +711,7 @@ print json.dumps({'ccache': ccache})
self.builder_name,
self.m.properties['buildnumber'],
self.m.properties['issue'] if self.is_trybot else '',
- self.m.path['slave_build'].join('skia', 'common', 'py', 'utils'),
+ self.m.infra_paths['slave_build'].join('skia', 'common', 'py', 'utils'),
],
cwd=self.m.path['checkout'],
env=self.gsutil_env_chromium_skia_gm,
@@ -816,7 +816,7 @@ print json.dumps({'ccache': ccache})
# out dir, so we don't need to upload.
return
- gsutil_path = self.m.path['depot_tools'].join(
+ gsutil_path = self.m.infra_paths['depot_tools'].join(
'third_party', 'gsutil', 'gsutil')
upload_args = [self.builder_name, self.m.properties['buildnumber'],
self.perf_data_dir, self.got_revision, gsutil_path]

Powered by Google App Engine
This is Rietveld 408576698