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

Issue 2562063003: Add incremental_apk_by_default GN arg. (Closed)

Created:
4 years ago by estevenson
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add incremental_apk_by_default GN arg. Setting this arg allows _incremental targets and scripts to be used without explicitly building them. With this arg set to true, non-incremental targets will build their incremental counterparts if they exist (i.e. the chrome_public_apk target will actually build chrome_public_apk_incremental). This works for .apks, test runner scripts, and install scripts for instrumentation_test_apks, android_apks, and unittest_apks BUG=634430 Committed: https://crrev.com/ce844392ab42112ce1fb92240de7ae102ed4c868 Cr-Commit-Position: refs/heads/master@{#438901}

Patch Set 1 #

Patch Set 2 : Add incremental_apk_by_default gn arg. #

Patch Set 3 : Don't build incremental test support apks #

Patch Set 4 : Fix comment #

Patch Set 5 : Remove _incremental from install_ & run_ scripts #

Total comments: 2

Patch Set 6 : Rebase + add additional_apk comment #

Total comments: 4

Patch Set 7 : Add check for additional_apks apk targets missing never_incremental #

Total comments: 4

Patch Set 8 : Remove error formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -86 lines) Patch
M build/android/gyp/create_test_runner_script.py View 1 2 3 4 5 6 7 4 chunks +16 lines, -0 lines 0 comments Download
M build/config/android/config.gni View 1 chunk +5 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M build/config/android/rules.gni View 1 2 3 4 5 6 10 chunks +90 lines, -58 lines 0 comments Download
M chrome/android/chrome_public_apk_tmpl.gni View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M chrome/android/webapk/libs/runtime_library/javatests/apk_with_webapk_service/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/android/webapk/shell_apk/javatests/dex_optimizer/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/android/chrome_public_test_support/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M net/android/BUILD.gn View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M testing/test.gni View 1 2 3 4 4 chunks +43 lines, -26 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
estevenson
ptal Andrew! The reason this failed when we tested it previously was because I was ...
4 years ago (2016-12-12 17:52:58 UTC) #7
agrieve
On 2016/12/12 17:52:58, estevenson wrote: > ptal Andrew! > > The reason this failed when ...
4 years ago (2016-12-12 18:07:56 UTC) #8
estevenson
ptal Andrew!
4 years ago (2016-12-12 22:08:09 UTC) #10
agrieve
lgtm https://codereview.chromium.org/2562063003/diff/80001/chrome/android/webapk/libs/runtime_library/javatests/apk_with_webapk_service/BUILD.gn File chrome/android/webapk/libs/runtime_library/javatests/apk_with_webapk_service/BUILD.gn (right): https://codereview.chromium.org/2562063003/diff/80001/chrome/android/webapk/libs/runtime_library/javatests/apk_with_webapk_service/BUILD.gn#newcode9 chrome/android/webapk/libs/runtime_library/javatests/apk_with_webapk_service/BUILD.gn:9: never_incremental = true nit: Can you add a ...
4 years ago (2016-12-13 15:15:52 UTC) #11
estevenson
xunjieli@chromium.org: Please review changes in //net phajdan.jr@chromium.org: Please review changes in //chrome/test/ and //testing/ https://codereview.chromium.org/2562063003/diff/80001/chrome/android/webapk/libs/runtime_library/javatests/apk_with_webapk_service/BUILD.gn ...
4 years ago (2016-12-13 15:57:47 UTC) #13
xunjieli
On 2016/12/13 15:57:47, estevenson wrote: > mailto:xunjieli@chromium.org: Please review changes in //net What happens if ...
4 years ago (2016-12-14 15:44:21 UTC) #14
agrieve
For a clean build, I think the test would fail to install the apk, since ...
4 years ago (2016-12-14 15:53:03 UTC) #15
estevenson
On 2016/12/14 15:44:21, xunjieli wrote: > On 2016/12/13 15:57:47, estevenson wrote: > > mailto:xunjieli@chromium.org: Please ...
4 years ago (2016-12-14 15:58:04 UTC) #16
xunjieli
On 2016/12/14 15:53:03, agrieve wrote: > For a clean build, I think the test would ...
4 years ago (2016-12-14 16:11:10 UTC) #17
xunjieli
On 2016/12/14 15:58:04, estevenson wrote: > On 2016/12/14 15:44:21, xunjieli wrote: > > On 2016/12/13 ...
4 years ago (2016-12-14 16:16:31 UTC) #18
estevenson
On 2016/12/14 16:16:31, xunjieli wrote: > On 2016/12/14 15:58:04, estevenson wrote: > > On 2016/12/14 ...
4 years ago (2016-12-14 20:14:32 UTC) #19
estevenson
On 2016/12/14 20:14:32, estevenson wrote: > On 2016/12/14 16:16:31, xunjieli wrote: > > On 2016/12/14 ...
4 years ago (2016-12-14 20:25:31 UTC) #20
xunjieli
On 2016/12/14 20:25:31, estevenson wrote: > On 2016/12/14 20:14:32, estevenson wrote: > > On 2016/12/14 ...
4 years ago (2016-12-14 21:37:44 UTC) #21
estevenson
ptal Andrew! The added error message formatting logic might be overkill and shouldn't even really ...
4 years ago (2016-12-14 22:26:03 UTC) #22
agrieve
lgtm https://codereview.chromium.org/2562063003/diff/120001/build/android/gyp/create_test_runner_script.py File build/android/gyp/create_test_runner_script.py (right): https://codereview.chromium.org/2562063003/diff/120001/build/android/gyp/create_test_runner_script.py#newcode47 build/android/gyp/create_test_runner_script.py:47: def _GetTargetFromIncrementalApk(incremental_apk): We have a convention that makes ...
4 years ago (2016-12-15 16:22:30 UTC) #23
xunjieli
net/android/BUILD.gn lgtm!
4 years ago (2016-12-15 16:23:58 UTC) #24
Paweł Hajdan Jr.
LGTM
4 years ago (2016-12-15 17:11:43 UTC) #25
estevenson
https://codereview.chromium.org/2562063003/diff/120001/build/android/gyp/create_test_runner_script.py File build/android/gyp/create_test_runner_script.py (right): https://codereview.chromium.org/2562063003/diff/120001/build/android/gyp/create_test_runner_script.py#newcode47 build/android/gyp/create_test_runner_script.py:47: def _GetTargetFromIncrementalApk(incremental_apk): On 2016/12/15 16:22:30, agrieve wrote: > We ...
4 years ago (2016-12-15 18:19:07 UTC) #26
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/2562063003/140001
4 years ago (2016-12-15 18:22:25 UTC) #29
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-12-15 19:58:31 UTC) #32
commit-bot: I haz the power
4 years ago (2016-12-15 20:00:45 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ce844392ab42112ce1fb92240de7ae102ed4c868
Cr-Commit-Position: refs/heads/master@{#438901}

Powered by Google App Engine
This is Rietveld 408576698