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