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

Side by Side 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, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/armu.gypi ('k') | build/gyp_v8 » ('j') | build/gyp_v8 » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 }], 166 }],
167 ['v8_target_arch=="ia32"', { 167 ['v8_target_arch=="ia32"', {
168 'defines': [ 168 'defines': [
169 'V8_TARGET_ARCH_IA32', 169 'V8_TARGET_ARCH_IA32',
170 ], 170 ],
171 }], 171 }],
172 ['v8_target_arch=="mips"', { 172 ['v8_target_arch=="mips"', {
173 'defines': [ 173 'defines': [
174 'V8_TARGET_ARCH_MIPS', 174 'V8_TARGET_ARCH_MIPS',
175 ], 175 ],
176 'variables': {
177 '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.
178 },
176 'conditions': [ 179 'conditions': [
177 [ 'target_arch=="mips"', { 180 ['mipscompiler=="yes"', {
178 'target_conditions': [ 181 'target_conditions': [
179 ['_toolset=="target"', { 182 ['_toolset=="target"', {
180 'cflags': ['-EL'], 183 'cflags': ['-EL'],
181 'ldflags': ['-EL'], 184 'ldflags': ['-EL'],
182 'conditions': [ 185 'conditions': [
183 [ 'v8_use_mips_abi_hardfloat=="true"', { 186 [ 'v8_use_mips_abi_hardfloat=="true"', {
184 'cflags': ['-mhard-float'], 187 'cflags': ['-mhard-float'],
185 'ldflags': ['-mhard-float'], 188 'ldflags': ['-mhard-float'],
186 }, { 189 }, {
187 'cflags': ['-msoft-float'], 190 'cflags': ['-msoft-float'],
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 # some test cases can cause stack overflow. 414 # some test cases can cause stack overflow.
412 # 'StackReserveSize': '297152', 415 # 'StackReserveSize': '297152',
413 }, 416 },
414 }, 417 },
415 }], # OS=="win" 418 }], # OS=="win"
416 ], # conditions 419 ], # conditions
417 }, # Release 420 }, # Release
418 }, # configurations 421 }, # configurations
419 }, # target_defaults 422 }, # target_defaults
420 } 423 }
OLDNEW
« 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