1 LOCAL_PATH := $(call my-dir)
4 # Import variables LIBDRM_FREEDRENO_FILES, LIBDRM_FREEDRENO_H_FILES
5 include $(LOCAL_PATH)/Makefile.sources
7 LOCAL_MODULE := libdrm_freedreno
8 LOCAL_MODULE_TAGS := optional
10 LOCAL_SHARED_LIBRARIES := libdrm
12 LOCAL_SRC_FILES := $(LIBDRM_FREEDRENO_FILES)
13 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
17 $(LIBDRM_TOP)/freedreno \
18 $(LIBDRM_TOP)/include/drm
21 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
23 LOCAL_COPY_HEADERS := $(LIBDRM_FREEDRENO_H_FILES)
24 LOCAL_COPY_HEADERS_TO := freedreno
26 include $(BUILD_SHARED_LIBRARY)