mt6735 如何添加Static Library (静态库)到 Share Library(共享库)
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
如何添加Static Library (静态库)到Share Library(共享库)
如:如何添加libnexsound.a到libaudio.primary.default.so
[SOLUTION]
如: 修改mediatek\platform\MT6592\hardware\audio\android.mk (各个不同的版本和平台均可参考)
include $(CLEAR_VARS)
LOCAL_MODULE :=libnexsound
LOCAL_SRC_FILES:=libnexsound.a
LOCAL_MODULE_CLASS:=STATIC_LIBRARIES
LOCAL_MODULE_SUFFIX:=.a
include $(BUILD_PREBUILT)
LOCAL_STATIC_LIBRARIES := \
libnexsound
如何添加Static Library (静态库)到Share Library(共享库)
如:如何添加libnexsound.a到libaudio.primary.default.so
[SOLUTION]
如: 修改mediatek\platform\MT6592\hardware\audio\android.mk (各个不同的版本和平台均可参考)
include $(CLEAR_VARS)
LOCAL_MODULE :=libnexsound
LOCAL_SRC_FILES:=libnexsound.a
LOCAL_MODULE_CLASS:=STATIC_LIBRARIES
LOCAL_MODULE_SUFFIX:=.a
include $(BUILD_PREBUILT)
LOCAL_STATIC_LIBRARIES := \
libnexsound