I build my project for multiple ABI, now also for android-x86 for Intel phones. I use prebuilt static and dynamic libs.
So, I have my libAAA.so build by this make file:
nclude $(CLEAR_VARS)
LOCAL_MODULE := AAA
LOCAL_SRC_FILES := AAA.cpp
include Android-BBB.mk
LOCAL_STATIC_LIBRARIES := BBB
include $(BUILD_SHARED_LIBRARY)
Here's Android-BBB.mk (static prebuilt):
include $(CLEAR_VARS)
LOCAL_MODULE := BBB
LOCAL_SRC_FILES := libBBB.a
include $(PREBUILT_STATIC_LIBRARY)
All of this works well as long as all the libs are armeabi. Now I need to add x86 to the mix. How do I do it properly? If I specify
APP_ABI :=
armeabi x86 in Application.mk I expect that correct prebuilts will be selected for arm and x86 builts.