| 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 (
|
|
|