Commit 836c1fe6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Remove Application.mk

parent e6c7d058
......@@ -445,18 +445,23 @@ BUILTINS="$BUILTINS NULL\n};\n"; \
printf "/* Autogenerated from the list of modules */\n $DEFINITION\n $BUILTINS\n" > libvlc/jni/libvlcjni.h
echo "Generating static modules object files"
echo $VLC_BUILD_DIR
LIBVLC_LIBS="libvlcjni"
VLC_MODULES=`echo $VLC_MODULES|sed "s|vlc/$VLC_BUILD_DIR|../vlc/$VLC_BUILD_DIR|g"`
VLC_SRC_DIR="../vlc"
VLC_CONTRIB="$VLC_SRC_DIR/contrib/$TARGET_TUPLE"
echo "Building NDK"
$ANDROID_NDK/ndk-build -C libvlc \
VLC_SRC_DIR="$VLC_SRC_DIR" \
VLC_BUILD_DIR="$VLC_SRC_DIR/$VLC_BUILD_DIR" \
VLC_CONTRIB="$VLC_CONTRIB" \
VLC_MODULES="$VLC_MODULES" \
TARGET_CFLAGS="$VLC_EXTRA_CFLAGS" \
LIBVLC_LIBS="$LIBVLC_LIBS" V=1
LIBVLC_LIBS="$LIBVLC_LIBS" \
APP_BUILD_SCRIPT=jni/Android.mk \
APP_PLATFORM=${ANDROID_API} \
APP_ABI=${ANDROID_ABI} \
NDK_PROJECT_PATH=jni
APP_PLATFORM := $(ANDROID_API)
APP_ABI := $(ANDROID_ABI)
NDK_TOOLCHAIN_VERSION=$(GCCVER)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment