Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: sandbox/linux/seccomp-bpf/sandbox_bpf.cc

Issue 11639038: ucontext_t support for Android x86. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/linux/seccomp-bpf/sandbox_bpf.cc
diff --git a/sandbox/linux/seccomp-bpf/sandbox_bpf.cc b/sandbox/linux/seccomp-bpf/sandbox_bpf.cc
index 366706f18322a791beff4ab709e75af7a9f2a3c1..d2a561ebfa4834ec78c43eb6509423ce2ba2854d 100644
--- a/sandbox/linux/seccomp-bpf/sandbox_bpf.cc
+++ b/sandbox/linux/seccomp-bpf/sandbox_bpf.cc
@@ -18,8 +18,13 @@
#include "sandbox/linux/seccomp-bpf/verifier.h"
// Android's signal.h doesn't define ucontext etc.
-#if defined(OS_ANDROID) && defined(__arm__)
+#if defined(OS_ANDROID)
+#if defined(__arm__)
#include "sandbox/linux/services/android_arm_ucontext.h"
+#elif defined(__i386__)
Markus (顧孟勤) 2012/12/21 02:03:54 Since you picked a file name that was independent
yfw.chromium 2012/12/21 07:23:17 Android just has i386 ABI support now. So we don't
+#include "sandbox/linux/services/android_x86_ucontext.h"
+#endif
+
#endif
namespace {

Powered by Google App Engine
This is Rietveld 408576698