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_OWNER := qti 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 26LOCAL_CFLAGS += \ 27 -fno-short-enums \ 28 29ifeq ($(TARGET_BUILD_VARIANT),user) 30 LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER 31endif 32 33LOCAL_C_INCLUDES:= \ 34 $(TARGET_OUT_HEADERS)/gps.utils \ 35 $(TARGET_OUT_HEADERS)/libloc_core \ 36 $(TARGET_OUT_HEADERS)/libloc_pla \ 37 $(TARGET_OUT_HEADERS)/liblocation_api 38 39LOCAL_PRELINK_MODULE := false 40 41include $(BUILD_SHARED_LIBRARY) 42 43endif # not BUILD_TINY_ANDROID 44endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 45