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