Issue metadata
Sign in to add a comment
|
Use d8's built-in --main-dex-list rather than a separate proguard-based build step |
||||||||||||||||||||||||
Issue descriptionMotivation: Faster builds. r8 is a superset of d8, and has support for MainDexList builder via --main-dex-rules. We should delete main_dex_list.py in favor of using this r8 feature. The main trick (I think) is that we'll need to implement the main dex list assertions by adding -checkdiscard directives to the --main-dex-rules rather than inspecting the main dex list output. This is because we want to assert what is kept by the proguard rules, but not what is kept as part of the classes included for dex verification purposes.
,
Sep 14
For R8 simultaneously optimizing and dexing, we will still want to support multidex (for multidex_in_release). This will have to be a different build path than Comment #1 (which does optimize -> multi dex list -> dex), since we will need to do all 3 in one shot. R8 does support all 3 at once, but since we don't use multidex_in_release, it isn't a huge priority to implement right now.
,
Dec 21
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by agrieve@chromium.org
, Sep 12