fix build.gradle
This commit is contained in:
parent
b5212f8604
commit
a5f03c5dcd
1 changed files with 5 additions and 1 deletions
|
@ -48,6 +48,10 @@ else if (file('android-armv7/share/linphonej/java/org/linphone/core/Factory.java
|
|||
rootSdk = 'android-armv7'
|
||||
else if (file('android-x86/share/linphonej/java/org/linphone/core/Factory.java').exists() )
|
||||
rootSdk = 'android-x86'
|
||||
else {
|
||||
println ("native sdk not ready yet")
|
||||
rootSdk = ""
|
||||
}
|
||||
|
||||
srcDir += [rootSdk+'/share/linphonej/java/org/linphone/core/']
|
||||
|
||||
|
@ -156,4 +160,4 @@ task copyAssets(type: Sync) {
|
|||
includeEmptyDirs = false
|
||||
|
||||
}
|
||||
project.tasks['preBuild'].dependsOn 'copyAssets'
|
||||
project.tasks['preBuild'].dependsOn 'copyAssets'
|
||||
|
|
Loading…
Reference in a new issue