2017-01-22 10:06:05 -07:00
|
|
|
# XXX: Consider moving these to config.h analogous to autoconf.
|
2017-01-22 09:59:42 -07:00
|
|
|
LOCAL_CFLAGS += \
|
2017-01-22 10:03:07 -07:00
|
|
|
-DHAVE_VISIBILITY=1 \
|
2017-01-22 09:59:42 -07:00
|
|
|
-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
|
|
|
|
|
2017-01-22 10:43:13 -07:00
|
|
|
LOCAL_CFLAGS += \
|
|
|
|
-Wno-unused-parameter \
|
2017-03-22 13:05:25 -06:00
|
|
|
-Wno-missing-field-initializers \
|
|
|
|
-Wno-pointer-arith \
|
|
|
|
-Wno-enum-conversion
|
2017-01-22 10:43:13 -07:00
|
|
|
|
2017-01-22 09:59:42 -07:00
|
|
|
# Quiet down the build system and remove any .h files from the sources
|
|
|
|
LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
|
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
|