Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions dabmpg123plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ android {
String osName = org.gradle.internal.os.OperatingSystem.current().getName()
if (org.gradle.internal.os.OperatingSystem.current().isLinux()) {
commandLine "$ndkDir/ndk-build", '-C', file("$projectDir").absolutePath
} else if (org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {
commandLine "$ndkDir/ndk-build", '-C', file("$projectDir").absolutePath
} else if (org.gradle.internal.os.OperatingSystem.current().isUnix()) {
logger.error("ndk-build command line not defined for Unix")
//TODO consider UNIX build
} else if (org.gradle.internal.os.OperatingSystem.current().isWindows()) {
commandLine "$ndkDir/ndk-build.cmd", '-C', file("$projectDir").absolutePath
} else if (org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {
//TODO consider OSX build
} else {
//unknown OS...Ooops...
logger.error("Unknown OS")
}
}

Expand Down