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 libprocessgroup 20 21LOCAL_SRC_FILES += \ 22 MsgTask.cpp \ 23 LocApiBase.cpp \ 24 LocAdapterBase.cpp \ 25 ContextBase.cpp \ 26 LocDualContext.cpp \ 27 loc_core_log.cpp 28 29LOCAL_CFLAGS += \ 30 -fno-short-enums \ 31 -D_ANDROID_ \ 32 -Wno-unused-parameter \ 33 -Wno-error \ 34 35LOCAL_C_INCLUDES:= \ 36 $(TARGET_OUT_HEADERS)/gps.utils 37 38LOCAL_COPY_HEADERS_TO:= libloc_core/ 39LOCAL_COPY_HEADERS:= \ 40 MsgTask.h \ 41 LocApiBase.h \ 42 LocAdapterBase.h \ 43 ContextBase.h \ 44 LocDualContext.h \ 45 LBSProxyBase.h \ 46 UlpProxyBase.h \ 47 gps_extended_c.h \ 48 gps_extended.h \ 49 loc_core_log.h \ 50 LocAdapterProxyBase.h 51 52LOCAL_PRELINK_MODULE := false 53 54include $(BUILD_SHARED_LIBRARY) 55 56endif # not BUILD_TINY_ANDROID 57endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 58