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_LICENSE_KINDS := SPDX-license-identifier-BSD 10LOCAL_LICENSE_CONDITIONS := notice 11LOCAL_VENDOR_MODULE := true 12LOCAL_MODULE_TAGS := optional 13 14LOCAL_SHARED_LIBRARIES := \ 15 libutils \ 16 libcutils \ 17 libgps.utils \ 18 libdl \ 19 liblog 20 21LOCAL_SRC_FILES += \ 22 LocationAPI.cpp \ 23 LocationAPIClientBase.cpp 24 25LOCAL_CFLAGS += \ 26 -fno-short-enums 27 28LOCAL_HEADER_LIBRARIES := \ 29 libloc_pla_headers \ 30 libgps.utils_headers 31 32LOCAL_PRELINK_MODULE := false 33 34LOCAL_CFLAGS += $(GNSS_CFLAGS) 35include $(BUILD_SHARED_LIBRARY) 36 37include $(CLEAR_VARS) 38LOCAL_MODULE := liblocation_api_headers 39LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 40LOCAL_LICENSE_CONDITIONS := notice 41LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 42include $(BUILD_HEADER_LIBRARY) 43 44endif # not BUILD_TINY_ANDROID 45endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 46