mirror of
https://github.com/servo/servo.git
synced 2025-06-29 19:43:39 +01:00
Add ./mach test-android-startup
This commit is contained in:
parent
bee3fd09c2
commit
eecbe83750
3 changed files with 93 additions and 7 deletions
|
@ -623,6 +623,13 @@ class CommandBase(object):
|
|||
return sdk_adb
|
||||
return "adb"
|
||||
|
||||
def android_emulator_path(self, env):
|
||||
if "ANDROID_SDK" in env:
|
||||
sdk_adb = path.join(env["ANDROID_SDK"], "emulator", "emulator")
|
||||
if path.exists(sdk_adb):
|
||||
return sdk_adb
|
||||
return "emulator"
|
||||
|
||||
def handle_android_target(self, target):
|
||||
if target == "arm-linux-androideabi":
|
||||
self.config["android"]["platform"] = "android-18"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue