commit | f19dfabc704b3975d66019c0817d65fc48921284 | [log] [tgz] |
---|---|---|
author | Denis Vnukov <vnukov@google.com> | Tue Jun 06 07:54:08 2017 -0700 |
committer | Denis Vnukov <vnukov@google.com> | Tue Jun 06 07:54:08 2017 -0700 |
tree | 28591b6a9e555cfb094fc840966fe3e15f0168f4 | |
parent | 86d295dfdfb58854cb0076989886c99f2758897d [diff] |
DRAFT: introducing --dex-per-class option in D8. Proposal to better support incremental compilation: for recompiling N changed/affected files instead of running D8 on each of them separately, we run D8 on all of them and split the result into separate DEX files. After transformation the mapping from resulting resource into the class is available via Resource.getClassDescriptor(). When written into directly, all dex files are named based on the original class names, such that class com.blah.Foo will be written into DEX file named com.blah.Foo.dex. BUG= Change-Id: I359a6c6399ea786662f0c2a1f9c8d4cae416bcbd
The R8 repo contains two tools.
D8 is a dexer that converts java byte code to dex code.
R8 is a java program shrinking and minification tool.