Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c81798f2 authored by Søren Gjesse's avatar Søren Gjesse
Browse files

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: I8936a39ea3cc0f46e455087076635a8fa2c9e0d3
parent 3ea8ca5a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2836,6 +2836,7 @@ define transform-jar-to-dex-r8
$(hide) rm -f $(PRIVATE_PROGUARD_DICTIONARY)
$(hide) $(R8_COMPAT_PROGUARD) -injars '$<' \
    --min-api $(PRIVATE_MIN_SDK_VERSION) \
    --no-data-resources \
    --force-proguard-compatibility --output $(subst classes.dex,,$@) \
    $(PRIVATE_PROGUARD_FLAGS) \
    $(addprefix -injars , $(PRIVATE_EXTRA_INPUT_JAR)) \