| Index: scripts/slave/recipes/art.py
|
| diff --git a/scripts/slave/recipes/art.py b/scripts/slave/recipes/art.py
|
| index 9f49098826c2ef0a9f5fbbb9a6011cb4817a8347..92aca00b0c4f5b7f908625330d62ece5c846b99f 100644
|
| --- a/scripts/slave/recipes/art.py
|
| +++ b/scripts/slave/recipes/art.py
|
| @@ -5,6 +5,7 @@
|
| # TODO: remove redundant DEPS.
|
| DEPS = [
|
| 'file',
|
| + 'depot_tools/infra_paths',
|
| 'recipe_engine/path',
|
| 'recipe_engine/properties',
|
| 'repo',
|
| @@ -55,15 +56,15 @@ def full_checkout(api):
|
| def clobber(api):
|
| # buildbot sets 'clobber' to the empty string which is falsey, check with 'in'
|
| if 'clobber' in api.properties:
|
| - api.file.rmtree('clobber', api.path['slave_build'].join('out'))
|
| + api.file.rmtree('clobber', api.infra_paths['slave_build'].join('out'))
|
|
|
| def setup_host_x86(api, debug, bitness, concurrent_collector=False):
|
| with api.step.defer_results():
|
| checkout(api)
|
| clobber(api)
|
|
|
| - build_top_dir = api.path['slave_build']
|
| - art_tools = api.path['slave_build'].join('art', 'tools')
|
| + build_top_dir = api.infra_paths['slave_build']
|
| + art_tools = api.infra_paths['slave_build'].join('art', 'tools')
|
| env = { 'TARGET_PRODUCT': 'sdk',
|
| 'TARGET_BUILD_VARIANT': 'eng',
|
| 'TARGET_BUILD_TYPE': 'release',
|
| @@ -133,8 +134,8 @@ def setup_target(api,
|
| debug,
|
| device,
|
| concurrent_collector=False):
|
| - build_top_dir = api.path['slave_build']
|
| - art_tools = api.path['slave_build'].join('art', 'tools')
|
| + build_top_dir = api.infra_paths['slave_build']
|
| + art_tools = api.infra_paths['slave_build'].join('art', 'tools')
|
| android_root = '/data/local/tmp/system'
|
|
|
| env = {'TARGET_BUILD_VARIANT': 'eng',
|
|
|