1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_MODULE := libdrm_rockchip 5LOCAL_MODULE_TAGS := optional 6 7LOCAL_SHARED_LIBRARIES := libdrm 8 9LOCAL_SRC_FILES := rockchip_drm.c 10LOCAL_EXPORT_C_INCLUDE_DIRS += \ 11 $(LOCAL_PATH)/rockchip 12 13LOCAL_C_INCLUDES := \ 14 $(LIBDRM_TOP) \ 15 $(LIBDRM_TOP)/rockchip \ 16 $(LIBDRM_TOP)/include/drm 17 18LOCAL_CFLAGS := \ 19 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 20 21LOCAL_COPY_HEADERS := rockchip_drm.h rockchip_drmif.h 22LOCAL_COPY_HEADERS_TO := libdrm 23 24LOCAL_SHARED_LIBRARIES := \ 25 libdrm 26 27include $(BUILD_SHARED_LIBRARY) 28