summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-11-06 11:04:14 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-11-06 11:04:14 +0100
commitf9a64aa3f5cac9660a34afeabb4d97ff2a342e9a (patch)
tree49f3c0499c1cfd5ae015aedd2abdcc58a243304c
parente473fa1ed258e6b33de99827664e32d9b22092e0 (diff)
Revert "android: Fix Windows build of the app"
This reverts commit 5d8c1868beec85ac02bcc6e0bfd0ad9dbb99a3b8. The gradle based build system has various problems currently.
-rw-r--r--android/app/build.gradle9
1 files changed, 1 insertions, 8 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 18e68bd..6039b5b 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -1,5 +1,3 @@
-import org.apache.tools.ant.taskdefs.condition.Os
-
apply plugin: 'com.android.application'
android {
@@ -59,12 +57,7 @@ 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.
}
}