| commit | bb5baea7252ce2ba576ff2893a877fe5e9f714c9 | [log] [tgz] |
|---|---|---|
| author | Sameer Agarwal <sameeragarwal@google.com> | Thu Jun 05 12:18:23 2014 -0700 |
| committer | Sameer Agarwal <sameeragarwal@google.com> | Thu Jun 05 12:18:23 2014 -0700 |
| tree | 5cdbb012ac05a3db2148fdc35ba38bddbd2628ad | |
| parent | d54e98777f4eebfab5629c1aa7630960de3c2f33 [diff] |
Improve NDK version detection. The script assert_ndk_version.sh used to require that the user either define ANDROID_NDK_ROOT or ndk-build be in the path so that ANDROID_NDK_ROOT can be inferred. But since we are always calling this script from within an Android.mk file, ndk-build already defines a variable called NDK_ROOT, which we can pass to the script, thereby simplifying it and making it more robust. Change-Id: I31d66529a36a93e760e0dd0f17cfe61428fbac55