| Index: build/android/gyp/create_device_library_links.py
|
| diff --git a/build/android/gyp/create_device_library_links.py b/build/android/gyp/create_device_library_links.py
|
| index dcb6e306367dd2de9e6087c225024ca1aa1ee8e7..77187c3b433354e9ae30f4360d8a577ebbdd8614 100755
|
| --- a/build/android/gyp/create_device_library_links.py
|
| +++ b/build/android/gyp/create_device_library_links.py
|
| @@ -59,7 +59,8 @@ def TriggerSymlinkScript(options):
|
| if not device:
|
| return
|
|
|
| - apk_package = apk_helper.GetPackageName(options.apk)
|
| + apk_package = apk_helper.GetPackageName(options.android_sdk_tools,
|
| + options.apk_path)
|
| apk_libraries_dir = '/data/data/%s/lib' % apk_package
|
|
|
| device_dir = os.path.dirname(options.script_device_path)
|
| @@ -82,6 +83,8 @@ def TriggerSymlinkScript(options):
|
|
|
| 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', help='Path to the apk.')
|
| parser.add_option('--script-host-path',
|
| help='Path on the host for the symlink script.')
|
|
|