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