Disable Dex preoptimization

When building with dexpreopt, the odex complains about not being able to find certain system server jars.

```
FAILED: ninja: 'out/soong/system_server_dexjars/modemml-tflite-service.jar', needed by 'out/soong/.intermediates/packages/modules/AdServices/adservices/service/service-adservices/android_common_apex33/e18b8e8d84cb9f664aa09a397b08c165/dexpreopt/service-adservices/oat/arm64/javalib.odex', missing and no known rule to make it
03:32:32 ninja failed with: exit status 1
```

Flag: build.WITH_DEXPREOPT
Bug: 339345077
Change-Id: Ic2900b4077e2311b6cbcd4a56365b36ba60c455f
This commit is contained in:
Kah Xuan Lim 2024-05-15 20:33:54 +08:00
parent 76ddc30e96
commit 6c52094291

View file

@ -26,3 +26,5 @@ include device/google/zumapro/BoardConfig-common.mk
-include vendor/google_devices/zumapro/prebuilts/BoardConfigVendor.mk
include device/google/tegu-sepolicy/tegu-sepolicy.mk
include device/google/tegu/wifi/BoardConfig-wifi.mk
WITH_DEXPREOPT := false