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

Unified Diff: build/android/gyp/create_device_library_links.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
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.')

Powered by Google App Engine
This is Rietveld 408576698