Don't include data resources when running R8

The change https://r8-review.googlesource.com/c/r8/+/26482 made R8
process data resources by default. This is not expected for the
Android Platform build

Test: m -j PRODUCT-aosp_x86-userdebug core-oj
Change-Id: Idb17e39dae524dacf4b258c9f27be86e3179667f
This commit is contained in:
Søren Gjesse
2018-09-14 15:20:42 +02:00
parent ec06db2709
commit 24f1702872

View File

@@ -42,6 +42,7 @@ var r8 = pctx.AndroidStaticRule("r8",
`rm -f "$outDict" && ` +
`${config.R8Cmd} -injars $in --output $outDir ` +
`--force-proguard-compatibility ` +
`--no-data-resources ` +
`-printmapping $outDict ` +
`$dxFlags $r8Flags && ` +
`touch "$outDict" && ` +