[Android] Recompiled extlibs/ properly
External libraries are compiled with the latest NDK version (r9) with android-9 as API level using the recommended flags (see docs/). External libraries are now compiled without the so version suffix because the NDK strips it at install time. Static libraries of libsndfile and OpenAL-Soft have been removed because of their non-permissive license. It now uses their shared libraries. NOTE: The audio module is disabled on MIPS arches because I was unable to compile OpenAL-Soft. Once the compilation issue fixed, I'll re-enable it.
This commit is contained in:
parent
ea3a29f150
commit
293b85af53
@ -14,40 +14,50 @@ include $(PREBUILT_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := ogg
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libogg.a
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libogg.so
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
TARGET_ARCH_ABI := armeabi armeabi-v7a x86
|
||||
|
||||
include $(PREBUILT_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := vorbis
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libvorbis.a
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
|
||||
include $(PREBUILT_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := vorbisenc
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libvorbisenc.a
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
|
||||
include $(PREBUILT_STATIC_LIBRARY)
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := flac
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libFLAC.a
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libFLAC.so
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
TARGET_ARCH_ABI := armeabi armeabi-v7a x86
|
||||
|
||||
include $(PREBUILT_STATIC_LIBRARY)
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := vorbis
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libvorbis.so
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
TARGET_ARCH_ABI := armeabi armeabi-v7a x86
|
||||
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := vorbisenc
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libvorbisenc.so
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
TARGET_ARCH_ABI := armeabi armeabi-v7a x86
|
||||
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := sndfile
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libsndfile.a
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libsndfile.so
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
include $(PREBUILT_STATIC_LIBRARY)
|
||||
LOCAL_SHARED_LIBRARIES := ogg flac vorbis vorbisenc
|
||||
TARGET_ARCH_ABI := armeabi armeabi-v7a x86
|
||||
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := openal
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libopenal.a
|
||||
LOCAL_SRC_FILES := lib/$(TARGET_ARCH_ABI)/libopenal.so
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
include $(PREBUILT_STATIC_LIBRARY)
|
||||
LOCAL_SHARED_LIBRARIES := ogg flac vorbis vorbisenc
|
||||
TARGET_ARCH_ABI := armeabi armeabi-v7a x86
|
||||
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
||||
|
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libFLAC.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libFLAC.so
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libogg.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libogg.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libopenal.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libopenal.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libsndfile.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libsndfile.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libvorbis.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libvorbis.so
Executable file
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libvorbisenc.a → extlibs/android/extlibs/lib/armeabi-v7a/libvorbisenc.so
Normal file → Executable file
BIN
extlibs/android/extlibs/lib/armeabi-v7a/libvorbisenc.a → extlibs/android/extlibs/lib/armeabi-v7a/libvorbisenc.so
Normal file → Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi/libFLAC.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi/libFLAC.so
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi/libogg.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi/libogg.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi/libopenal.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi/libopenal.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi/libsndfile.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi/libsndfile.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi/libvorbis.so
Executable file
BIN
extlibs/android/extlibs/lib/armeabi/libvorbis.so
Executable file
Binary file not shown.
BIN
extlibs/android/extlibs/lib/armeabi/libvorbisenc.a → extlibs/android/extlibs/lib/armeabi/libvorbisenc.so
Normal file → Executable file
BIN
extlibs/android/extlibs/lib/armeabi/libvorbisenc.a → extlibs/android/extlibs/lib/armeabi/libvorbisenc.so
Normal file → Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/x86/libFLAC.so
Executable file
BIN
extlibs/android/extlibs/lib/x86/libFLAC.so
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/x86/libogg.so
Executable file
BIN
extlibs/android/extlibs/lib/x86/libogg.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/x86/libopenal.so
Executable file
BIN
extlibs/android/extlibs/lib/x86/libopenal.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/x86/libsndfile.so
Executable file
BIN
extlibs/android/extlibs/lib/x86/libsndfile.so
Executable file
Binary file not shown.
Binary file not shown.
BIN
extlibs/android/extlibs/lib/x86/libvorbis.so
Executable file
BIN
extlibs/android/extlibs/lib/x86/libvorbis.so
Executable file
Binary file not shown.
BIN
extlibs/android/extlibs/lib/x86/libvorbisenc.a → extlibs/android/extlibs/lib/x86/libvorbisenc.so
Normal file → Executable file
BIN
extlibs/android/extlibs/lib/x86/libvorbisenc.a → extlibs/android/extlibs/lib/x86/libvorbisenc.so
Normal file → Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user