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

Unified Diff: scripts/slave/recipes/art.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/art.py
diff --git a/scripts/slave/recipes/art.py b/scripts/slave/recipes/art.py
index 92aca00b0c4f5b7f908625330d62ece5c846b99f..9f49098826c2ef0a9f5fbbb9a6011cb4817a8347 100644
--- a/scripts/slave/recipes/art.py
+++ b/scripts/slave/recipes/art.py
@@ -5,7 +5,6 @@
# TODO: remove redundant DEPS.
DEPS = [
'file',
- 'depot_tools/infra_paths',
'recipe_engine/path',
'recipe_engine/properties',
'repo',
@@ -56,15 +55,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.infra_paths['slave_build'].join('out'))
+ api.file.rmtree('clobber', api.path['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.infra_paths['slave_build']
- art_tools = api.infra_paths['slave_build'].join('art', 'tools')
+ build_top_dir = api.path['slave_build']
+ art_tools = api.path['slave_build'].join('art', 'tools')
env = { 'TARGET_PRODUCT': 'sdk',
'TARGET_BUILD_VARIANT': 'eng',
'TARGET_BUILD_TYPE': 'release',
@@ -134,8 +133,8 @@ def setup_target(api,
debug,
device,
concurrent_collector=False):
- build_top_dir = api.infra_paths['slave_build']
- art_tools = api.infra_paths['slave_build'].join('art', 'tools')
+ build_top_dir = api.path['slave_build']
+ art_tools = api.path['slave_build'].join('art', 'tools')
android_root = '/data/local/tmp/system'
env = {'TARGET_BUILD_VARIANT': 'eng',

Powered by Google App Engine
This is Rietveld 408576698