From b82684020a657d410c62e7eca26d72b27cdc6561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Fri, 10 Oct 2014 11:09:07 +0200 Subject: Run build-native.sh on GNU/Linux, during preBuild --- app/build.gradle | 7 +++++++ app/jni/Application.mk | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 1057da44..9207ff84 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -156,6 +156,13 @@ task updateIcsOpenVpn( type: Copy, dependsOn: 'mergeUntranslatable') { } into '.' } +task buildNative ( type: Exec ) { + + commandLine 'sh', 'misc/build-native.sh', 'USE_BREAKPAD=0', '-j 8' +} + +preBuild.dependsOn buildNative + //assembleRelease.dependsOn connectedCheck afterEvaluate { //installRelease.dependsOn connectedCheck diff --git a/app/jni/Application.mk b/app/jni/Application.mk index f85269d8..b7af50cd 100644 --- a/app/jni/Application.mk +++ b/app/jni/Application.mk @@ -1,4 +1,4 @@ -APP_ABI := all32 +APP_ABI := arm64-v8a armeabi armeabi-v7a mips x86 x86_64 APP_PLATFORM := android-14 APP_STL:=stlport_shared -- cgit v1.2.3