1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4RPC_INC:=rpc_inc 5 6source_files:= \ 7 src/loc_api_rpc_glue.c \ 8 src/loc_api_sync_call.c \ 9 src/loc_apicb_appinit.c \ 10 src/loc_api_fixup.c \ 11 src/loc_api_log.c \ 12 src/LocApiRpc.cpp 13 14LOCAL_SRC_FILES:= $(source_files) 15 16LOCAL_CFLAGS:=-fno-short-enums 17LOCAL_CFLAGS+=-DDEBUG -DUSE_QCOM_AUTO_RPC -DUSE_QCOM_AUTO_RPC 18LOCAL_CFLAGS+=$(GPS_FEATURES) 19 20# for loc_api_fixup.c 21LOCAL_CFLAGS+=-DADD_XDR_FLOAT -DADD_XDR_BOOL 22 23LOCAL_SHARED_LIBRARIES:= \ 24 librpc \ 25 libutils \ 26 libcutils \ 27 libcommondefs \ 28 libgps.utils \ 29 libloc_core 30 31LOCAL_STATIC_LIBRARIES := \ 32 libloc_api_rpcgen 33 34LOCAL_PRELINK_MODULE:= false 35 36LOCAL_C_INCLUDES:= \ 37 $(LOCAL_PATH) \ 38 $(LOCAL_PATH)/rpc_inc \ 39 $(TARGET_OUT_HEADERS)/gps.utils \ 40 $(TARGET_OUT_HEADERS)/libloc_core \ 41 $(TARGET_OUT_HEADERS)/loc_api/rpcgen/inc \ 42 $(TARGET_OUT_HEADERS)/libcommondefs/rpcgen/inc \ 43 $(TARGET_OUT_HEADERS)/librpc \ 44 $(TARGET_OUT_HEADERS)/libloc-rpc/rpc_inc \ 45 $(TOP)/hardware/msm7k/librpc 46 47 48LOCAL_MODULE:= libloc_api-rpc-qc 49LOCAL_LICENSE_KINDS:= SPDX-license-identifier-BSD 50LOCAL_LICENSE_CONDITIONS:= notice 51LOCAL_MODULE_OWNER := qcom 52 53LOCAL_MODULE_TAGS := optional 54LOCAL_PROPRIETARY_MODULE := true 55 56include $(BUILD_SHARED_LIBRARY) 57 58include $(CLEAR_VARS) 59LOCAL_MODULE := libloc_api-rpc-qc_headers 60LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 61LOCAL_LICENSE_CONDITIONS := notice 62LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH/$(RPC_INC)) 63include $(BUILD_HEADER_LIBRARY) 64