[Android] Use a script on the device for creating library symlinks
commitd148b0151854cd0db25b813c28a09db6c355a943
authorcjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 19 Apr 2013 09:16:13 +0000 (19 09:16 +0000)
committercjhopman@chromium.org <cjhopman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 19 Apr 2013 09:16:13 +0000 (19 09:16 +0000)
tree69405bd9ad842115a6c755922e555f6f42e9d193
parent7e198dc8b77d9500d3b49a861dd0ef7291626bdf
[Android] Use a script on the device for creating library symlinks

On new versions of Android, re-installing an APK creates a new /lib/
folder for native libraries. This means we need to recreate all the
symlinks in that directory (not just the ones that have changed).

To make all these links quickly, it should run as a single adb command.
To make that simple, we first create a simple script that, when run,
creates all the symlinks for an APK. Then, after any install, we send a
single adb command to run that script.

This also requires that the apk_install script only triggers its
dependents when it actually installs an apk.

BUG=158821

Review URL: https://chromiumcodereview.appspot.com/14017010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195124 0039d316-1c4b-4281-b951-d872f2087c98
build/android/gyp/apk_install.py
build/android/gyp/create_device_library_links.py
build/java_apk.gypi