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

Unified Diff: build/common.gypi

Issue 10268010: Clean up Makefile, enable MIPS cross-compilation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: better mips compiler detection Created 8 years, 8 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 | « build/armu.gypi ('k') | build/gyp_v8 » ('j') | build/gyp_v8 » ('J')
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 21fbb742b43ea80b005b50260b9105794c35615c..f0a5313c13c7758ae9ec50600fa966c2c8f34e83 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -173,8 +173,11 @@
'defines': [
'V8_TARGET_ARCH_MIPS',
],
+ 'variables': {
+ 'mipscompiler': '<!($(echo ${CXX:-$(which g++)}) -v 2>&1 | grep -q "^Target: mips" && echo "yes" || echo "no")',
Sven Panne 2012/05/03 07:46:41 Nit: mips => mips-
Jakob Kummerow 2012/05/03 08:11:02 Done.
+ },
'conditions': [
- [ 'target_arch=="mips"', {
+ ['mipscompiler=="yes"', {
'target_conditions': [
['_toolset=="target"', {
'cflags': ['-EL'],
« no previous file with comments | « build/armu.gypi ('k') | build/gyp_v8 » ('j') | build/gyp_v8 » ('J')

Powered by Google App Engine
This is Rietveld 408576698