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 := liblocation_api 9LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 10LOCAL_LICENSE_CONDITIONS := notice 11LOCAL_SANITIZE += $(GNSS_SANITIZE) 12# activate the following line for debug purposes only, comment out for production 13#LOCAL_SANITIZE_DIAG += $(GNSS_SANITIZE_DIAG) 14LOCAL_VENDOR_MODULE := true 15LOCAL_MODULE_TAGS := optional 16 17LOCAL_SHARED_LIBRARIES := \ 18 libutils \ 19 libcutils \ 20 libgps.utils \ 21 libdl \ 22 liblog 23 24LOCAL_SRC_FILES += \ 25 LocationAPI.cpp \ 26 LocationAPIClientBase.cpp 27 28LOCAL_CFLAGS += \ 29 -fno-short-enums 30 31LOCAL_HEADER_LIBRARIES := \ 32 libloc_pla_headers \ 33 libgps.utils_headers 34 35LOCAL_PRELINK_MODULE := false 36 37LOCAL_CFLAGS += $(GNSS_CFLAGS) 38include $(BUILD_SHARED_LIBRARY) 39 40include $(CLEAR_VARS) 41LOCAL_MODULE := liblocation_api_headers 42LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 43LOCAL_LICENSE_CONDITIONS := notice 44LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 45include $(BUILD_HEADER_LIBRARY) 46 47endif # not BUILD_TINY_ANDROID 48endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 49