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 := libgnss 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 libdl \ 19 liblog \ 20 libloc_core \ 21 libgps.utils 22 23LOCAL_SRC_FILES += \ 24 location_gnss.cpp \ 25 GnssAdapter.cpp \ 26 Agps.cpp 27 28LOCAL_CFLAGS += \ 29 -fno-short-enums \ 30 -Wall \ 31 -Werror \ 32 -Wno-format \ 33 34ifeq ($(TARGET_BUILD_VARIANT),user) 35 LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 36endif 37 38LOCAL_C_INCLUDES:= \ 39 $(TARGET_OUT_HEADERS)/gps.utils \ 40 $(TARGET_OUT_HEADERS)/libloc_core \ 41 $(TARGET_OUT_HEADERS)/libloc_pla \ 42 $(TARGET_OUT_HEADERS)/liblocation_api 43 44LOCAL_PRELINK_MODULE := false 45 46include $(BUILD_SHARED_LIBRARY) 47 48endif # not BUILD_TINY_ANDROID 49endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 50