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

Thomas Guillem git at videolan.org
Thu Oct 9 13:09:32 CEST 2014


vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Wed Oct  8 18:25:39 2014 +0200| [ea56456205ad56c87084bf89ceb46cf29bc3e37d] | committer: Jean-Baptiste Kempf

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=ea56456205ad56c87084bf89ceb46cf29bc3e37d
---

 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