forked from organicmaps/organicmaps
[android] Added eclipse NDK script
See https://dl.dropboxusercontent.com/u/24013616/eclipse-ndk-config.png
This commit is contained in:
parent
63682a5cda
commit
5f70ce2e67
1 changed files with 18 additions and 0 deletions
18
tools/autobuild/eclipse-debug.sh
Normal file
18
tools/autobuild/eclipse-debug.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Add it to Eclipse MWM Library properties -> Debug configuration -> Build command
|
||||
|
||||
set -e -u -x
|
||||
|
||||
LOCAL_DIRNAME="$(dirname "$0")"
|
||||
|
||||
# We DO NOT clean native C++ libs for faster Eclipse builds
|
||||
if [[ "$1" != "clean" ]] ; then
|
||||
bash $LOCAL_DIRNAME/android.sh debug armeabi
|
||||
fi
|
||||
|
||||
source "$LOCAL_DIRNAME/ndk_helper.sh"
|
||||
|
||||
if [[ "$1" != "clean" ]] ; then
|
||||
$(GetNdkRoot)/ndk-build APP_ABI=armeabi V=1 NDK_DEBUG=1 DEBUG=1
|
||||
else
|
||||
$(GetNdkRoot)/ndk-build clean V=1 NDK_DEBUG=1 DEBUG=1
|
||||
fi
|
Loading…
Add table
Reference in a new issue