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 := libbatching 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 liblog \ 21 libloc_core \ 22 libgps.utils \ 23 libdl \ 24 liblbs_core 25 26LOCAL_SRC_FILES += \ 27 location_batching.cpp \ 28 BatchingAdapter.cpp 29 30LOCAL_HEADER_LIBRARIES := \ 31 libgps.utils_headers \ 32 libloc_core_headers \ 33 libloc_pla_headers \ 34 liblocation_api_headers 35 36LOCAL_PRELINK_MODULE := false 37 38LOCAL_CFLAGS += $(GNSS_CFLAGS) 39include $(BUILD_SHARED_LIBRARY) 40 41endif # not BUILD_TINY_ANDROID 42endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 43