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

Unified Diff: scripts/slave/recipe_modules/android/api.py

Issue 1101673005: Extract functions from path recipe module so that step can depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 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
« no previous file with comments | « scripts/slave/recipe_modules/android/__init__.py ('k') | scripts/slave/recipe_modules/archive/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/android/api.py
diff --git a/scripts/slave/recipe_modules/android/api.py b/scripts/slave/recipe_modules/android/api.py
index 42bd95e90f75f512613e223bafbe4c5aaacaf21b..6205f86213e3ae621b5b1108bf9123ed40cf971e 100644
--- a/scripts/slave/recipe_modules/android/api.py
+++ b/scripts/slave/recipe_modules/android/api.py
@@ -61,11 +61,11 @@ class AOSPApi(recipe_api.RecipeApi):
repo_copy_dir = self.m.path['slave_build'].join('repo_copy')
repo_copy_path = self.m.path['slave_build'].join('repo_copy', 'repo')
if self.m.path.exists(repo_in_android_path):
- self.m.path.makedirs('repo copy dir', repo_copy_dir)
+ self.m.file.makedirs('repo copy dir', repo_copy_dir)
self.m.step('copy repo from Android', [
'cp', repo_in_android_path, repo_copy_path])
self.m.repo.repo_path = repo_copy_path
- self.m.path.makedirs('android source root', self.c.build_path)
+ self.m.file.makedirs('android source root', self.c.build_path)
self.m.repo.init(self.c.repo.url, '-b', self.c.repo.branch,
cwd=self.c.build_path)
self.m.path.mock_add_paths(repo_in_android_path)
« no previous file with comments | « scripts/slave/recipe_modules/android/__init__.py ('k') | scripts/slave/recipe_modules/archive/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698