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

Issue 1338813003: GN: Side-load dex files as well as native code in incremental installs (Closed)

Created:
5 years, 3 months ago by agrieve
Modified:
5 years, 3 months ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Side-load dex files as well as native code in incremental installs This also re-organizes a bit by moving all incremental install related files into //build/android/incremental_install. BUG=520082 Committed: https://crrev.com/933f2593199c4f95678ddda884aa476ff1fe0c23 Cr-Commit-Position: refs/heads/master@{#349200}

Patch Set 1 #

Patch Set 2 : Final version? #

Patch Set 3 : Self review style nits #

Total comments: 20

Patch Set 4 : Python review comments 1 #

Total comments: 60

Patch Set 5 : java review #1 #

Patch Set 6 : fix pylint warnings #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1096 lines, -503 lines) Patch
M base/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
D base/android/java/debug_src/org/chromium/base/IncrementalInstall.java View 1 chunk +0 lines, -46 lines 0 comments Download
D base/android/java/debug_src/org/chromium/base/Reflect.java View 1 chunk +0 lines, -74 lines 0 comments Download
D base/android/java/release_src/org/chromium/base/IncrementalInstall.java View 1 chunk +0 lines, -15 lines 0 comments Download
M base/android/java/src/org/chromium/base/BaseChromiumApplication.java View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M base/base.gyp View 1 1 chunk +0 lines, -2 lines 0 comments Download
M build/android/PRESUBMIT.py View 1 2 3 4 5 1 chunk +8 lines, -2 lines 0 comments Download
M build/android/devil/android/apk_helper.py View 1 2 3 4 chunks +15 lines, -2 lines 0 comments Download
M build/android/devil/android/device_utils.py View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M build/android/devil/android/device_utils_test.py View 1 2 3 4 2 chunks +8 lines, -2 lines 0 comments Download
D build/android/gn/create_incremental_install_script.py View 1 2 3 4 1 chunk +0 lines, -106 lines 0 comments Download
D build/android/incremental_install.py View 1 2 3 4 1 chunk +0 lines, -127 lines 0 comments Download
A build/android/incremental_install/BUILD.gn View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A + build/android/incremental_install/create_install_script.py View 1 2 3 4 3 chunks +33 lines, -13 lines 0 comments Download
A build/android/incremental_install/generate_android_manifest.py View 1 2 3 1 chunk +96 lines, -0 lines 0 comments Download
A + build/android/incremental_install/installer.py View 1 2 3 4 5 chunks +75 lines, -13 lines 0 comments Download
A build/android/incremental_install/java/org/chromium/incrementalinstall/BootstrapApplication.java View 1 2 3 4 1 chunk +167 lines, -0 lines 0 comments Download
A build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java View 1 2 3 4 1 chunk +232 lines, -0 lines 0 comments Download
A build/android/incremental_install/java/org/chromium/incrementalinstall/LockFile.java View 1 2 3 4 1 chunk +128 lines, -0 lines 0 comments Download
A build/android/incremental_install/java/org/chromium/incrementalinstall/Reflect.java View 1 2 3 4 1 chunk +142 lines, -0 lines 0 comments Download
M build/android/pylib/utils/time_profile.py View 1 2 3 1 chunk +27 lines, -8 lines 0 comments Download
M build/config/android/config.gni View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 3 4 6 chunks +123 lines, -69 lines 2 comments Download
M build/config/android/rules.gni View 7 chunks +17 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 28 (4 generated)
agrieve
Note: Got presubmit warnings (not sure how to resolve or if it's a concern): Pylint ...
5 years, 3 months ago (2015-09-12 02:33:30 UTC) #1
jbudorick
On 2015/09/12 at 02:33:30, agrieve wrote: > Note: Got presubmit warnings (not sure how to ...
5 years, 3 months ago (2015-09-12 02:35:13 UTC) #2
agrieve
jbudorick@chromium.org: Please review Python changes nyquist@chromium.org: Please review Java changes thestig@chromium.org: Please review changes in ...
5 years, 3 months ago (2015-09-15 18:00:55 UTC) #4
jbudorick
https://codereview.chromium.org/1338813003/diff/40001/build/android/devil/android/apk_helper.py File build/android/devil/android/apk_helper.py (right): https://codereview.chromium.org/1338813003/diff/40001/build/android/devil/android/apk_helper.py#newcode20 build/android/devil/android/apk_helper.py:20: _TRUE = '0xffffffff' I worry about this being fragile ...
5 years, 3 months ago (2015-09-15 18:36:42 UTC) #5
Lei Zhang
I defer to base/android/OWNERS
5 years, 3 months ago (2015-09-15 19:27:25 UTC) #6
agrieve
https://codereview.chromium.org/1338813003/diff/40001/build/android/devil/android/apk_helper.py File build/android/devil/android/apk_helper.py (right): https://codereview.chromium.org/1338813003/diff/40001/build/android/devil/android/apk_helper.py#newcode20 build/android/devil/android/apk_helper.py:20: _TRUE = '0xffffffff' On 2015/09/15 18:36:41, jbudorick wrote: > ...
5 years, 3 months ago (2015-09-15 19:30:05 UTC) #7
jbudorick
python generally looks good. https://codereview.chromium.org/1338813003/diff/60001/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1338813003/diff/60001/build/android/devil/android/device_utils.py#newcode644 build/android/devil/android/device_utils.py:644: installed = self._GetApplicationPathsInternal(package_name) er... hm. ...
5 years, 3 months ago (2015-09-15 22:36:49 UTC) #8
jbudorick
On 2015/09/15 at 22:36:49, jbudorick wrote: > python generally looks good. > > https://codereview.chromium.org/1338813003/diff/60001/build/android/devil/android/device_utils.py > ...
5 years, 3 months ago (2015-09-15 22:37:28 UTC) #9
agrieve
https://codereview.chromium.org/1338813003/diff/60001/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1338813003/diff/60001/build/android/devil/android/device_utils.py#newcode644 build/android/devil/android/device_utils.py:644: installed = self._GetApplicationPathsInternal(package_name) On 2015/09/15 22:36:48, jbudorick wrote: > ...
5 years, 3 months ago (2015-09-16 01:08:57 UTC) #10
agrieve
5 years, 3 months ago (2015-09-16 01:08:57 UTC) #11
nyquist
sorry for all the nits :-/ mostly looks good, I just have a few questions. ...
5 years, 3 months ago (2015-09-16 06:30:46 UTC) #12
agrieve
https://codereview.chromium.org/1338813003/diff/60001/base/android/java/src/org/chromium/base/BaseChromiumApplication.java File base/android/java/src/org/chromium/base/BaseChromiumApplication.java (right): https://codereview.chromium.org/1338813003/diff/60001/base/android/java/src/org/chromium/base/BaseChromiumApplication.java#newcode22 base/android/java/src/org/chromium/base/BaseChromiumApplication.java:22: super.attachBaseContext(base); On 2015/09/16 06:30:45, nyquist (OOO - back 9-18) ...
5 years, 3 months ago (2015-09-16 14:59:59 UTC) #13
nyquist
lgtm
5 years, 3 months ago (2015-09-16 15:36:22 UTC) #14
jbudorick
https://codereview.chromium.org/1338813003/diff/60001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/1338813003/diff/60001/build/config/android/rules.gni#newcode1153 build/config/android/rules.gni:1153: _jar_path = "$base_path.jar" possible nit: leave as jar_path and ...
5 years, 3 months ago (2015-09-16 15:38:00 UTC) #15
agrieve
https://codereview.chromium.org/1338813003/diff/60001/build/config/android/rules.gni File build/config/android/rules.gni (right): https://codereview.chromium.org/1338813003/diff/60001/build/config/android/rules.gni#newcode1153 build/config/android/rules.gni:1153: _jar_path = "$base_path.jar" On 2015/09/16 15:38:00, jbudorick wrote: > ...
5 years, 3 months ago (2015-09-16 15:50:47 UTC) #16
jbudorick
lgtm On 2015/09/16 at 15:50:47, agrieve wrote: > https://codereview.chromium.org/1338813003/diff/60001/build/config/android/rules.gni > File build/config/android/rules.gni (right): > > ...
5 years, 3 months ago (2015-09-16 15:52:10 UTC) #17
jbudorick
lgtm On 2015/09/16 at 15:50:47, agrieve wrote: > https://codereview.chromium.org/1338813003/diff/60001/build/config/android/rules.gni > File build/config/android/rules.gni (right): > > ...
5 years, 3 months ago (2015-09-16 15:52:10 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1338813003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1338813003/100001
5 years, 3 months ago (2015-09-16 17:24:26 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/108041)
5 years, 3 months ago (2015-09-16 19:02:40 UTC) #22
Lei Zhang
rs lgtm
5 years, 3 months ago (2015-09-16 19:19:37 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1338813003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1338813003/100001
5 years, 3 months ago (2015-09-16 19:20:47 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-16 19:56:55 UTC) #26
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/933f2593199c4f95678ddda884aa476ff1fe0c23 Cr-Commit-Position: refs/heads/master@{#349200}
5 years, 3 months ago (2015-09-16 19:57:50 UTC) #27
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:59:43 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/933f2593199c4f95678ddda884aa476ff1fe0c23
Cr-Commit-Position: refs/heads/master@{#349200}

Powered by Google App Engine
This is Rietveld 408576698