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

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