Upgrade ABI package by the latest NDK r16b
* Upgrades share libraries by using NDK r16b
* By changing jni/Android.mk, it's unnecessary to change
NDK build/core/build-binary.mk
* Modifies PREUPLOAD.cfg to monitor and check the changelist
in the future.
* Using HEREDOC in build_libs.sh generates the content of
libs/Android.mk, libs/*/Android.mk, and libs/*/AndroidManifest.xml.
* Adds caution "DO NOT CHANGE THIS FILE"
libs/Android.mk and libs/*/AndroidManifest.xml.
* Adds comment for
hostsidetests/appsecurity/test-apps/SplitApp/jni/Android.mk
Test: atest \
CtsAppSecurityHostTestCases:android.appsecurity.cts.SplitTests
Test: TID="CtsAppSecurityHostTestCases"; \
TEST_CLASS="android.appsecurity.cts.SplitTests"; \
TEST_METHODS="testNativeSingle_full,testNativeSingle_instant"; \
TEST_METHODS="${TEST_METHODS},testNativeSingleNatural_full"; \
TEST_METHODS="${TEST_METHODS},testNativeSingleNatural_instant"; \
TEST_METHODS="${TEST_METHODS},testNativeAll_full"; \
TEST_METHODS="${TEST_METHODS},testNativeAll_instant"; \
TEST_METHODS="${TEST_METHODS},testNativeAllNatural_full"; \
TEST_METHODS="${TEST_METHODS},testNativeAllNatural_instant"; \
atest "${TID}:${TEST_CLASS}#${TEST_METHODS}"
Test: cd hostsidetests/appsecurity/test-apps/SplitApp ;\
./build_libs.sh ;\
git status ; \
git commit -a ;\
repo upload --cbr .
Bug: 173761243
Change-Id: I6f7a34ccdc3b4a9418b48e60f8d9c225300fe5e4
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index ea9b887..a62610d 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -47,3 +47,7 @@
tests/tests/packageinstaller/atomicinstall/
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
+
+splits_native_libs_hook = ${REPO_ROOT}/cts/hostsidetests/appsecurity/test-apps/SplitApp/check_not_modify_libs.sh
+ ${PREUPLOAD_FILES}
+