OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 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 13 matching lines...) Expand all Loading... |
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 # Shared definitions for all V8-related targets. | 28 # Shared definitions for all V8-related targets. |
29 | 29 |
30 { | 30 { |
31 'variables': { | 31 'variables': { |
32 'msvs_use_common_release': 0, | 32 'msvs_use_common_release': 0, |
33 'gcc_version%': 'unknown', | 33 'gcc_version%': 'unknown', |
34 'clang%': 0, | 34 'CXX%': '${CXX:-$(which g++)}', # Used to assemble a shell command. |
35 'v8_target_arch%': '<(target_arch)', | 35 'v8_target_arch%': '<(target_arch)', |
36 # Native Client builds currently use the V8 ARM JIT and | 36 # Native Client builds currently use the V8 ARM JIT and |
37 # arm/simulator-arm.cc to defer the significant effort required | 37 # arm/simulator-arm.cc to defer the significant effort required |
38 # for NaCl JIT support. The nacl_target_arch variable provides | 38 # for NaCl JIT support. The nacl_target_arch variable provides |
39 # the 'true' target arch for places in this file that need it. | 39 # the 'true' target arch for places in this file that need it. |
40 # TODO(bradchen): get rid of nacl_target_arch when someday | 40 # TODO(bradchen): get rid of nacl_target_arch when someday |
41 # NaCl V8 builds stop using the ARM simulator | 41 # NaCl V8 builds stop using the ARM simulator |
42 'nacl_target_arch%': 'none', # must be set externally | 42 'nacl_target_arch%': 'none', # must be set externally |
43 | 43 |
44 # Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP | 44 # Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 'v8_toolset_for_d8%': 'target', | 76 'v8_toolset_for_d8%': 'target', |
77 | 77 |
78 'host_os%': '<(OS)', | 78 'host_os%': '<(OS)', |
79 'werror%': '-Werror', | 79 'werror%': '-Werror', |
80 # For a shared library build, results in "libv8-<(soname_version).so". | 80 # For a shared library build, results in "libv8-<(soname_version).so". |
81 'soname_version%': '', | 81 'soname_version%': '', |
82 | 82 |
83 # Allow to suppress the array bounds warning (default is no suppression). | 83 # Allow to suppress the array bounds warning (default is no suppression). |
84 'wno_array_bounds%': '', | 84 'wno_array_bounds%': '', |
85 }, | 85 }, |
86 'conditions': [ | |
87 ['host_arch=="ia32" or host_arch=="x64" or clang==1', { | |
88 'variables': { | |
89 'host_cxx_is_biarch%': 1, | |
90 }, | |
91 }, { | |
92 'variables': { | |
93 'host_cxx_is_biarch%': 0, | |
94 }, | |
95 }], | |
96 ['target_arch=="ia32" or target_arch=="x64" or target_arch=="x87" or \ | |
97 clang==1', { | |
98 'variables': { | |
99 'target_cxx_is_biarch%': 1, | |
100 }, | |
101 }, { | |
102 'variables': { | |
103 'target_cxx_is_biarch%': 0, | |
104 }, | |
105 }], | |
106 ], | |
107 'target_defaults': { | 86 'target_defaults': { |
108 'conditions': [ | 87 'conditions': [ |
109 ['v8_target_arch=="arm"', { | 88 ['v8_target_arch=="arm"', { |
110 'defines': [ | 89 'defines': [ |
111 'V8_TARGET_ARCH_ARM', | 90 'V8_TARGET_ARCH_ARM', |
112 ], | 91 ], |
113 'conditions': [ | 92 'conditions': [ |
114 [ 'arm_version==7 or arm_version=="default"', { | 93 [ 'arm_version==7 or arm_version=="default"', { |
115 'defines': [ | 94 'defines': [ |
116 'CAN_USE_ARMV7_INSTRUCTIONS', | 95 'CAN_USE_ARMV7_INSTRUCTIONS', |
(...skipping 18 matching lines...) Expand all Loading... |
135 ], | 114 ], |
136 }], | 115 }], |
137 [ 'arm_test_noprobe=="on"', { | 116 [ 'arm_test_noprobe=="on"', { |
138 'defines': [ | 117 'defines': [ |
139 'ARM_TEST_NO_FEATURE_PROBE', | 118 'ARM_TEST_NO_FEATURE_PROBE', |
140 ], | 119 ], |
141 }], | 120 }], |
142 ], | 121 ], |
143 'target_conditions': [ | 122 'target_conditions': [ |
144 ['_toolset=="host"', { | 123 ['_toolset=="host"', { |
| 124 'variables': { |
| 125 'armcompiler': '<!($(echo ${CXX_host:-$(which g++)}) -v 2>&1 | gre
p -q "^Target: arm" && echo "yes" || echo "no")', |
| 126 }, |
145 'conditions': [ | 127 'conditions': [ |
146 ['v8_target_arch==host_arch', { | 128 ['armcompiler=="yes"', { |
147 # Host built with an Arm CXX compiler. | |
148 'conditions': [ | 129 'conditions': [ |
149 [ 'arm_version==7', { | 130 [ 'arm_version==7', { |
150 'cflags': ['-march=armv7-a',], | 131 'cflags': ['-march=armv7-a',], |
151 }], | 132 }], |
152 [ 'arm_version==7 or arm_version=="default"', { | 133 [ 'arm_version==7 or arm_version=="default"', { |
153 'conditions': [ | 134 'conditions': [ |
154 [ 'arm_fpu!="default"', { | 135 [ 'arm_fpu!="default"', { |
155 'cflags': ['-mfpu=<(arm_fpu)',], | 136 'cflags': ['-mfpu=<(arm_fpu)',], |
156 }], | 137 }], |
157 ], | 138 ], |
158 }], | 139 }], |
159 [ 'arm_float_abi!="default"', { | 140 [ 'arm_float_abi!="default"', { |
160 'cflags': ['-mfloat-abi=<(arm_float_abi)',], | 141 'cflags': ['-mfloat-abi=<(arm_float_abi)',], |
161 }], | 142 }], |
162 [ 'arm_thumb==1', { | 143 [ 'arm_thumb==1', { |
163 'cflags': ['-mthumb',], | 144 'cflags': ['-mthumb',], |
164 }], | 145 }], |
165 [ 'arm_thumb==0', { | 146 [ 'arm_thumb==0', { |
166 'cflags': ['-marm',], | 147 'cflags': ['-marm',], |
167 }], | 148 }], |
168 ], | 149 ], |
169 }, { | 150 }, { |
170 # 'v8_target_arch!=host_arch' | 151 # armcompiler=="no" |
171 # Host not built with an Arm CXX compiler (simulator build). | |
172 'conditions': [ | 152 'conditions': [ |
173 [ 'arm_float_abi=="hard"', { | 153 [ 'arm_float_abi=="hard"', { |
174 'defines': [ | 154 'defines': [ |
175 'USE_EABI_HARDFLOAT=1', | 155 'USE_EABI_HARDFLOAT=1', |
176 ], | 156 ], |
177 }], | 157 }], |
178 [ 'arm_float_abi=="softfp" or arm_float_abi=="default"', { | 158 [ 'arm_float_abi=="softfp" or arm_float_abi=="default"', { |
179 'defines': [ | 159 'defines': [ |
180 'USE_EABI_HARDFLOAT=0', | 160 'USE_EABI_HARDFLOAT=0', |
181 ], | 161 ], |
182 }], | 162 }], |
183 ], | 163 ], |
184 }], | 164 }], |
185 ], | 165 ], |
186 }], # _toolset=="host" | 166 }], # _toolset=="host" |
187 ['_toolset=="target"', { | 167 ['_toolset=="target"', { |
| 168 'variables': { |
| 169 'armcompiler': '<!($(echo ${CXX_target:-<(CXX)}) -v 2>&1 | grep -q
"^Target: arm" && echo "yes" || echo "no")', |
| 170 }, |
188 'conditions': [ | 171 'conditions': [ |
189 ['v8_target_arch==target_arch', { | 172 ['armcompiler=="yes"', { |
190 # Target built with an Arm CXX compiler. | |
191 'conditions': [ | 173 'conditions': [ |
192 [ 'arm_version==7', { | 174 [ 'arm_version==7', { |
193 'cflags': ['-march=armv7-a',], | 175 'cflags': ['-march=armv7-a',], |
194 }], | 176 }], |
195 [ 'arm_version==7 or arm_version=="default"', { | 177 [ 'arm_version==7 or arm_version=="default"', { |
196 'conditions': [ | 178 'conditions': [ |
197 [ 'arm_fpu!="default"', { | 179 [ 'arm_fpu!="default"', { |
198 'cflags': ['-mfpu=<(arm_fpu)',], | 180 'cflags': ['-mfpu=<(arm_fpu)',], |
199 }], | 181 }], |
200 ], | 182 ], |
201 }], | 183 }], |
202 [ 'arm_float_abi!="default"', { | 184 [ 'arm_float_abi!="default"', { |
203 'cflags': ['-mfloat-abi=<(arm_float_abi)',], | 185 'cflags': ['-mfloat-abi=<(arm_float_abi)',], |
204 }], | 186 }], |
205 [ 'arm_thumb==1', { | 187 [ 'arm_thumb==1', { |
206 'cflags': ['-mthumb',], | 188 'cflags': ['-mthumb',], |
207 }], | 189 }], |
208 [ 'arm_thumb==0', { | 190 [ 'arm_thumb==0', { |
209 'cflags': ['-marm',], | 191 'cflags': ['-marm',], |
210 }], | 192 }], |
211 ], | 193 ], |
212 }, { | 194 }, { |
213 # 'v8_target_arch!=target_arch' | 195 # armcompiler=="no" |
214 # Target not built with an Arm CXX compiler (simulator build). | |
215 'conditions': [ | 196 'conditions': [ |
216 [ 'arm_float_abi=="hard"', { | 197 [ 'arm_float_abi=="hard"', { |
217 'defines': [ | 198 'defines': [ |
218 'USE_EABI_HARDFLOAT=1', | 199 'USE_EABI_HARDFLOAT=1', |
219 ], | 200 ], |
220 }], | 201 }], |
221 [ 'arm_float_abi=="softfp" or arm_float_abi=="default"', { | 202 [ 'arm_float_abi=="softfp" or arm_float_abi=="default"', { |
222 'defines': [ | 203 'defines': [ |
223 'USE_EABI_HARDFLOAT=0', | 204 'USE_EABI_HARDFLOAT=0', |
224 ], | 205 ], |
(...skipping 17 matching lines...) Expand all Loading... |
242 ['v8_target_arch=="x87"', { | 223 ['v8_target_arch=="x87"', { |
243 'defines': [ | 224 'defines': [ |
244 'V8_TARGET_ARCH_X87', | 225 'V8_TARGET_ARCH_X87', |
245 ], | 226 ], |
246 'cflags': ['-march=i586'], | 227 'cflags': ['-march=i586'], |
247 }], # v8_target_arch=="x87" | 228 }], # v8_target_arch=="x87" |
248 ['v8_target_arch=="mips"', { | 229 ['v8_target_arch=="mips"', { |
249 'defines': [ | 230 'defines': [ |
250 'V8_TARGET_ARCH_MIPS', | 231 'V8_TARGET_ARCH_MIPS', |
251 ], | 232 ], |
| 233 'variables': { |
| 234 'mipscompiler': '<!($(echo <(CXX)) -v 2>&1 | grep -q "^Target: mips" &
& echo "yes" || echo "no")', |
| 235 }, |
252 'conditions': [ | 236 'conditions': [ |
253 ['v8_target_arch==target_arch', { | 237 ['mipscompiler=="yes"', { |
254 # Target built with a Mips CXX compiler. | |
255 'target_conditions': [ | 238 'target_conditions': [ |
256 ['_toolset=="target"', { | 239 ['_toolset=="target"', { |
257 'cflags': ['-EB'], | 240 'cflags': ['-EB'], |
258 'ldflags': ['-EB'], | 241 'ldflags': ['-EB'], |
259 'conditions': [ | 242 'conditions': [ |
260 [ 'v8_use_mips_abi_hardfloat=="true"', { | 243 [ 'v8_use_mips_abi_hardfloat=="true"', { |
261 'cflags': ['-mhard-float'], | 244 'cflags': ['-mhard-float'], |
262 'ldflags': ['-mhard-float'], | 245 'ldflags': ['-mhard-float'], |
263 }, { | 246 }, { |
264 'cflags': ['-msoft-float'], | 247 'cflags': ['-msoft-float'], |
(...skipping 26 matching lines...) Expand all Loading... |
291 }], | 274 }], |
292 ['mips_arch_variant=="r2"', { | 275 ['mips_arch_variant=="r2"', { |
293 'defines': ['_MIPS_ARCH_MIPS32R2',], | 276 'defines': ['_MIPS_ARCH_MIPS32R2',], |
294 }], | 277 }], |
295 ], | 278 ], |
296 }], # v8_target_arch=="mips" | 279 }], # v8_target_arch=="mips" |
297 ['v8_target_arch=="mipsel"', { | 280 ['v8_target_arch=="mipsel"', { |
298 'defines': [ | 281 'defines': [ |
299 'V8_TARGET_ARCH_MIPS', | 282 'V8_TARGET_ARCH_MIPS', |
300 ], | 283 ], |
| 284 'variables': { |
| 285 'mipscompiler': '<!($(echo <(CXX)) -v 2>&1 | grep -q "^Target: mips" &
& echo "yes" || echo "no")', |
| 286 }, |
301 'conditions': [ | 287 'conditions': [ |
302 ['v8_target_arch==target_arch', { | 288 ['mipscompiler=="yes"', { |
303 # Target built with a Mips CXX compiler. | |
304 'target_conditions': [ | 289 'target_conditions': [ |
305 ['_toolset=="target"', { | 290 ['_toolset=="target"', { |
306 'cflags': ['-EL'], | 291 'cflags': ['-EL'], |
307 'ldflags': ['-EL'], | 292 'ldflags': ['-EL'], |
308 'conditions': [ | 293 'conditions': [ |
309 [ 'v8_use_mips_abi_hardfloat=="true"', { | 294 [ 'v8_use_mips_abi_hardfloat=="true"', { |
310 'cflags': ['-mhard-float'], | 295 'cflags': ['-mhard-float'], |
311 'ldflags': ['-mhard-float'], | 296 'ldflags': ['-mhard-float'], |
312 }, { | 297 }, { |
313 'cflags': ['-msoft-float'], | 298 'cflags': ['-msoft-float'], |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 }], | 331 }], |
347 ['mips_arch_variant=="loongson"', { | 332 ['mips_arch_variant=="loongson"', { |
348 'defines': ['_MIPS_ARCH_LOONGSON',], | 333 'defines': ['_MIPS_ARCH_LOONGSON',], |
349 }], | 334 }], |
350 ], | 335 ], |
351 }], # v8_target_arch=="mipsel" | 336 }], # v8_target_arch=="mipsel" |
352 ['v8_target_arch=="mips64el"', { | 337 ['v8_target_arch=="mips64el"', { |
353 'defines': [ | 338 'defines': [ |
354 'V8_TARGET_ARCH_MIPS64', | 339 'V8_TARGET_ARCH_MIPS64', |
355 ], | 340 ], |
| 341 'variables': { |
| 342 'mipscompiler': '<!($(echo <(CXX)) -v 2>&1 | grep -q "^Target: mips" &
& echo "yes" || echo "no")', |
| 343 }, |
356 'conditions': [ | 344 'conditions': [ |
357 ['v8_target_arch==target_arch', { | 345 ['mipscompiler=="yes"', { |
358 # Target built with a Mips CXX compiler. | |
359 'target_conditions': [ | 346 'target_conditions': [ |
360 ['_toolset=="target"', { | 347 ['_toolset=="target"', { |
361 'cflags': ['-EL'], | 348 'cflags': ['-EL'], |
362 'ldflags': ['-EL'], | 349 'ldflags': ['-EL'], |
363 'conditions': [ | 350 'conditions': [ |
364 [ 'v8_use_mips_abi_hardfloat=="true"', { | 351 [ 'v8_use_mips_abi_hardfloat=="true"', { |
365 'cflags': ['-mhard-float'], | 352 'cflags': ['-mhard-float'], |
366 'ldflags': ['-mhard-float'], | 353 'ldflags': ['-mhard-float'], |
367 }, { | 354 }, { |
368 'cflags': ['-msoft-float'], | 355 'cflags': ['-msoft-float'], |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 'CharacterSet': '1', | 432 'CharacterSet': '1', |
446 }, | 433 }, |
447 }], | 434 }], |
448 ['OS=="win" and v8_enable_prof==1', { | 435 ['OS=="win" and v8_enable_prof==1', { |
449 'msvs_settings': { | 436 'msvs_settings': { |
450 'VCLinkerTool': { | 437 'VCLinkerTool': { |
451 'GenerateMapFile': 'true', | 438 'GenerateMapFile': 'true', |
452 }, | 439 }, |
453 }, | 440 }, |
454 }], | 441 }], |
455 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 442 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
| 443 or OS=="netbsd" or OS=="qnx"', { |
| 444 'conditions': [ |
| 445 [ 'v8_no_strict_aliasing==1', { |
| 446 'cflags': [ '-fno-strict-aliasing' ], |
| 447 }], |
| 448 ], # conditions |
| 449 }], |
| 450 ['OS=="solaris"', { |
| 451 'defines': [ '__C99FEATURES__=1' ], # isinf() etc. |
| 452 }], |
| 453 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
456 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ | 454 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ |
457 (v8_target_arch=="arm" or v8_target_arch=="ia32" or \ | 455 (v8_target_arch=="arm" or v8_target_arch=="ia32" or v8_target_arch=="x87
" or\ |
458 v8_target_arch=="x87" or v8_target_arch=="mips" or \ | 456 v8_target_arch=="mips" or v8_target_arch=="mipsel")', { |
459 v8_target_arch=="mipsel")', { | 457 # Check whether the host compiler and target compiler support the |
| 458 # '-m32' option and set it if so. |
460 'target_conditions': [ | 459 'target_conditions': [ |
461 ['_toolset=="host"', { | 460 ['_toolset=="host"', { |
462 'conditions': [ | 461 'variables': { |
463 ['host_cxx_is_biarch==1', { | 462 'm32flag': '<!(($(echo ${CXX_host:-$(which g++)}) -m32 -E - > /dev
/null 2>&1 < /dev/null) && echo "-m32" || true)', |
464 'cflags': [ '-m32' ], | 463 }, |
465 'ldflags': [ '-m32' ] | 464 'cflags': [ '<(m32flag)' ], |
466 }], | 465 'ldflags': [ '<(m32flag)' ], |
467 ], | |
468 'xcode_settings': { | 466 'xcode_settings': { |
469 'ARCHS': [ 'i386' ], | 467 'ARCHS': [ 'i386' ], |
470 }, | 468 }, |
471 }], | 469 }], |
472 ['_toolset=="target"', { | 470 ['_toolset=="target"', { |
| 471 'variables': { |
| 472 'm32flag': '<!(($(echo ${CXX_target:-<(CXX)}) -m32 -E - > /dev/nul
l 2>&1 < /dev/null) && echo "-m32" || true)', |
| 473 'clang%': 0, |
| 474 }, |
473 'conditions': [ | 475 'conditions': [ |
474 ['target_cxx_is_biarch==1 and nacl_target_arch!="nacl_x64"', { | 476 ['((OS!="android" and OS!="qnx") or clang==1) and \ |
475 'cflags': [ '-m32' ], | 477 nacl_target_arch!="nacl_x64"', { |
476 'ldflags': [ '-m32' ], | 478 'cflags': [ '<(m32flag)' ], |
| 479 'ldflags': [ '<(m32flag)' ], |
477 }], | 480 }], |
478 ], | 481 ], |
479 'xcode_settings': { | 482 'xcode_settings': { |
480 'ARCHS': [ 'i386' ], | 483 'ARCHS': [ 'i386' ], |
481 }, | 484 }, |
482 }], | 485 }], |
483 ], | 486 ], |
484 }], | 487 }], |
485 ['(OS=="linux" or OS=="android") and \ | 488 ['(OS=="linux" or OS=="android") and \ |
486 (v8_target_arch=="x64" or v8_target_arch=="arm64")', { | 489 (v8_target_arch=="x64" or v8_target_arch=="arm64")', { |
| 490 # Check whether the host compiler and target compiler support the |
| 491 # '-m64' option and set it if so. |
487 'target_conditions': [ | 492 'target_conditions': [ |
488 ['_toolset=="host"', { | 493 ['_toolset=="host"', { |
| 494 'variables': { |
| 495 'm64flag': '<!(($(echo ${CXX_host:-$(which g++)}) -m64 -E - > /dev
/null 2>&1 < /dev/null) && echo "-m64" || true)', |
| 496 }, |
| 497 'cflags': [ '<(m64flag)' ], |
| 498 'ldflags': [ '<(m64flag)' ], |
| 499 }], |
| 500 ['_toolset=="target"', { |
| 501 'variables': { |
| 502 'm64flag': '<!(($(echo ${CXX_target:-<(CXX)}) -m64 -E - > /dev/nul
l 2>&1 < /dev/null) && echo "-m64" || true)', |
| 503 }, |
489 'conditions': [ | 504 'conditions': [ |
490 ['host_cxx_is_biarch==1', { | 505 ['((OS!="android" and OS!="qnx") or clang==1)', { |
491 'cflags': [ '-m64' ], | 506 'cflags': [ '<(m64flag)' ], |
492 'ldflags': [ '-m64' ] | 507 'ldflags': [ '<(m64flag)' ], |
493 }], | 508 }], |
494 ], | 509 ], |
495 }], | 510 }] |
496 ['_toolset=="target"', { | 511 ], |
497 'conditions': [ | |
498 ['target_cxx_is_biarch==1', { | |
499 'cflags': [ '-m64' ], | |
500 'ldflags': [ '-m64' ], | |
501 }], | |
502 ] | |
503 }], | |
504 ], | |
505 }], | |
506 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | |
507 or OS=="netbsd" or OS=="qnx"', { | |
508 'conditions': [ | |
509 [ 'v8_no_strict_aliasing==1', { | |
510 'cflags': [ '-fno-strict-aliasing' ], | |
511 }], | |
512 ], # conditions | |
513 }], | |
514 ['OS=="solaris"', { | |
515 'defines': [ '__C99FEATURES__=1' ], # isinf() etc. | |
516 }], | 512 }], |
517 ['OS=="freebsd" or OS=="openbsd"', { | 513 ['OS=="freebsd" or OS=="openbsd"', { |
518 'cflags': [ '-I/usr/local/include' ], | 514 'cflags': [ '-I/usr/local/include' ], |
519 }], | 515 }], |
520 ['OS=="netbsd"', { | 516 ['OS=="netbsd"', { |
521 'cflags': [ '-I/usr/pkg/include' ], | 517 'cflags': [ '-I/usr/pkg/include' ], |
522 }], | 518 }], |
523 ], # conditions | 519 ], # conditions |
524 'configurations': { | 520 'configurations': { |
525 # Abstract configuration for v8_optimized_debug == 0. | 521 # Abstract configuration for v8_optimized_debug == 0. |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 'OptimizeReferences': '2', | 813 'OptimizeReferences': '2', |
818 'EnableCOMDATFolding': '2', | 814 'EnableCOMDATFolding': '2', |
819 }, | 815 }, |
820 }, | 816 }, |
821 }], # OS=="win" | 817 }], # OS=="win" |
822 ], # conditions | 818 ], # conditions |
823 }, # Release | 819 }, # Release |
824 }, # configurations | 820 }, # configurations |
825 }, # target_defaults | 821 }, # target_defaults |
826 } | 822 } |
OLD | NEW |