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_VENDOR_MODULE := true 10LOCAL_MODULE_TAGS := optional 11 12LOCAL_SHARED_LIBRARIES := \ 13 libutils \ 14 libcutils \ 15 libdl \ 16 liblog \ 17 libloc_core \ 18 libgps.utils 19 20LOCAL_SRC_FILES += \ 21 location_gnss.cpp \ 22 GnssAdapter.cpp \ 23 Agps.cpp \ 24 XtraSystemStatusObserver.cpp 25 26LOCAL_CFLAGS += \ 27 -fno-short-enums \ 28 29ifeq ($(TARGET_BUILD_VARIANT),user) 30 LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 31endif 32 33LOCAL_HEADER_LIBRARIES := \ 34 libgps.utils_headers \ 35 libloc_core_headers \ 36 libloc_pla_headers \ 37 liblocation_api_headers 38 39LOCAL_CFLAGS += $(GNSS_CFLAGS) 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