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) |