OLD | NEW |
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 Loading... |
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")', |
| 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 Loading... |
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 } |
OLD | NEW |