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_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib 12LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 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 -Wno-error \ 29 30LOCAL_HEADER_LIBRARIES := \ 31 libloc_pla_headers \ 32 libgps.utils_headers 33 34LOCAL_PRELINK_MODULE := false 35 36LOCAL_CFLAGS += $(GNSS_CFLAGS) 37include $(BUILD_SHARED_LIBRARY) 38 39include $(CLEAR_VARS) 40LOCAL_MODULE := liblocation_api_headers 41LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 42LOCAL_LICENSE_CONDITIONS := notice 43LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 44include $(BUILD_HEADER_LIBRARY) 45 46endif # not BUILD_TINY_ANDROID 47endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 48