Chromium Code Reviews| 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 62c36366902ace5766b661f4aa68929c713964d5..efe0a17e62cfbb8234b70f9b397fd131f13413aa 100644 |
| --- a/scripts/slave/recipe_modules/chromium_android/api.py |
| +++ b/scripts/slave/recipe_modules/chromium_android/api.py |
| @@ -263,6 +263,15 @@ class AndroidApi(recipe_api.RecipeApi): |
| src_dir=self.m.path['slave_build'].join('src'), |
| exclude_files='lib.target,gen,android_webview,jingle_unittests') |
| + def create_adb_symlink(self): |
| + # Creates a sym link to the adb executable in the home dir |
| + self.m.python( |
| + 'create adb symlink', |
| + self.m.path['checkout'].join('build', 'symlink.py'), |
| + ['-f', self.m.adb.adb_path(), os.path.join('~', 'adb')], |
| + infra_step=True, |
|
jbudorick
2016/03/21 18:00:20
nit: get rid of the comma here and bring the closi
bpastene
2016/03/21 18:08:01
Done.
|
| + ) |
| + |
| def spawn_logcat_monitor(self): |
| self.m.step( |
| 'spawn_logcat_monitor', |
| @@ -846,6 +855,7 @@ class AndroidApi(recipe_api.RecipeApi): |
| def common_tests_setup_steps(self, perf_setup=False, |
| remove_system_webview=False): |
| + self.create_adb_symlink() |
| if self.c.gce_setup: |
| self.launch_gce_instances(snapshot=self.c.gce_snapshot, count=self.c.gce_count) |
| self.spawn_logcat_monitor() |