Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: build/android/adb_install_apk.py

Issue 167643002: android: Don't require aapt to be on the path during builds and tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rietfail Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/gyp/apk_install.py » ('j') | build/android/gyp/apk_install.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/adb_install_apk.py
diff --git a/build/android/adb_install_apk.py b/build/android/adb_install_apk.py
index adad48bdef84a445d58e3f443017b979302706d4..d3a82fec151660db6e15a86449ccc52756e87b22 100755
--- a/build/android/adb_install_apk.py
+++ b/build/android/adb_install_apk.py
@@ -63,7 +63,8 @@ def main(argv):
raise Exception('Error: no connected devices')
if not options.apk_package:
- options.apk_package = apk_helper.GetPackageName(options.apk)
+ options.apk_package = apk_helper.GetPackageName(constants.ANDROID_SDK_TOOLS,
+ options.apk)
pool = multiprocessing.Pool(len(devices))
# Send a tuple (apk_path, apk_package, device) per device.
« no previous file with comments | « no previous file | build/android/gyp/apk_install.py » ('j') | build/android/gyp/apk_install.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698