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_NOTICE_FILE := $(LOCAL_PATH)/../../NOTICE 13LOCAL_MODULE_OWNER := qcom 14 15LOCAL_SHARED_LIBRARIES := \ 16 librpc \ 17 libcommondefs 18 19LOCAL_SRC_FILES += \ 20 src/loc_api_rpcgen_cb_xdr.c \ 21 src/loc_api_rpcgen_common_xdr.c \ 22 src/loc_api_rpcgen_cb_svc.c \ 23 src/loc_api_rpcgen_clnt.c \ 24 src/loc_api_rpcgen_xdr.c 25 26LOCAL_C_INCLUDES += hardware/msm7k/librpc 27LOCAL_C_INCLUDES += $(LOC_RPCGEN_APIS_PATH)/../../SHARED_LIBRARIES/libcommondefs_intermediates/inc 28LOCAL_C_INCLUDES += $(LOCAL_PATH)/inc 29LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libcommondefs/rpcgen/inc 30 31LOCAL_COPY_HEADERS_TO := loc_api/rpcgen/inc 32LOCAL_COPY_HEADERS := inc/loc_api_rpcgen_rpc.h 33LOCAL_COPY_HEADERS += inc/loc_api_rpcgen_common_rpc.h 34LOCAL_COPY_HEADERS += inc/loc_api_rpcgen_cb_rpc.h 35LOCAL_COPY_HEADERS += inc/loc_apicb_appinit.h 36 37LOCAL_LDLIBS += -lpthread 38LOCAL_PRELINK_MODULE := false 39include $(BUILD_STATIC_LIBRARY) 40