blob: f3e8fe4da354d82af868a9538457f47ef5ccf3c9 [file] [log] [blame]
Michael Bestas58e7cab2023-05-12 04:05:32 +03001ifneq ($(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_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 libutils \
17 libcutils \
18 liblog \
19 libloc_core \
20 libgps.utils \
Joshua Blanchard3e015e02019-11-28 19:48:36 -050021 libdl
Michael Bestas58e7cab2023-05-12 04:05:32 +030022
23LOCAL_SRC_FILES += \
24 location_batching.cpp \
25 BatchingAdapter.cpp
26
27LOCAL_HEADER_LIBRARIES := \
28 libgps.utils_headers \
29 libloc_core_headers \
30 libloc_pla_headers \
31 liblocation_api_headers
32
33LOCAL_PRELINK_MODULE := false
34
35LOCAL_CFLAGS += $(GNSS_CFLAGS)
36include $(BUILD_SHARED_LIBRARY)
37
38endif # not BUILD_TINY_ANDROID
39endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE