Browse Source
PEMA-107 Allow to modify abis to build for in build.gradle
pull/25/head
ignaciogarcia
3 years ago
No known key found for this signature in database
GPG Key ID: 5E6A455C909DD623
1 changed files with
2 additions and
1 deletions
-
android/build.gradle
|
|
@ -8,6 +8,7 @@ def buildAutomatic = hasProperty('buildAutomatic') ? buildAutomatic : "true" |
|
|
|
def threadsToUse = 1 |
|
|
|
|
|
|
|
def pEpEngineDB = new File(new File(pEpEngineSrc), 'db') |
|
|
|
def archsToCompile = "arm arm64 x86 x86_64" |
|
|
|
|
|
|
|
buildscript { |
|
|
|
repositories { |
|
|
@ -118,7 +119,7 @@ android { |
|
|
|
// call external build (GnuPG, GPGME, etc) |
|
|
|
task buildExternal(type:Exec, dependsOn: 'genSources') { |
|
|
|
workingDir 'external' |
|
|
|
commandLine 'make', "-j${threadsToUse}", 'build' |
|
|
|
commandLine 'make', "-j${threadsToUse}", 'build', "archs=${archsToCompile}" |
|
|
|
} |
|
|
|
|
|
|
|
task externalAssets(type:Exec) { |
|
|
|