LOCAL_PATH := $(call my-dir)
TOP_LOCAL_PATH := $(call my-dir)/../
#Add target arm version
ifeq ($(TARGET_ARCH_ABI),armeabi)
MY_PJSIP_FLAGS := $(BASE_PJSIP_FLAGS) -DPJ_HAS_FLOATING_POINT=0
else
MY_PJSIP_FLAGS := $(BASE_PJSIP_FLAGS) -DPJ_HAS_FLOATING_POINT=1
endif
# Pjsip
include $(TOP_LOCAL_PATH)/pjlib/build/Android.mk
include $(TOP_LOCAL_PATH)/pjlib-util/build/Android.mk
include $(TOP_LOCAL_PATH)/pjnath/build/Android.mk
include $(TOP_LOCAL_PATH)/pjmedia/build/Android.mk
include $(TOP_LOCAL_PATH)/pjsip/build/Android.mk
#pjsip JNI
include $(TOP_LOCAL_PATH)/jni/build/Android.mk
#JSON
include $(TOP_LOCAL_PATH)/third_party/build/json/Android.mk
#GSLB
include $(TOP_LOCAL_PATH)/pgslb/build/Android.mk
還有一個android make文件。編譯GSLB需要這個文件。 libpjnath.a
,libpjnath.a
由$(TOP_LOCAL_PATH)/pjnath/build/Android.mk
編制。但make文件一旦執行就編譯GSLB。無法找到libpjnath.a
。
如何指定包含執行順序?Android.mki包含執行順序
對於'libpjnath **。a **'它應該是'LOCAL_STATIC_LIBRARIES'。 –