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_TAGS := optional 13 14LOCAL_SHARED_LIBRARIES := \ 15 libutils \ 16 libcutils \ 17 libdl \ 18 liblog \ 19 libloc_core \ 20 libgps.utils 21 22LOCAL_SRC_FILES += \ 23 location_gnss.cpp \ 24 GnssAdapter.cpp \ 25 Agps.cpp \ 26 XtraSystemStatusObserver.cpp 27 28LOCAL_CFLAGS += \ 29 -fno-short-enums \ 30 31ifeq ($(TARGET_BUILD_VARIANT),user) 32 LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 33endif 34 35LOCAL_HEADER_LIBRARIES := \ 36 libgps.utils_headers \ 37 libloc_core_headers \ 38 libloc_pla_headers \ 39 liblocation_api_headers 40 41LOCAL_CFLAGS += $(GNSS_CFLAGS) 42 43LOCAL_PRELINK_MODULE := false 44 45include $(BUILD_SHARED_LIBRARY) 46 47endif # not BUILD_TINY_ANDROID 48endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 49