[Android] Create a basic SDK package
Rafaël Carré
git at videolan.org
Fri Aug 9 13:42:25 CEST 2013
vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Mon Aug 5 10:15:56 2013 +0200| [fcdd58f774a46004792301466ac1fa231d0591df] | committer: Rafaël Carré
Create a basic SDK package
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=fcdd58f774a46004792301466ac1fa231d0591df
---
Makefile | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1d8e4d2..67c99ca 100644
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@ lightclean:
rm -f $(PRIVATE_LIBDIR)/*.so $(PRIVATE_LIBDIR)/*.c
clean: lightclean
- rm -rf $(SRC)/gen java-libs/*/gen java-libs/*/bin
+ rm -rf $(SRC)/gen java-libs/*/gen java-libs/*/bin .sdk vlc-sdk/ vlc-sdk.7z
jniclean: lightclean
rm -f $(LIBVLCJNI) $(LIBVLCJNI_H)
@@ -130,4 +130,14 @@ apkclean-run: apkclean build-and-run
distclean-run: distclean build-and-run
adb logcat -c
+vlc-sdk.7z: .sdk
+ 7z a $@ vlc-sdk/
+
+.sdk:
+ mkdir -p vlc-sdk/libs
+ cd vlc-android; cp -r libs/* ../vlc-sdk/libs
+ mkdir -p vlc-sdk/src/org/videolan
+ cp -r vlc-android/src/org/videolan/libvlc vlc-sdk/src/org/videolan
+ touch $@
+
.PHONY: lightclean clean jniclean distclean distclean-run apkclean apkclean-run install run build-and-run
More information about the Android
mailing list