[Android] build: no compat libs for android-L

Thomas Guillem git at videolan.org
Thu Oct 9 14:32:56 CEST 2014


vlc-ports/android | branch: tv | Thomas Guillem <tom at gllm.fr> | Wed Oct  8 18:25:39 2014 +0200| [8d7520f3304e9b90028364f4c44554e319009e87] | committer: Geoffrey Métais

build: no compat libs for android-L

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8d7520f3304e9b90028364f4c44554e319009e87
---

 vlc-android/jni/Android.mk |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/vlc-android/jni/Android.mk b/vlc-android/jni/Android.mk
index 812103f..921f0ee 100644
--- a/vlc-android/jni/Android.mk
+++ b/vlc-android/jni/Android.mk
@@ -4,8 +4,11 @@ include $(CLEAR_VARS)
 LOCAL_MODULE    := libvlcjni
 
 LOCAL_SRC_FILES := libvlcjni.c libvlcjni-util.c libvlcjni-track.c libvlcjni-medialist.c aout.c vout.c libvlcjni-equalizer.c native_crash_handler.c
-LOCAL_SRC_FILES += thumbnailer.c pthread-condattr.c pthread-rwlocks.c pthread-once.c eventfd.c sem.c
-LOCAL_SRC_FILES += pipe2.c
+LOCAL_SRC_FILES += thumbnailer.c
+ifneq ($(ANDROID_API),android-L)
+# compat functions not needed after android-L
+LOCAL_SRC_FILES += pthread-condattr.c pthread-rwlocks.c pthread-once.c eventfd.c sem.c pipe2.c
+endif
 LOCAL_SRC_FILES += wchar/wcpcpy.c
 LOCAL_SRC_FILES += wchar/wcpncpy.c
 LOCAL_SRC_FILES += wchar/wcscasecmp.c



More information about the Android mailing list