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_VENDOR_MODULE := true 10LOCAL_MODULE_OWNER := qti 11LOCAL_MODULE_TAGS := optional 12 13ifeq ($(TARGET_DEVICE),apq8026_lw) 14LOCAL_CFLAGS += -DPDK_FEATURE_SET 15else ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true) 16LOCAL_CFLAGS += -DPDK_FEATURE_SET 17endif 18 19LOCAL_SHARED_LIBRARIES := \ 20 liblog \ 21 libutils \ 22 liblog \ 23 libcutils \ 24 libgps.utils \ 25 libdl \ 26 libloc_pla 27 28LOCAL_SRC_FILES += \ 29 LocApiBase.cpp \ 30 LocAdapterBase.cpp \ 31 ContextBase.cpp \ 32 LocDualContext.cpp \ 33 loc_core_log.cpp \ 34 SystemStatus.cpp 35 36LOCAL_CFLAGS += \ 37 -fno-short-enums \ 38 -D_ANDROID_ 39 40LOCAL_C_INCLUDES:= \ 41 $(TARGET_OUT_HEADERS)/gps.utils \ 42 $(TARGET_OUT_HEADERS)/libloc_pla \ 43 $(TARGET_OUT_HEADERS)/liblocation_api 44 45LOCAL_COPY_HEADERS_TO:= libloc_core/ 46LOCAL_COPY_HEADERS:= \ 47 LocApiBase.h \ 48 LocAdapterBase.h \ 49 ContextBase.h \ 50 LocDualContext.h \ 51 LBSProxyBase.h \ 52 UlpProxyBase.h \ 53 loc_core_log.h \ 54 LocAdapterProxyBase.h \ 55 SystemStatus.h 56 57LOCAL_PRELINK_MODULE := false 58 59include $(BUILD_SHARED_LIBRARY) 60 61endif # not BUILD_TINY_ANDROID 62endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 63