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_VENDOR_MODULE := true 10LOCAL_MODULE_OWNER := qti 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 -Wall \ 27 -Werror \ 28 -Wno-unused-variable \ 29 30LOCAL_C_INCLUDES:= \ 31 $(TARGET_OUT_HEADERS)/gps.utils 32 33LOCAL_COPY_HEADERS_TO:= liblocation_api/ 34LOCAL_COPY_HEADERS:= \ 35 LocationAPI.h \ 36 LocationAPIClientBase.h \ 37 location_interface.h 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