summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Android.common.mk')
-rw-r--r--Android.common.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk
new file mode 100644
index 00000000..f57b8d37
--- /dev/null
+++ b/Android.common.mk
@@ -0,0 +1,12 @@
1# XXX: Consider moving these to config.h analogous to autoconf.
2LOCAL_CFLAGS += \
3 -DHAVE_VISIBILITY=1 \
4 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
5
6LOCAL_CFLAGS += \
7 -Wno-unused-parameter \
8 -Wno-missing-field-initializers
9
10# Quiet down the build system and remove any .h files from the sources
11LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
12LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)