• Andrew Grieve's avatar
    Android: Fix SuperSize attribution of d8-desugar'ed lambdas · bd67b2b2
    Andrew Grieve authored
    This involved:
    1) Tweaking R8 to include the outer class name in the lambda name for
    method references. This increases dex size by ~2kb, but is needed for
    attribution (without this they all show in $APK).
    2) Updating supersize to unmangle lambda names.
    
    This patch also re-works how R8 local modifications are stored. It
    changes from a single .patch file to multiple format-patch files.
    This allows each patch to be applied separately (easier conflict
    resolution), and allows a description to live right allon each patch
    (via the commit messages)
    
    Bug: 1032609
    Change-Id: I34c356b542fd665e3b81f7a6d43e0e1dbbf38886
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132668
    Commit-Queue: Andrew Grieve <agrieve@chromium.org>
    Reviewed-by: default avatarSam Maier <smaier@chromium.org>
    Reviewed-by: default avatarSamuel Huang <huangs@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#756136}
    bd67b2b2
DEPS 149 KB