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_OWNER := qti 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 -Wall \ 29 -Werror \ 30 -Wno-unused-variable \ 31 32LOCAL_C_INCLUDES:= \ 33 $(TARGET_OUT_HEADERS)/gps.utils 34 35LOCAL_COPY_HEADERS_TO:= liblocation_api/ 36LOCAL_COPY_HEADERS:= \ 37 LocationAPI.h \ 38 LocationAPIClientBase.h \ 39 location_interface.h 40 41LOCAL_PRELINK_MODULE := false 42 43include $(BUILD_SHARED_LIBRARY) 44 45endif # not BUILD_TINY_ANDROID 46endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 47