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

Unified Diff: build/android/gyp/apk_install.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 | « build/android/adb_install_apk.py ('k') | build/android/gyp/create_device_library_links.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/apk_install.py
diff --git a/build/android/gyp/apk_install.py b/build/android/gyp/apk_install.py
index ef3032b088cf14e1607ef2a82acc4a131060c519..54fc07a805c9081f8cd1b36985d6e7cacb8f2406 100755
--- a/build/android/gyp/apk_install.py
+++ b/build/android/gyp/apk_install.py
@@ -55,6 +55,8 @@ def RecordInstallMetadata(device, apk_package, metadata_path):
def main(argv):
parser = optparse.OptionParser()
+ parser.add_option('--android-sdk-tools',
+ help='path to the Android SDK build tools folder')
parser.add_option('--apk-path',
help='Path to .apk to install.')
parser.add_option('--install-record',
@@ -75,7 +77,8 @@ def main(argv):
constants.SetBuildType(options.configuration_name)
serial_number = device.GetSerialNumber()
- apk_package = apk_helper.GetPackageName(options.apk_path)
+ apk_package = apk_helper.GetPackageName(options.android_sdk_tools,
frankf 2014/02/14 21:59:19 I don't see the benefit of passing in the android-
Nico 2014/02/14 22:16:56 Yes, I'm pretty on the fence here too. I went with
+ options.apk_path)
metadata_path = '%s.%s.device.time.stamp' % (options.apk_path, serial_number)
« no previous file with comments | « build/android/adb_install_apk.py ('k') | build/android/gyp/create_device_library_links.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698