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 := libgeofencing 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_SRC_FILES:= \ 18 GeofenceAdapter.cpp \ 19 location_geofence.cpp 20 21LOCAL_SHARED_LIBRARIES := \ 22 libutils \ 23 libcutils \ 24 libgps.utils \ 25 liblog \ 26 libloc_core \ 27 liblbs_core 28 29LOCAL_HEADER_LIBRARIES := \ 30 libgps.utils_headers \ 31 libloc_core_headers \ 32 libloc_pla_headers \ 33 liblocation_api_headers 34 35LOCAL_PRELINK_MODULE := false 36LOCAL_CFLAGS += $(GNSS_CFLAGS) 37include $(BUILD_SHARED_LIBRARY) 38 39endif # not BUILD_TINY_ANDROID 40endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 41