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_SANITIZE += $(GNSS_SANITIZE) 10# activate the following line for debug purposes only, comment out for production 11#LOCAL_SANITIZE_DIAG += $(GNSS_SANITIZE_DIAG) 12LOCAL_VENDOR_MODULE := true 13LOCAL_MODULE_TAGS := optional 14 15LOCAL_SHARED_LIBRARIES := \ 16 liblog \ 17 libutils \ 18 libcutils \ 19 libgps.utils \ 20 libdl \ 21 liblog 22 23LOCAL_SRC_FILES += \ 24 LocApiBase.cpp \ 25 LocAdapterBase.cpp \ 26 ContextBase.cpp \ 27 LocContext.cpp \ 28 loc_core_log.cpp \ 29 data-items/DataItemsFactoryProxy.cpp \ 30 SystemStatusOsObserver.cpp \ 31 SystemStatus.cpp 32 33LOCAL_CFLAGS += \ 34 -fno-short-enums \ 35 -D_ANDROID_ 36 37LOCAL_C_INCLUDES:= \ 38 $(LOCAL_PATH)/data-items \ 39 $(LOCAL_PATH)/data-items/common \ 40 $(LOCAL_PATH)/observer \ 41 42LOCAL_HEADER_LIBRARIES := \ 43 libutils_headers \ 44 libgps.utils_headers \ 45 libloc_pla_headers \ 46 liblocation_api_headers 47 48LOCAL_CFLAGS += $(GNSS_CFLAGS) 49 50include $(BUILD_SHARED_LIBRARY) 51 52include $(CLEAR_VARS) 53LOCAL_MODULE := libloc_core_headers 54LOCAL_EXPORT_C_INCLUDE_DIRS := \ 55 $(LOCAL_PATH) \ 56 $(LOCAL_PATH)/data-items \ 57 $(LOCAL_PATH)/data-items/common \ 58 $(LOCAL_PATH)/observer 59include $(BUILD_HEADER_LIBRARY) 60 61endif # not BUILD_TINY_ANDROID 62endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 63