mirror of
https://github.com/servo/servo.git
synced 2025-07-29 18:20:24 +01:00
mach: android install/run: infer adb path from SDK dir
This commit is contained in:
parent
782d4d4af6
commit
a631cb6b47
3 changed files with 11 additions and 3 deletions
|
@ -93,7 +93,7 @@ class PostBuildCommands(CommandBase):
|
|||
"am start com.mozilla.servo/com.mozilla.servo.MainActivity",
|
||||
"exit"
|
||||
]
|
||||
shell = subprocess.Popen(["adb", "shell"], stdin=subprocess.PIPE)
|
||||
shell = subprocess.Popen([self.android_adb_path(env), "shell"], stdin=subprocess.PIPE)
|
||||
shell.communicate("\n".join(script) + "\n")
|
||||
return shell.wait()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue