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:
@@ -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" && ` +
|
||||
|
Reference in New Issue
Block a user