This file contains hidden or 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
#!/bin/bash | |
# Bash script to assert that the current version of the NDK is at least the | |
# specified version. Prints 'true' to standard out if it's the right version, | |
# 'false' if it's not. | |
# | |
# Typically used like this, in your jni/Android.mk: | |
# | |
# ifneq ($(shell $(LOCAL_PATH)/assert_ndk_version.sh "r5c"),true) | |
# $(error NDK version r5c or greater required) |