Upstream build bug for chromium https://codereview.chromium.org/11413061/ The Android NDK automatically manages the include directories. Trying to do so manually for the Android GYP files can cause the wrong setjmp.h to be included. Change-Id: I5c3769f983fcbad1ed602feda781690c6e4e97b3
diff --git a/vpx_ports/arm_cpudetect.c b/vpx_ports/arm_cpudetect.c index 8ff95a1..74d8a1f 100644 --- a/vpx_ports/arm_cpudetect.c +++ b/vpx_ports/arm_cpudetect.c
@@ -125,7 +125,11 @@ } #elif defined(__ANDROID__) /* end _MSC_VER */ +#if defined(CHROMIUM_BUILD) +#include <machine/cpu-features.h> +#else #include <cpu-features.h> +#endif int arm_cpu_caps(void) {