Michael Bestas | 58e7cab | 2023-05-12 04:05:32 +0300 | [diff] [blame] | 1 | ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) |
| 2 | ifneq ($(BUILD_TINY_ANDROID),true) |
| 3 | |
| 4 | LOCAL_PATH := $(call my-dir) |
| 5 | |
| 6 | include $(CLEAR_VARS) |
| 7 | |
| 8 | LOCAL_MODULE := libbatching |
| 9 | LOCAL_SANITIZE += $(GNSS_SANITIZE) |
| 10 | # activate the following line for debug purposes only, comment out for production |
| 11 | #LOCAL_SANITIZE_DIAG += $(GNSS_SANITIZE_DIAG) |
| 12 | LOCAL_VENDOR_MODULE := true |
| 13 | LOCAL_MODULE_TAGS := optional |
| 14 | |
| 15 | LOCAL_SHARED_LIBRARIES := \ |
| 16 | libutils \ |
| 17 | libcutils \ |
| 18 | liblog \ |
| 19 | libloc_core \ |
| 20 | libgps.utils \ |
Joshua Blanchard | 3e015e0 | 2019-11-28 19:48:36 -0500 | [diff] [blame] | 21 | libdl |
Michael Bestas | 58e7cab | 2023-05-12 04:05:32 +0300 | [diff] [blame] | 22 | |
| 23 | LOCAL_SRC_FILES += \ |
| 24 | location_batching.cpp \ |
| 25 | BatchingAdapter.cpp |
| 26 | |
| 27 | LOCAL_HEADER_LIBRARIES := \ |
| 28 | libgps.utils_headers \ |
| 29 | libloc_core_headers \ |
| 30 | libloc_pla_headers \ |
| 31 | liblocation_api_headers |
| 32 | |
| 33 | LOCAL_PRELINK_MODULE := false |
| 34 | |
| 35 | LOCAL_CFLAGS += $(GNSS_CFLAGS) |
| 36 | include $(BUILD_SHARED_LIBRARY) |
| 37 | |
| 38 | endif # not BUILD_TINY_ANDROID |
| 39 | endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE |