Build against the NDK for x86 and mips too.

Change-Id: I68963dc1c274c3dcf1038d4e21dc418f9554b78f
Merge android-4.2.2_r1 into dev-mips-jb-mr1