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 := liblocation_api 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 libgps.utils \ 17 libdl \ 18 liblog 19 20LOCAL_SRC_FILES += \ 21 LocationAPI.cpp \ 22 LocationAPIClientBase.cpp 23 24LOCAL_CFLAGS += \ 25 -fno-short-enums \ 26 -Wno-error \ 27 28LOCAL_HEADER_LIBRARIES := \ 29 libloc_pla_headers \ 30 libgps.utils_headers 31 32LOCAL_PRELINK_MODULE := false 33 34LOCAL_CFLAGS += $(GNSS_CFLAGS) 35include $(BUILD_SHARED_LIBRARY) 36 37include $(CLEAR_VARS) 38LOCAL_MODULE := liblocation_api_headers 39LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 40include $(BUILD_HEADER_LIBRARY) 41 42endif # not BUILD_TINY_ANDROID 43endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE 44