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

Unified Diff: build/common.gypi

Issue 12084080: [MIPS] Set defaults for mips/linux chrome builds. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Delete the comments. Created 7 years, 11 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 80acde7e7605534868b5204dce1ec08bc15ac329..3a0185b19e16cd856db387f4b17fee023b529546 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -614,6 +614,10 @@
# incorrect results when passed to pkg-config
'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot',
}], # OS=="linux" and target_arch=="arm" and chromeos==0
+
+ ['target_arch=="mipsel"', {
+ 'sysroot': '<!(cd <(DEPTH) && pwd -P)/native_client/toolchain/linux_mips-trusted/sysroot',
+ }],
],
# Set this to 1 to use the Google-internal file containing
@@ -1031,6 +1035,16 @@
}, {
'gcc_version%': 0,
}],
+ ['target_arch=="mipsel"', {
+ 'werror%': '',
+ 'disable_nacl%': 1,
+ 'linux_use_gold_binary%': 0,
+ 'linux_use_gold_flags%': 0,
+ 'nacl_untrusted_build%': 0,
+ 'linux_use_tcmalloc%': 0,
+ 'linux_breakpad%': 0,
+ 'sysroot%': '<(sysroot)',
+ }],
# All Chrome builds have breakpad symbols, but only process the
# symbols from official builds.
['(branding=="Chrome" and buildtype=="Official")', {
@@ -1296,8 +1310,9 @@
'use_cups%': 0,
}],
- # Native Client glibc toolchain is enabled by default except on arm.
- ['target_arch=="arm"', {
+ # Native Client glibc toolchain is enabled
+ # by default except on arm and mips.
+ ['target_arch=="arm" or target_arch=="mipsel"', {
'disable_glibc%': 1,
}, {
'disable_glibc%': 0,
@@ -3937,6 +3952,16 @@
['LINK.host', '<!(/bin/echo -n ${ANDROID_GOMA_WRAPPER} <!(which g++))'],
],
}],
+ ['target_arch=="mipsel"', {
+ 'make_global_settings': [
+ ['CC', '<(sysroot)/../bin/mipsel-linux-gnu-gcc'],
+ ['CXX', '<(sysroot)/../bin/mipsel-linux-gnu-g++'],
+ ['LINK', '$(CXX)'],
+ ['CC.host', '<!(which gcc)'],
+ ['CXX.host', '<!(which g++)'],
+ ['LINK.host', '<!(which g++)'],
+ ],
+ }],
],
'xcode_settings': {
# DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT!
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698