From 32b74dc9a500fec77f6b4abf103a42376f9cd928 Mon Sep 17 00:00:00 2001 From: renaud gaudin Date: Thu, 4 Apr 2013 19:49:52 +0200 Subject: [PATCH] Added ant compile --- create_libkiwix.so.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/create_libkiwix.so.py b/create_libkiwix.so.py index 322eac1fb..e32ecffe7 100755 --- a/create_libkiwix.so.py +++ b/create_libkiwix.so.py @@ -18,6 +18,7 @@ COMPILE_LIBLZMA = True COMPILE_LIBZIM = True COMPILE_LIBKIWIX = True STRIP_LIBKIWIX = True +COMPILE_APK = False # store the OS's environment PATH as we'll mess with it # ORIGINAL_ENVIRON_PATH = os.environ.get('PATH') @@ -319,3 +320,7 @@ for arch in ARCHS: os.chdir(curdir) change_env(ORIGINAL_ENVIRON) + +if COMPILE_APK: + syscall('ant debug') + syscall('ls -lh bin/*.apk', shell=True)