Use LOCAL_REQUIRED_MODULES instead of LOCAL_JNI_SHARED_LIBRARIES
LOCAL_REQUIRED_MODULES creates a dependency of the apk to the jni libs,
while LOCAL_JNI_SHARED_LIBRARIES doesn't. Besides, the latter makes the
jni libs be included in the apk, but the former doesn't.
For a system app link Nfc.apk, there is no reason to use
LOCAL_JNI_SHARED_LIBRARIES. Using LOCAL_REQUIRED_MODULES
deduces the apk size and the device configuration makefile
doesn't need to specify the jni libs in PRODUCT_PACKAGES.
Change-Id: I0d67987424e010157c289a93b1ef075b897ed940
1 file changed