Created
October 6, 2016 06:34
-
-
Save beta/a80c16d8c382ff040f66d0b9e4d19e2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task ndkBuild(type: Exec, description: ‘Compile JNI source via NDK’) { | |
println(‘executing ndkBuild’) | |
def ndkDir = project.android.ndkDirectory | |
commandLine “$ndkDir/ndk-build”, | |
‘NDK_PROJECT_PATH=build/intermediates/ndk’, | |
‘APP_BUILD_SCRIPT=src/main/jni/Android.mk’, | |
‘NDK_APPLICATION_MK=src/main/jni/Application.mk’, | |
‘V=1’ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment