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