The build/autoconf/android.m4 file defaults to using 4.4.3 as the android_gnu_compiler_version. As all the android builds are now on NDK r8c and using gcc-4.6, we should change this to 4.6 and provide fallback to 4.4.3 for users who have not yet upgraded their NDKs.
Created attachment 701330 [details] [diff] [review] Loop through various toolchain possibilities to find one This will obey with-android-gnu-compiler-version if it is set, and fail if it is set and wrong. If it is not set, it will try 4.6 and 4.4.3 (in that order) and pick the first that is found. I tested the various combinations locally, and also pushed to try at https://tbpl.mozilla.org/?tree=Try&rev=49900f089284