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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
162 ['v8_target_arch=="ia32"', { | 162 ['v8_target_arch=="ia32"', { |
163 'defines': [ | 163 'defines': [ |
164 'V8_TARGET_ARCH_IA32', | 164 'V8_TARGET_ARCH_IA32', |
165 ], | 165 ], |
166 }], | 166 }], |
167 ['v8_target_arch=="mips"', { | 167 ['v8_target_arch=="mips"', { |
168 'defines': [ | 168 'defines': [ |
169 'V8_TARGET_ARCH_MIPS', | 169 'V8_TARGET_ARCH_MIPS', |
170 ], | 170 ], |
171 'conditions': [ | 171 'conditions': [ |
172 [ 'target_arch=="mips"', { | |
173 'target_conditions': [ | |
174 ['_toolset=="target"', { | |
175 'cflags': ['-EL'], | |
176 'ldflags': ['-EL'], | |
177 'conditions': [ | |
178 [ 'v8_use_mips_abi_hardfloat=="true"', { | |
179 'cflags': ['-mhard-float'], | |
180 'ldflags': ['-mhard-float'], | |
181 }, { | |
182 'cflags': ['-msoft-float'], | |
183 'ldflags': ['-msoft-float'], | |
184 }], | |
185 ['mips_arch_variant=="mips32r2"', { | |
186 'cflags': ['-mips32r2', '-Wa,-mips32r2'], | |
187 }, { | |
188 'cflags': ['-mips32', '-Wa,-mips32'], | |
189 }], | |
190 ], | |
191 }], | |
192 ], | |
193 }], | |
172 [ 'v8_can_use_fpu_instructions=="true"', { | 194 [ 'v8_can_use_fpu_instructions=="true"', { |
173 'defines': [ | 195 'defines': [ |
174 'CAN_USE_FPU_INSTRUCTIONS', | 196 'CAN_USE_FPU_INSTRUCTIONS', |
175 ], | 197 ], |
176 }], | 198 }], |
177 [ 'v8_use_mips_abi_hardfloat=="true"', { | 199 [ 'v8_use_mips_abi_hardfloat=="true"', { |
178 'defines': [ | 200 'defines': [ |
179 '__mips_hard_float=1', | 201 '__mips_hard_float=1', |
180 'CAN_USE_FPU_INSTRUCTIONS', | 202 'CAN_USE_FPU_INSTRUCTIONS', |
181 ], | 203 ], |
182 }, { | 204 }, { |
183 'defines': [ | 205 'defines': [ |
184 '__mips_soft_float=1' | 206 '__mips_soft_float=1' |
185 ], | 207 ], |
186 }], | 208 }], |
209 ['mips_arch_variant=="mips32r2"', { | |
Jakob Kummerow
2012/02/08 13:07:34
This works for now, but it's a bit brittle: it for
| |
210 'defines': ['_MIPS_ARCH_MIPS32R2',], | |
211 }], | |
187 # The MIPS assembler assumes the host is 32 bits, | 212 # The MIPS assembler assumes the host is 32 bits, |
188 # so force building 32-bit host tools. | 213 # so force building 32-bit host tools. |
189 ['host_arch=="x64"', { | 214 ['host_arch=="x64"', { |
190 'target_conditions': [ | 215 'target_conditions': [ |
191 ['_toolset=="host"', { | 216 ['_toolset=="host"', { |
192 'cflags': ['-m32'], | 217 'cflags': ['-m32'], |
193 'ldflags': ['-m32'], | 218 'ldflags': ['-m32'], |
194 }], | 219 }], |
195 ], | 220 ], |
196 }], | 221 }], |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
358 # some test cases can cause stack overflow. | 383 # some test cases can cause stack overflow. |
359 # 'StackReserveSize': '297152', | 384 # 'StackReserveSize': '297152', |
360 }, | 385 }, |
361 }, | 386 }, |
362 }], # OS=="win" | 387 }], # OS=="win" |
363 ], # conditions | 388 ], # conditions |
364 }, # Release | 389 }, # Release |
365 }, # configurations | 390 }, # configurations |
366 }, # target_defaults | 391 }, # target_defaults |
367 } | 392 } |
OLD | NEW |