summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/base.gyp5
-rw-r--r--base/debug/stack_trace_android.cc5
2 files changed, 10 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp
index a0da4a8..2c46954 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -134,6 +134,11 @@
['include', '^atomicops_internals_x86_gcc\\.cc$'],
],
}],
+ ['target_arch == "mipsel"', {
+ 'sources/': [
+ ['include', '^atomicops_internals_mips_gcc\\.cc$'],
+ ],
+ }],
],
'dependencies': [
'base_jni_headers',
diff --git a/base/debug/stack_trace_android.cc b/base/debug/stack_trace_android.cc
index cc03d60..d71d246 100644
--- a/base/debug/stack_trace_android.cc
+++ b/base/debug/stack_trace_android.cc
@@ -10,6 +10,11 @@
#include "base/logging.h"
+#ifdef __MIPSEL__
+// SIGSTKFLT is not defined for MIPS.
+#define SIGSTKFLT SIGSEGV
+#endif
+
namespace base {
namespace debug {