aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/post_build_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-06-29 23:27:31 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-07-02 19:00:48 +0200
commiteecbe837500270f530e943a1b6bb718031156dd6 (patch)
tree6ce89bdcfff92c8d3ee0592008ad45e1c395ab0c /python/servo/post_build_commands.py
parentbee3fd09c210a192e52f9950c630c49c655de802 (diff)
downloadservo-eecbe837500270f530e943a1b6bb718031156dd6.tar.gz
servo-eecbe837500270f530e943a1b6bb718031156dd6.zip
Add ./mach test-android-startup
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r--python/servo/post_build_commands.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 30c59f417f5..0132d2ea4b0 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -177,10 +177,8 @@ class PostBuildCommands(CommandBase):
help="Command-line arguments to be passed through to the emulator")
def android_emulator(self, args=None):
if not args:
- print("Pass at least an AVD name such as @servo-arm or @servo-x86")
- return 1
- env = self.build_env()
- emulator = path.join(env["ANDROID_SDK"], "emulator", "emulator")
+ print("AVDs created by `./mach bootstrap-android` are servo-arm and servo-x86.")
+ emulator = self.android_emulator_path(self.build_env())
return subprocess.call([emulator] + args)
@Command('rr-record',