1ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) 2ifneq ($(BUILD_TINY_ANDROID),true) 3 4LOCAL_PATH := $(call my-dir) 5 6include $(CLEAR_VARS) 7 8LOCAL_MODULE := libloc_core 9LOCAL_MODULE_OWNER := qcom 10 11LOCAL_MODULE_TAGS := optional 12 13LOCAL_SHARED_LIBRARIES := \ 14 libutils \ 15 liblog \ 16 libcutils \ 17 libgps.utils \ 18 libdl 19 20LOCAL_SRC_FILES += \ 21 MsgTask.cpp \ 22 LocApiBase.cpp \ 23 LocAdapterBase.cpp \ 24 ContextBase.cpp \ 25 LocDualContext.cpp \ 26 loc_core_log.cpp 27 28LOCAL_CFLAGS += \ 29 -fno-short-enums \ 30 -D_ANDROID_ \ 31 -Wno-unused-parameter 32 33LOCAL_C_INCLUDES:= \ 34 $(TARGET_OUT_HEADERS)/gps.utils 35 36LOCAL_COPY_HEADERS_TO:= libloc_core/ 37LOCAL_COPY_HEADERS:= \ 38 MsgTask.h \ 39 LocApiBase.h \ 40 LocAdapterBase.h \ 41 ContextBase.h \ 42 LocDualContext.h \ 43 LBSProxyBase.h \ 44 UlpProxyBase.h \ 45 gps_extended_c.h \ 46 gps_extended.h \ 47 loc_core_log.h \ 48 LocAdapterProxyBase.h 49 50LOCAL_PRELINK_MODULE := false 51 52include $(BUILD_SHARED_LIBRARY) 53 54endif # not BUILD_TINY_ANDROID 55endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 56