diff options
author | petarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-27 04:10:26 +0000 |
---|---|---|
committer | petarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-27 04:10:26 +0000 |
commit | 23eea4a444228da7971581d169bd62d851c1f4bc (patch) | |
tree | b5acfe305c98a48a88e4a7eec07d8b590c138d63 /build/android/envsetup_functions.sh | |
parent | 8154acbcf57b4ab2e2e54b630030d01451e749ae (diff) | |
download | chromium_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 'build/android/envsetup_functions.sh')
-rwxr-xr-x | build/android/envsetup_functions.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh index 5ab0bb0..adfbb96 100755 --- a/build/android/envsetup_functions.sh +++ b/build/android/envsetup_functions.sh @@ -33,6 +33,10 @@ common_vars_defines() { "x86") toolchain_arch="x86" ;; + "mips") + toolchain_arch="mipsel-linux-android" + toolchain_dir="linux-x86" + ;; *) echo "TARGET_ARCH: ${TARGET_ARCH} is not supported." >& 2 print_usage @@ -118,6 +122,9 @@ common_vars_defines() { DEFINES+=" host_arch=${host_arch}" DEFINES+=" target_arch=ia32" ;; + "mips") + DEFINES+=" target_arch=mipsel" + ;; *) echo "TARGET_ARCH: ${TARGET_ARCH} is not supported." >& 2 print_usage |