1 # XXX: Consider moving these to config.h analogous to autoconf. 2 LOCAL_CFLAGS += \ 3 -DMAJOR_IN_SYSMACROS=1 \ 4 -DHAVE_VISIBILITY=1 \ 5 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 6 7 LOCAL_CFLAGS += \ 8 -Wno-unused-parameter \ 9 -Wno-missing-field-initializers 10 11 # Quiet down the build system and remove any .h files from the sources 12 LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES)) 13 LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH) 14