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

Issue 2961313005: [Android WebAPKs] Re-extract and optimize runtime library after Android OS upgrade (Closed)

Created:
3 years, 5 months ago by pkotwicz
Modified:
3 years, 5 months ago
Reviewers:
dominickn, Yaron
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, agrieve+watch_chromium.org, Xi Han
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android WebAPKs] Re-extract and optimize runtime library after Android OS upgrade The runtime library .dex file is extracted into Chrome's data directory and is optimized. The path of the optimized dex is dependent on the Android OS version (because the default optimized dex location is different for each Android OS version). This CL re-extracts and optimizes the runtime library when Chrome is run after an Android OS upgrade. This CL enables WebAPKs to load the runtime library faster after an Android OS upgrade because they can use the "WebAPK runtime library optimized dex" and don't need to fall back to the "non-optimized dex". BUG=738257 Review-Url: https://codereview.chromium.org/2961313005 Cr-Commit-Position: refs/heads/master@{#484610} Committed: https://chromium.googlesource.com/chromium/src/+/95abea91b81222664fda250b57d2dd835e6bac2a

Patch Set 1 #

Patch Set 2 : Merge branch 'master' into os_upgrade #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkVersionManager.java View 3 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
pkotwicz
Yaron, can you please take a look? I didn't find a standard way for doing ...
3 years, 5 months ago (2017-06-30 00:51:10 UTC) #2
Yaron
lgtm
3 years, 5 months ago (2017-06-30 01:09:21 UTC) #3
pkotwicz
Dominick for OWNERS
3 years, 5 months ago (2017-07-04 15:29:12 UTC) #5
dominickn
lgtm % minor nit: "dependant" in CL description -> "dependent"
3 years, 5 months ago (2017-07-05 00:17:38 UTC) #6
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/2961313005/1
3 years, 5 months ago (2017-07-05 02:13:02 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/330890)
3 years, 5 months ago (2017-07-05 03:00:16 UTC) #11
Yaron
Related: I found this which may help simplify DexOptimizer by automatically telling you where to ...
3 years, 5 months ago (2017-07-05 17:36:31 UTC) #12
pkotwicz
Unfortunately Context#getCodeCacheDir() is L+.
3 years, 5 months ago (2017-07-06 14:43:11 UTC) #13
Yaron
On 2017/07/06 14:43:11, pkotwicz wrote: > Unfortunately Context#getCodeCacheDir() is L+. Note I said ContextCompat (i.e. ...
3 years, 5 months ago (2017-07-06 14:44:29 UTC) #14
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/2961313005/40001
3 years, 5 months ago (2017-07-06 14:54:50 UTC) #18
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 15:43:13 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/95abea91b81222664fda250b57d2...

Powered by Google App Engine
This is Rietveld 408576698