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