summaryrefslogtreecommitdiff
path: root/libs/androidfw/tests/data/overlayable/build
diff options
context:
space:
mode:
Diffstat (limited to 'libs/androidfw/tests/data/overlayable/build')
-rwxr-xr-xlibs/androidfw/tests/data/overlayable/build5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/androidfw/tests/data/overlayable/build b/libs/androidfw/tests/data/overlayable/build
index 98fdc5101160..0aa97d639c30 100755
--- a/libs/androidfw/tests/data/overlayable/build
+++ b/libs/androidfw/tests/data/overlayable/build
@@ -17,6 +17,9 @@
set -e
+FRAMEWORK_RES_APK=${ANDROID_PRODUCT_OUT}/system/framework/framework-res.apk
+
aapt2 compile --dir res -o compiled.flata
-aapt2 link --manifest AndroidManifest.xml -o overlayable.apk compiled.flata
+aapt2 link -I $FRAMEWORK_RES_APK --manifest AndroidManifest.xml -o overlayable.apk compiled.flata \
+ --no-auto-version
rm compiled.flata