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

Issue 1981473002: Upstream: DexOptimizer and DexLoader classes (Closed)

Created:
4 years, 7 months ago by pkotwicz
Modified:
4 years, 7 months ago
Reviewers:
Xi Han, Yaron, jbudorick
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Upstream: DexOptimizer and DexLoader classes This CL upstreams DexOptimizer and DexLoader DexOptimizer extracts a .dex file from an APK DexLoader creates a ClassLoader from the extracted .dex file BUG=609122 R=hanxi TBR=yfriedman (TBR for new DEPS in chrome/android/webapk/shell_apk/javatests) Committed: https://crrev.com/f1bda2947031793ca8a08ecec4a88fe27d9b14e5 Cr-Commit-Position: refs/heads/master@{#394656}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+881 lines, -6 lines) Patch
M chrome/android/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/webapk/libs/client/BUILD.gn View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M chrome/android/webapk/libs/client/DEPS View 1 2 1 chunk +2 lines, -1 line 0 comments Download
A chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java View 1 2 1 chunk +194 lines, -0 lines 0 comments Download
M chrome/android/webapk/shell_apk/BUILD.gn View 2 chunks +17 lines, -0 lines 0 comments Download
A + chrome/android/webapk/shell_apk/javatests/DEPS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/android/webapk/shell_apk/javatests/canary_lib/BUILD.gn View 1 1 chunk +22 lines, -0 lines 0 comments Download
A + chrome/android/webapk/shell_apk/javatests/canary_lib/src/org/chromium/webapk/shell_apk/test/canary/Canary.java View 1 chunk +3 lines, -3 lines 0 comments Download
A chrome/android/webapk/shell_apk/javatests/dex_optimizer/AndroidManifest.xml View 1 chunk +21 lines, -0 lines 0 comments Download
A chrome/android/webapk/shell_apk/javatests/dex_optimizer/BUILD.gn View 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/android/webapk/shell_apk/javatests/dex_optimizer/src/org/chromium/webapk/shell_apk/test/dex_optimizer/DexOptimizerServiceImpl.java View 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/android/webapk/shell_apk/javatests/dex_optimizer/src/org/chromium/webapk/shell_apk/test/dex_optimizer/IDexOptimizerService.aidl View 1 chunk +13 lines, -0 lines 0 comments Download
A + chrome/android/webapk/shell_apk/javatests/dex_optimizer/src/org/chromium/webapk/shell_apk/test/dex_optimizer/common.aidl View 1 1 chunk +1 line, -1 line 0 comments Download
A chrome/android/webapk/shell_apk/javatests/src/org/chromium/webapk/shell_apk/DexLoaderTest.java View 1 2 3 1 chunk +333 lines, -0 lines 0 comments Download
A chrome/android/webapk/shell_apk/src/org/chromium/webapk/shell_apk/DexLoader.java View 1 2 3 1 chunk +152 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (19 generated)
pkotwicz
Xi, can you please take a look? This CL unfortunately also depends on https://codereview.chromium.org/1971773002/
4 years, 7 months ago (2016-05-13 18:23:43 UTC) #3
Xi Han
lgtm
4 years, 7 months ago (2016-05-16 18:44:31 UTC) #4
pkotwicz
Yaron, can you please take a look at the changes in chrome/android/BUILD.gn ?
4 years, 7 months ago (2016-05-16 19:12:51 UTC) #6
Yaron
https://codereview.chromium.org/1981473002/diff/20001/chrome/android/BUILD.gn File chrome/android/BUILD.gn (right): https://codereview.chromium.org/1981473002/diff/20001/chrome/android/BUILD.gn#newcode553 chrome/android/BUILD.gn:553: "//chrome/android/webapk/shell_apk:shell_apk_javatests", This is sufficient for the tests to get ...
4 years, 7 months ago (2016-05-16 20:39:58 UTC) #8
jbudorick
https://codereview.chromium.org/1981473002/diff/20001/chrome/android/BUILD.gn File chrome/android/BUILD.gn (right): https://codereview.chromium.org/1981473002/diff/20001/chrome/android/BUILD.gn#newcode553 chrome/android/BUILD.gn:553: "//chrome/android/webapk/shell_apk:shell_apk_javatests", On 2016/05/16 20:39:58, Yaron wrote: > This is ...
4 years, 7 months ago (2016-05-16 20:57:41 UTC) #9
pkotwicz
Yaron, can you please take another looK? 👓 https://codereview.chromium.org/1981473002/diff/20001/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java File chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java (right): https://codereview.chromium.org/1981473002/diff/20001/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java#newcode8 chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java:8: import ...
4 years, 7 months ago (2016-05-17 01:34:33 UTC) #10
Yaron
lgtm https://codereview.chromium.org/1981473002/diff/20001/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java File chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java (right): https://codereview.chromium.org/1981473002/diff/20001/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java#newcode8 chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/DexOptimizer.java:8: import android.util.Log; On 2016/05/17 01:34:32, pkotwicz wrote: > ...
4 years, 7 months ago (2016-05-17 13:38:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1981473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1981473002/40001
4 years, 7 months ago (2016-05-17 14:46:57 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/67395)
4 years, 7 months ago (2016-05-17 15:47:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1981473002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1981473002/60001
4 years, 7 months ago (2016-05-17 18:54:35 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/67557)
4 years, 7 months ago (2016-05-17 19:41:17 UTC) #22
pkotwicz
Yaron, how do you suggest addressing this issue: FindBugs reported the following issues: DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED: Classloaders ...
4 years, 7 months ago (2016-05-17 22:08:33 UTC) #23
Xi Han
On 2016/05/17 22:08:33, pkotwicz wrote: > Yaron, how do you suggest addressing this issue: > ...
4 years, 7 months ago (2016-05-18 13:41:31 UTC) #24
Yaron
Ya, just add the suppression for now On Wednesday, May 18, 2016, <hanxi@chromium.org> wrote: > ...
4 years, 7 months ago (2016-05-18 14:11:55 UTC) #25
Yaron
On 2016/05/18 14:11:55, Yaron wrote: > Ya, just add the suppression for now > > ...
4 years, 7 months ago (2016-05-18 14:29:31 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1981473002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1981473002/80001
4 years, 7 months ago (2016-05-18 23:45:19 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/68709)
4 years, 7 months ago (2016-05-19 00:59:59 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1981473002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1981473002/120001
4 years, 7 months ago (2016-05-19 01:34:33 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 7 months ago (2016-05-19 03:38:51 UTC) #37
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 03:40:35 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f1bda2947031793ca8a08ecec4a88fe27d9b14e5
Cr-Commit-Position: refs/heads/master@{#394656}

Powered by Google App Engine
This is Rietveld 408576698