aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/post_build_commands.py
diff options
context:
space:
mode:
authorAndrew Shu <talklittle@gmail.com>2018-03-24 15:44:57 -0700
committerAndrew Shu <talklittle@gmail.com>2018-03-25 10:40:26 -0700
commita631cb6b475b18e77bd6ca9db7ffe2cd94c3bde7 (patch)
tree220bb4698b316f8e199ad9cce367fd1162104088 /python/servo/post_build_commands.py
parent782d4d4af61b7c9f60dfb494f8a5bfb6407945d2 (diff)
downloadservo-a631cb6b475b18e77bd6ca9db7ffe2cd94c3bde7.tar.gz
servo-a631cb6b475b18e77bd6ca9db7ffe2cd94c3bde7.zip
mach: android install/run: infer adb path from SDK dir
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r--python/servo/post_build_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 6e8c65ec833..4cca8f80a20 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -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()