Reland: Pass jars with resources to R8
R8 will parse proguard files out of resources in injars. Use the jar with resources instead of the classes jar so that R8 can see the proguard files. R8 fails when an input jar contains dex files, so filter out dex files from the input jar before passing it to r8. This relands Ibb870ee9c70470336f542a3b7542dab86716dbf8 with a fix to move the temporary input jar outside the output directory. Putting it in the output directory interacted poorly with RBE in local comparison mode, which incorrectly deleted the output directory. Bug: 195558228 Test: m checkbuild Change-Id: Id4b091c3bd72d4c2904883e8793ec4b9499e4b78
Loading
Please register or sign in to comment