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 31ifeq ($(TARGET_BUILD_VARIANT),user) 32 LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 33endif 34 35LOCAL_C_INCLUDES:= \ 36 $(TARGET_OUT_HEADERS)/gps.utils \ 37 $(TARGET_OUT_HEADERS)/libloc_core \ 38 $(TARGET_OUT_HEADERS)/libloc_pla \ 39 $(TARGET_OUT_HEADERS)/liblocation_api 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