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 liblog \ 24 libcutils \ 25 libgps.utils \ 26 libdl \ 27 libprocessgroup 28 29LOCAL_SRC_FILES += \ 30 MsgTask.cpp \ 31 LocApiBase.cpp \ 32 LocAdapterBase.cpp \ 33 ContextBase.cpp \ 34 LocDualContext.cpp \ 35 loc_core_log.cpp 36 37LOCAL_CFLAGS += \ 38 -fno-short-enums \ 39 -D_ANDROID_ \ 40 -Wno-unused-parameter 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