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

Unified Diff: scripts/slave/recipe_modules/chromium_android/api.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/recipe_modules/chromium_android/api.py
diff --git a/scripts/slave/recipe_modules/chromium_android/api.py b/scripts/slave/recipe_modules/chromium_android/api.py
index 2f1eb1a7cbd2e900f8718815b8be7558b69c48b4..24b2011f145e20cc879c8cc2a874afff9bfbe8a8 100644
--- a/scripts/slave/recipe_modules/chromium_android/api.py
+++ b/scripts/slave/recipe_modules/chromium_android/api.py
@@ -119,7 +119,7 @@ class AndroidApi(recipe_api.RecipeApi):
# TODO(sivachandra): Manufacture gclient spec such that it contains "src"
# solution + repo_name solution. Then checkout will be automatically
# correctly set by gclient.checkout
- self.m.path['checkout'] = self.m.infra_paths['slave_build'].join('src')
+ self.m.path['checkout'] = self.m.path['slave_build'].join('src')
self.clean_local_files()
@@ -170,7 +170,7 @@ class AndroidApi(recipe_api.RecipeApi):
def git_number(self, **kwargs):
return self.m.step(
'git_number',
- [self.m.infra_paths['depot_tools'].join('git_number.py')],
+ [self.m.path['depot_tools'].join('git_number.py')],
stdout = self.m.raw_io.output(),
step_test_data=(
lambda:
@@ -261,7 +261,7 @@ class AndroidApi(recipe_api.RecipeApi):
# We send None as the path so that zip_build.py gets it from factory
# properties.
build_url=None,
- src_dir=self.m.infra_paths['slave_build'].join('src'),
+ src_dir=self.m.path['slave_build'].join('src'),
exclude_files='lib.target,gen,android_webview,jingle_unittests')
def create_adb_symlink(self):
@@ -327,8 +327,8 @@ class AndroidApi(recipe_api.RecipeApi):
return self.out_path.join('bad_devices.json')
def device_status_check(self, restart_usb=False, **kwargs):
- # TODO(phajdan.jr): Remove infra_paths['build'] usage, http://crbug.com/437264 .
- devices_path = self.m.infra_paths['build'].join('site_config', '.known_devices')
+ # TODO(phajdan.jr): Remove path['build'] usage, http://crbug.com/437264 .
+ devices_path = self.m.path['build'].join('site_config', '.known_devices')
args = [
'--json-output', self.m.json.output(),
'--blacklist-file', self.blacklist_file,
@@ -893,7 +893,7 @@ class AndroidApi(recipe_api.RecipeApi):
self.m.step('prepare bisect perf regression',
[self.m.path['checkout'].join('tools',
'prepare-bisect-perf-regression.py'),
- '-w', self.m.infra_paths['slave_build']])
+ '-w', self.m.path['slave_build']])
args = []
if extra_src:
@@ -903,7 +903,7 @@ class AndroidApi(recipe_api.RecipeApi):
self.m.step('run bisect perf regression',
[self.m.path['checkout'].join('tools',
'run-bisect-perf-regression.py'),
- '-w', self.m.infra_paths['slave_build']] + args, **kwargs)
+ '-w', self.m.path['slave_build']] + args, **kwargs)
def run_test_suite(self, suite, verbose=True, isolate_file_path=None,
gtest_filter=None, tool=None, flakiness_dashboard=None,
« no previous file with comments | « scripts/slave/recipe_modules/chromium_android/__init__.py ('k') | scripts/slave/recipe_modules/chromium_android/example.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698