1# XXX: Consider moving these to config.h analogous to autoconf. 2LOCAL_CFLAGS += \ 3 -DMAJOR_IN_SYSMACROS=1 \ 4 -DHAVE_ALLOCA_H=0 \ 5 -DHAVE_SYS_SELECT_H=0 \ 6 -DHAVE_SYS_SYSCTL_H=0 \ 7 -DHAVE_VISIBILITY=1 \ 8 -fvisibility=hidden \ 9 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 10 11LOCAL_CFLAGS += \ 12 -Wno-error \ 13 -Wno-unused-parameter \ 14 -Wno-missing-field-initializers \ 15 -Wno-pointer-arith \ 16 -Wno-enum-conversion 17 18# Quiet down the build system and remove any .h files from the sources 19LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES)) 20LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH) 21 22LOCAL_PROPRIETARY_MODULE := true 23