android: set the HAVE_VISIBILITY define

... in order to limit the exported symbols only to the required ones.
Both compilers used with Android (GCC and LLVM) support this, so set it
unconditionally.

Cc: Chih-Wei Huang <cwhuang@linux.org.tw>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
main
Emil Velikov 2015-04-01 16:54:26 +01:00
parent b091ecdbf9
commit 9dd2e8e552
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/include/drm $(LOCAL_PATH)/include/drm
LOCAL_CFLAGS := \ LOCAL_CFLAGS := \
-DHAVE_VISIBILITY=1 \
-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)