summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorpetarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-27 04:10:26 +0000
committerpetarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-27 04:10:26 +0000
commit23eea4a444228da7971581d169bd62d851c1f4bc (patch)
treeb5acfe305c98a48a88e4a7eec07d8b590c138d63 /base
parent8154acbcf57b4ab2e2e54b630030d01451e749ae (diff)
downloadchromium_src-23eea4a444228da7971581d169bd62d851c1f4bc.zip
chromium_src-23eea4a444228da7971581d169bd62d851c1f4bc.tar.gz
chromium_src-23eea4a444228da7971581d169bd62d851c1f4bc.tar.bz2
[MIPS] Support to build libchromeview for MIPS-Android
Small set of changes in gyp files to enable build for libchromeview for MIPS-Android. It also includes minor change in base/debug/stack_trace_android.cc to redefine SIGSTKFLT for MIPS, since MIPS does not have SIGSTKFLT. BUG=130022 TEST=build libchromeview Review URL: https://chromiumcodereview.appspot.com/14241008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196938 0039d316-1c4b-4281-b951-d872f2087c98
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 {