1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5# functions 6LOC_RPCGEN_APIS_PATH := $(TARGET_OUT_INTERMEDIATES)/loc_api/libloc_api_rpcgen_intermediates 7LOC_RPCGEN_APIS_PATH_FL := ../../../../../$(TARGET_OUT_INTERMEDIATES)/loc_api/libloc_api_rpcgen_intermediates 8 9LOCAL_MODULE := libloc_api_rpcgen 10LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 11LOCAL_LICENSE_CONDITIONS := notice 12LOCAL_MODULE_OWNER := qcom 13 14LOCAL_SHARED_LIBRARIES := \ 15 librpc \ 16 libcommondefs 17 18LOCAL_SRC_FILES += \ 19 src/loc_api_rpcgen_cb_xdr.c \ 20 src/loc_api_rpcgen_common_xdr.c \ 21 src/loc_api_rpcgen_cb_svc.c \ 22 src/loc_api_rpcgen_clnt.c \ 23 src/loc_api_rpcgen_xdr.c 24 25LOCAL_C_INCLUDES += hardware/msm7k/librpc 26LOCAL_C_INCLUDES += $(LOC_RPCGEN_APIS_PATH)/../../SHARED_LIBRARIES/libcommondefs_intermediates/inc 27LOCAL_C_INCLUDES += $(LOCAL_PATH)/inc 28LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libcommondefs/rpcgen/inc 29 30LOCAL_LDLIBS += -lpthread 31LOCAL_PRELINK_MODULE := false 32include $(BUILD_STATIC_LIBRARY) 33 34include $(CLEAR_VARS) 35LOCAL_MODULE := libloc_api_rpcgen_headers 36LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 37LOCAL_LICENSE_CONDITIONS := notice 38LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/inc 39include $(BUILD_HEADER_LIBRARY) 40