Reland "Use .r8dex.jar and .mergeddex.jar rather than .dex.zip"
This reverts commit 01c325ec. Reason for revert: Repro'ed locally and ensured fixed. To elaborate: * The breakage occurred only in incremental builds, and only when building before / after this change. * E.g. Clean builds were correct, but the break was due to the transition of before this CL to after. * The fix I've done here is just to rename the output of the pre-dexsplitter r8 output so that the stale artifact does not break things. I think there might be a bug in dexsplitter that contributed to this breakage as well, but not going to dig into it since I've got another change underway to remove the use of dexsplitter. Original change's description: > Revert "Use .r8dex.jar and .mergeddex.jar rather than .dex.zip" > > This reverts commit 89a7ef17. > > Reason for revert: This is breaking WebView bundles on the official builders, see crbug.com/1069724. It looks like bundletool looks specifically for .dex extensions[1], and this change breaks that assumption. > > 1. https://github.com/google/bundletool/blob/3586f8630e08733503ddbd1e74e10d4fb50e0d69/src/main/java/com/android/tools/build/bundletool/validation/DexFilesValidator.java#L48 > > Original change's description: > > Use .r8dex.jar and .mergeddex.jar rather than .dex.zip > > > > This just renames the extensions in order to make build speed summaries > > distinguish the two. > > > > Bug: 1067273 > > Change-Id: I0a1e14cfed3557d29cd6beb0987436cacfaf6b65 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2140908 > > Commit-Queue: Andrew Grieve <agrieve@chromium.org> > > Commit-Queue: Peter Wen <wnwen@chromium.org> > > Auto-Submit: Andrew Grieve <agrieve@chromium.org> > > Reviewed-by: Peter Wen <wnwen@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#757855} > > TBR=wnwen@chromium.org,agrieve@chromium.org > > # Not skipping CQ checks because original CL landed > 1 day ago. > > Bug: 1067273, 1069724 > Change-Id: Ied71fc35aef250bdbf21ee4ec34f5bb2d0eb3423 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2145860 > Reviewed-by: Clark DuVall <cduvall@chromium.org> > Commit-Queue: Clark DuVall <cduvall@chromium.org> > Cr-Commit-Position: refs/heads/master@{#758275} Bug: 1067273, 1069724 Change-Id: I8c505ba68d1c5880a3b39eaec53455e804d48e29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2149286Reviewed-by:Clark DuVall <cduvall@chromium.org> Reviewed-by:
Peter Wen <wnwen@chromium.org> Commit-Queue: Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#759240}
Showing
Please register or sign in to comment