modetest: switch usage to proper options grammar
[drm/libdrm.git] / Android.common.mk
blob37c2b23a1898cf6eca7c535dbc7117fed7f3b55c
1 # XXX: Consider moving these to config.h analogous to autoconf.
2 LOCAL_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
11 LOCAL_CFLAGS += \
12 -Wno-error \
13 -Wno-unused-parameter \
14 -Wno-missing-field-initializers \
15 -Wno-pointer-arith \
16 -Wno-enum-conversion
18 # Quiet down the build system and remove any .h files from the sources
19 LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
20 LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
22 LOCAL_PROPRIETARY_MODULE := true