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-05-28 08:34:13 -06:00
|
|
|
-DMAJOR_IN_SYSMACROS=1 \
|
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)
|
2017-09-15 07:45:59 -06:00
|
|
|
|
|
|
|
LOCAL_PROPRIETARY_MODULE := true
|