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