]> granicus.if.org Git - libvpx/commitdiff
Upstream build bug for chromium
authorJohann <johannkoenig@google.com>
Mon, 19 Nov 2012 20:47:27 +0000 (12:47 -0800)
committerJohann <johannkoenig@google.com>
Mon, 19 Nov 2012 20:47:27 +0000 (12:47 -0800)
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

vpx_ports/arm_cpudetect.c

index 8ff95a110bfc1f6a37ae64f626d17f16d43f477e..74d8a1fa81a51ef39819041313c337c913467a18 100644 (file)
@@ -125,7 +125,11 @@ int arm_cpu_caps(void)
 }
 
 #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)
 {