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_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib 10LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 11LOCAL_MODULE_TAGS := optional 12 13LOCAL_SHARED_LIBRARIES := \ 14 libutils \ 15 libcutils \ 16 libdl \ 17 liblog \ 18 libloc_core \ 19 libgps.utils 20 21LOCAL_SRC_FILES += \ 22 location_gnss.cpp \ 23 GnssAdapter.cpp \ 24 Agps.cpp \ 25 XtraSystemStatusObserver.cpp 26 27LOCAL_CFLAGS += \ 28 -fno-short-enums \ 29 -Wno-error \ 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