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

Issue 14017010: [Android] Use a script on the device for creating library symlinks (Closed)

Created:
7 years, 8 months ago by cjhopman
Modified:
7 years, 8 months ago
Reviewers:
Yaron
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, klundberg+watch_chromium.org, ilevy+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

[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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195124

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -39 lines) Patch
M build/android/gyp/apk_install.py View 2 chunks +7 lines, -1 line 0 comments Download
D build/android/gyp/create_device_library_links.py View 1 2 1 chunk +48 lines, -29 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 chunks +13 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
cjhopman
7 years, 8 months ago (2013-04-18 17:26:37 UTC) #1
Yaron
create_device_library_links is showing up as D for some reason. https://codereview.chromium.org/14017010/diff/2001/build/android/gyp/create_device_library_links.py File build/android/gyp/create_device_library_links.py (left): https://codereview.chromium.org/14017010/diff/2001/build/android/gyp/create_device_library_links.py#oldcode75 build/android/gyp/create_device_library_links.py:75: ...
7 years, 8 months ago (2013-04-18 18:06:25 UTC) #2
cjhopman
https://codereview.chromium.org/14017010/diff/2001/build/android/gyp/create_device_library_links.py File build/android/gyp/create_device_library_links.py (left): https://codereview.chromium.org/14017010/diff/2001/build/android/gyp/create_device_library_links.py#oldcode75 build/android/gyp/create_device_library_links.py:75: required_options = ['apk', 'libraries_json', 'target_dir', 'libraries_dir'] On 2013/04/18 18:06:25, ...
7 years, 8 months ago (2013-04-18 21:05:22 UTC) #3
Yaron
lgtm
7 years, 8 months ago (2013-04-18 21:23:10 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/14017010/14001
7 years, 8 months ago (2013-04-18 21:28:29 UTC) #5
commit-bot: I haz the power
Presubmit check for 14017010-14001 failed and returned exit status 1. INFO:root:Found 3 file(s). Running presubmit ...
7 years, 8 months ago (2013-04-18 21:28:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/14017010/14001
7 years, 8 months ago (2013-04-19 00:53:10 UTC) #7
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 09:16:15 UTC) #8
Message was sent while issue was closed.
Change committed as 195124

Powered by Google App Engine
This is Rietveld 408576698