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

Issue 1104703003: Actually use --extra-r-text-files in process_resources.py (Closed)

Created:
5 years, 8 months ago by Ian Cullinan
Modified:
5 years, 7 months ago
Reviewers:
cjhopman, msw, Yaron, gunsch
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Actually use --extra-r-text-files in process_resources.py Generate extra packages' R.java files only containing the resources listed in their R.txt files. This significantly reduces the number of DEX field IDs taken up by resources. BUG=480036 R=cjhopman Committed: https://crrev.com/a92cf235709397c737d5d9fdbadfb62e497c0334 Cr-Commit-Position: refs/heads/master@{#328565}

Patch Set 1 #

Patch Set 2 : GN #

Total comments: 2

Patch Set 3 : Don't FindInDirectory R.txt #

Patch Set 4 : Handle missing R.txt files #

Patch Set 5 : Generate R.onResourcesLoaded() callback for --shared-resources #

Patch Set 6 : Use correct R class in SyncCustomizationFragmentTest #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -22 lines) Patch
M AUTHORS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M build/android/gyp/process_resources.py View 1 2 3 4 7 chunks +95 lines, -21 lines 1 comment Download
M build/android/gyp/write_build_config.py View 1 2 chunks +6 lines, -0 lines 0 comments Download
M build/config/android/internal_rules.gni View 1 4 chunks +11 lines, -0 lines 0 comments Download
M build/config/android/rules.gni View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M build/java_apk.gypi View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncCustomizationFragmentTest.java View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 45 (10 generated)
Ian Cullinan
PTAL
5 years, 8 months ago (2015-04-24 17:32:29 UTC) #1
cjhopman
https://codereview.chromium.org/1104703003/diff/20001/build/android/gyp/process_resources.py File build/android/gyp/process_resources.py (right): https://codereview.chromium.org/1104703003/diff/20001/build/android/gyp/process_resources.py#newcode112 build/android/gyp/process_resources.py:112: r_txt_files = build_utils.FindInDirectory(r_dir, 'R.txt') Below you find the R.txt ...
5 years, 8 months ago (2015-04-27 18:34:47 UTC) #2
Ian Cullinan
https://codereview.chromium.org/1104703003/diff/20001/build/android/gyp/process_resources.py File build/android/gyp/process_resources.py (right): https://codereview.chromium.org/1104703003/diff/20001/build/android/gyp/process_resources.py#newcode112 build/android/gyp/process_resources.py:112: r_txt_files = build_utils.FindInDirectory(r_dir, 'R.txt') On 2015/04/27 18:34:47, cjhopman wrote: ...
5 years, 8 months ago (2015-04-27 18:58:46 UTC) #3
cjhopman
lgtm
5 years, 8 months ago (2015-04-27 19:55:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104703003/30006
5 years, 8 months ago (2015-04-27 20:15:58 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/31635)
5 years, 8 months ago (2015-04-27 20:26:44 UTC) #8
Ian Cullinan
Looks like aapt doesn't generate R.java/R.txt when there are no resources. The current code deals ...
5 years, 8 months ago (2015-04-27 21:38:05 UTC) #9
cjhopman
lgtm
5 years, 7 months ago (2015-04-30 18:10:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104703003/50001
5 years, 7 months ago (2015-04-30 18:12:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/11734) linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 7 months ago (2015-04-30 18:50:54 UTC) #14
Ian Cullinan
Hi cjhopman, A couple more changes required for system_webview_apk: 1. Actually passing --custom-package through to ...
5 years, 7 months ago (2015-05-01 18:19:57 UTC) #15
cjhopman
lgtm
5 years, 7 months ago (2015-05-01 18:26:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104703003/70001
5 years, 7 months ago (2015-05-01 18:28:53 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/12158) linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 7 months ago (2015-05-01 19:12:46 UTC) #20
Ian Cullinan
Hi Yaron, PTAL at chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncCustomizationFragmentTest.java As far as I can tell, this is the only ...
5 years, 7 months ago (2015-05-01 22:46:28 UTC) #22
Yaron
On 2015/05/01 22:46:28, Ian Cullinan wrote: > Hi Yaron, > > PTAL at > chrome/android/sync_shell/javatests/src/chromium/chrome/browser/sync/SyncCustomizationFragmentTest.java ...
5 years, 7 months ago (2015-05-06 16:56:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104703003/90001
5 years, 7 months ago (2015-05-06 16:59:12 UTC) #26
Ian Cullinan
On 2015/05/06 16:56:13, Yaron wrote: > Sorry I missed it cause it was in my ...
5 years, 7 months ago (2015-05-06 17:02:54 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:90001)
5 years, 7 months ago (2015-05-06 18:32:30 UTC) #28
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/a92cf235709397c737d5d9fdbadfb62e497c0334 Cr-Commit-Position: refs/heads/master@{#328565}
5 years, 7 months ago (2015-05-06 18:34:30 UTC) #29
gunsch
On 2015/05/06 18:34:30, I haz the power (commit-bot) wrote: > Patchset 6 (id:??) landed as ...
5 years, 7 months ago (2015-05-06 19:58:41 UTC) #30
cjhopman
On 2015/05/06 19:58:41, gunsch wrote: > On 2015/05/06 18:34:30, I haz the power (commit-bot) wrote: ...
5 years, 7 months ago (2015-05-06 20:08:33 UTC) #31
msw
This also broke our FYI bot: http://build.chromium.org/p/chromium.mojo/builders/Chromium%20Mojo%20Android/builds/1051/steps/compile/logs/stdio I'm not sure what needs to be updated ...
5 years, 7 months ago (2015-05-06 22:02:57 UTC) #33
Yaron
On 2015/05/06 22:02:57, msw wrote: > This also broke our FYI bot: > http://build.chromium.org/p/chromium.mojo/builders/Chromium%20Mojo%20Android/builds/1051/steps/compile/logs/stdio > ...
5 years, 7 months ago (2015-05-06 22:08:51 UTC) #34
msw
On 2015/05/06 22:08:51, Yaron wrote: > On 2015/05/06 22:02:57, msw wrote: > > This also ...
5 years, 7 months ago (2015-05-06 22:15:42 UTC) #35
cjhopman
On 2015/05/06 22:15:42, msw wrote: > On 2015/05/06 22:08:51, Yaron wrote: > > On 2015/05/06 ...
5 years, 7 months ago (2015-05-06 22:22:10 UTC) #36
cjhopman
On 2015/05/06 22:15:42, msw wrote: > On 2015/05/06 22:08:51, Yaron wrote: > > On 2015/05/06 ...
5 years, 7 months ago (2015-05-06 22:23:29 UTC) #37
cjhopman
Yeah, it looks like this breaks gn apks that have no resources. I'd revert it. ...
5 years, 7 months ago (2015-05-06 22:31:44 UTC) #38
cjhopman
A revert of this CL (patchset #6 id:90001) has been created in https://codereview.chromium.org/1129103002/ by cjhopman@chromium.org. ...
5 years, 7 months ago (2015-05-07 00:33:34 UTC) #39
gunsch
On 2015/05/07 00:33:34, cjhopman wrote: > A revert of this CL (patchset #6 id:90001) has ...
5 years, 7 months ago (2015-05-07 18:06:41 UTC) #40
cjhopman
On 2015/05/07 18:06:41, gunsch wrote: > On 2015/05/07 00:33:34, cjhopman wrote: > > A revert ...
5 years, 7 months ago (2015-05-07 18:21:40 UTC) #41
Ian Cullinan
On 2015/05/07 18:21:40, cjhopman wrote: > On 2015/05/07 18:06:41, gunsch wrote: > > 2) Even ...
5 years, 7 months ago (2015-05-07 19:23:44 UTC) #42
cjhopman
On 2015/05/07 19:23:44, Ian Cullinan wrote: > On 2015/05/07 18:21:40, cjhopman wrote: > > On ...
5 years, 7 months ago (2015-05-07 19:45:26 UTC) #43
cjhopman
On 2015/05/07 19:45:26, cjhopman wrote: > On 2015/05/07 19:23:44, Ian Cullinan wrote: > > On ...
5 years, 7 months ago (2015-05-07 19:52:49 UTC) #44
cjhopman
5 years, 7 months ago (2015-05-07 19:53:04 UTC) #45
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698