Created
October 7, 2020 06:59
-
-
Save btimofeev/e8b1f44cc3bbc29d397640bc51e39991 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 runNdkBuild(type: Exec) { | |
def ndkDir = android.ndkDirectory | |
executable = "$ndkDir/ndk-build" | |
args = ['NDK_PROJECT_PATH=build/intermediates/ndk', | |
'NDK_LIBS_OUT=src/main/jniLibs', | |
'APP_BUILD_SCRIPT=src/main/jni/ndkbuild/Android.mk', | |
'NDK_APPLICATION_MK=src/main/jni/ndkbuild/Application.mk'] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment