-import org.apache.tools.ant.taskdefs.condition.Os
-
apply plugin: 'com.android.application'
android {
environment PATH: "${System.getenv("PATH")}${File.pathSeparator}${ndkExtraPath}"
}
- // Enable V=1 for debugging messages.
- if (Os.isFamily(Os.FAMILY_WINDOWS)) {
- commandLine "${ndkDir}/ndk-build.cmd", '-C', file('src/main/jni').absolutePath //, 'V=1'
- } else {
- commandLine "${ndkDir}/ndk-build", '-C', file('src/main/jni').absolutePath //, 'V=1'
- }
+ commandLine "${ndkDir}/ndk-build", '-C', file('src/main/jni').absolutePath //, 'V=1' // Enable V=1 for debugging messages.
}
}