1# get current directory 2LOCAL_PATH := $(call my-dir) 3 4# libz.a 5# 6include $(CLEAR_VARS) 7LOCAL_MODULE := libz 8LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libz.a 9include $(PREBUILT_STATIC_LIBRARY) 10 11# libssl.a 12# 13include $(CLEAR_VARS) 14LOCAL_MODULE := libssl 15LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libssl.a 16include $(PREBUILT_STATIC_LIBRARY) 17 18# libcrypto.a 19# 20include $(CLEAR_VARS) 21LOCAL_MODULE := libcrypto 22LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libcrypto.a 23include $(PREBUILT_STATIC_LIBRARY) 24 25# libwebsockets.a 26# 27include $(CLEAR_VARS) 28LOCAL_MODULE := libwebsockets 29LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libwebsockets.a 30include $(PREBUILT_STATIC_LIBRARY) 31 32# liblwsservice.so 33# 34include $(CLEAR_VARS) 35LOCAL_DISABLE_FATAL_LINKER_WARNINGS := true 36LOCAL_MODULE := lwsservice 37LOCAL_SRC_FILES := LwsService.cpp 38LOCAL_C_INCLUDES := $(LOCAL_PATH) $(TARGET_ARCH_ABI)/include 39LOCAL_STATIC_LIBRARIES := websockets z ssl crypto 40LOCAL_LDLIBS := -llog 41include $(BUILD_SHARED_LIBRARY) 42