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_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 libgps.utils \ 19 libdl \ 20 liblog 21 22LOCAL_SRC_FILES += \ 23 LocationAPI.cpp \ 24 LocationAPIClientBase.cpp 25 26LOCAL_CFLAGS += \ 27 -fno-short-enums 28 29LOCAL_HEADER_LIBRARIES := \ 30 libloc_pla_headers \ 31 libgps.utils_headers 32 33LOCAL_PRELINK_MODULE := false 34 35LOCAL_CFLAGS += $(GNSS_CFLAGS) 36include $(BUILD_SHARED_LIBRARY) 37 38include $(CLEAR_VARS) 39LOCAL_MODULE := liblocation_api_headers 40LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 41include $(BUILD_HEADER_LIBRARY) 42 43endif # not BUILD_TINY_ANDROID 44endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 45