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

Issue 2741773003: [Cronet] Append version to libcronet library name. (Closed)

Created:
3 years, 9 months ago by pauljensen
Modified:
3 years, 9 months ago
Reviewers:
kapishnikov
CC:
chromium-reviews, cbentzel+watch_chromium.org, agrieve+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet] Append version to libcronet library name. In situations where shared objects fail to install when an app is updated, this change prevents loading of out-of-date shared objects because the shared object name now changes with every app update. Loading out-of-date shared objects can crash the app. Failing to find the shared object (because the name has changed) gives a LibraryLoader registered with CronetEngine.Builder.setLibraryLoader() a chance to unzip it from the APK. R=kapishnikov CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2741773003 Cr-Commit-Position: refs/heads/master@{#455971} Committed: https://chromium.googlesource.com/chromium/src/+/8217d3c2acd05f9d5d5131b4f54743f231bc53a4

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M components/cronet/android/BUILD.gn View 1 3 chunks +8 lines, -4 lines 0 comments Download
M components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (5 generated)
pauljensen
Andrei, PTAL, thanks!
3 years, 9 months ago (2017-03-09 18:40:46 UTC) #2
kapishnikov
Looks good and simple. Some minor comments. LGTM https://codereview.chromium.org/2741773003/diff/1/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/2741773003/diff/1/components/cronet/android/BUILD.gn#newcode259 components/cronet/android/BUILD.gn:259: output_name ...
3 years, 9 months ago (2017-03-09 19:29:41 UTC) #3
pauljensen
https://codereview.chromium.org/2741773003/diff/1/components/cronet/android/BUILD.gn File components/cronet/android/BUILD.gn (right): https://codereview.chromium.org/2741773003/diff/1/components/cronet/android/BUILD.gn#newcode259 components/cronet/android/BUILD.gn:259: output_name = "cronet.$chrome_version_full" On 2017/03/09 19:29:40, kapishnikov wrote: > ...
3 years, 9 months ago (2017-03-10 01:55:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2741773003/20001
3 years, 9 months ago (2017-03-10 01:58:44 UTC) #7
kapishnikov
On 2017/03/10 01:55:34, pauljensen wrote: > https://codereview.chromium.org/2741773003/diff/1/components/cronet/android/BUILD.gn > File components/cronet/android/BUILD.gn (right): > > https://codereview.chromium.org/2741773003/diff/1/components/cronet/android/BUILD.gn#newcode259 > ...
3 years, 9 months ago (2017-03-10 02:03:22 UTC) #8
kapishnikov
On 2017/03/10 02:03:22, kapishnikov wrote: > On 2017/03/10 01:55:34, pauljensen wrote: > > > https://codereview.chromium.org/2741773003/diff/1/components/cronet/android/BUILD.gn ...
3 years, 9 months ago (2017-03-10 02:07:06 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 03:04:21 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/8217d3c2acd05f9d5d5131b4f547...

Powered by Google App Engine
This is Rietveld 408576698