device_google_tegu/tegu/BoardConfig.mk
Kah Xuan Lim 6c52094291 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
2024-05-16 07:37:00 +00:00

30 lines
1.1 KiB
Makefile

#
# Copyright (C) 2020 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_BOARD_INFO_FILE := device/google/tegu/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := tegu
TARGET_SCREEN_DENSITY := 420
BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_TEGU := true
include device/google/tegu/device-tegu-common.mk
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