1# get current directory 2LOCAL_PATH := $(call my-dir) 3 4# libz.a 5# 6include $(CLEAR_VARS) 7LOCAL_MODULE := libz 8LOCAL_LICENSE_KINDS := SPDX-license-identifier-CC0-1.0 legacy_unencumbered 9LOCAL_LICENSE_CONDITIONS := unencumbered 10LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../../../../LICENSE 11LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libz.a 12include $(PREBUILT_STATIC_LIBRARY) 13 14# libssl.a 15# 16include $(CLEAR_VARS) 17LOCAL_MODULE := libssl 18LOCAL_LICENSE_KINDS := SPDX-license-identifier-CC0-1.0 legacy_unencumbered 19LOCAL_LICENSE_CONDITIONS := unencumbered 20LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../../../../LICENSE 21LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libssl.a 22include $(PREBUILT_STATIC_LIBRARY) 23 24# libcrypto.a 25# 26include $(CLEAR_VARS) 27LOCAL_MODULE := libcrypto 28LOCAL_LICENSE_KINDS := SPDX-license-identifier-CC0-1.0 legacy_unencumbered 29LOCAL_LICENSE_CONDITIONS := unencumbered 30LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../../../../LICENSE 31LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libcrypto.a 32include $(PREBUILT_STATIC_LIBRARY) 33 34# libwebsockets.a 35# 36include $(CLEAR_VARS) 37LOCAL_MODULE := libwebsockets 38LOCAL_LICENSE_KINDS := SPDX-license-identifier-CC0-1.0 legacy_unencumbered 39LOCAL_LICENSE_CONDITIONS := unencumbered 40LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../../../../LICENSE 41LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/lib/libwebsockets.a 42include $(PREBUILT_STATIC_LIBRARY) 43 44# liblwsservice.so 45# 46include $(CLEAR_VARS) 47LOCAL_DISABLE_FATAL_LINKER_WARNINGS := true 48LOCAL_MODULE := lwsservice 49LOCAL_LICENSE_KINDS := SPDX-license-identifier-CC0-1.0 legacy_unencumbered 50LOCAL_LICENSE_CONDITIONS := unencumbered 51LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../../../../../../LICENSE 52LOCAL_SRC_FILES := LwsService.cpp 53LOCAL_C_INCLUDES := $(LOCAL_PATH) $(TARGET_ARCH_ABI)/include 54LOCAL_STATIC_LIBRARIES := websockets z ssl crypto 55LOCAL_LDLIBS := -llog 56include $(BUILD_SHARED_LIBRARY) 57