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

Unified Diff: scripts/slave/recipes/skia/infra.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/skia/infra.py
diff --git a/scripts/slave/recipes/skia/infra.py b/scripts/slave/recipes/skia/infra.py
index ff24f83c1352ce25aba450526238d8835fe21f59..92ee5d9be55b4579d2f9a9d490e5e08c9fbc0676 100644
--- a/scripts/slave/recipes/skia/infra.py
+++ b/scripts/slave/recipes/skia/infra.py
@@ -10,6 +10,7 @@ import re
DEPS = [
+ 'depot_tools/infra_paths',
'file',
'recipe_engine/path',
'recipe_engine/platform',
@@ -62,7 +63,7 @@ def git_checkout(api, url, dest, ref=None):
def RunSteps(api):
- go_dir = api.path['slave_build'].join('go')
+ go_dir = api.infra_paths['slave_build'].join('go')
go_src = go_dir.join('src')
api.file.makedirs('makedirs go/src', go_src)
infra_dir = go_src.join(INFRA_GO)
@@ -125,8 +126,8 @@ def RunSteps(api):
def GenTests(api):
yield (
api.test('Infra-PerCommit') +
- api.path.exists(api.path['slave_build'].join('go', 'src', INFRA_GO,
- '.git')) +
+ api.infra_paths.exists(
+ api.infra_paths['slave_build'].join('go', 'src', INFRA_GO, '.git')) +
api.properties(slavename='skiabot-linux-infra-001')
)
yield (

Powered by Google App Engine
This is Rietveld 408576698