extract_utils.sh: Disable dex preopt on prebuilt apks

Change-Id: I230f1a8bb95cbc1df36bc652b03e58829ec278f5
This commit is contained in:
Hashbang173
2016-08-28 20:38:45 -04:00
parent 3962cae052
commit d4f2d6d60f

View File

@@ -282,6 +282,9 @@ function write_packages() {
fi
printf 'LOCAL_MODULE_TAGS := optional\n'
printf 'LOCAL_MODULE_CLASS := %s\n' "$CLASS"
if [ "$CLASS" = "APPS" ]; then
printf 'LOCAL_DEX_PREOPT := false\n'
fi
if [ ! -z "$EXTENSION" ]; then
printf 'LOCAL_MODULE_SUFFIX := .%s\n' "$EXTENSION"
fi