| 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 17 matching lines...) Expand all Loading... |
| 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 'use_system_v8%': 0, | 32 'use_system_v8%': 0, |
| 33 'msvs_use_common_release': 0, | 33 'msvs_use_common_release': 0, |
| 34 'gcc_version%': 'unknown', | 34 'gcc_version%': 'unknown', |
| 35 'CXX%': '${CXX:-$(which g++)}', # Used to assemble a shell command. | 35 'CXX%': '${CXX:-$(which g++)}', # Used to assemble a shell command. |
| 36 'v8_compress_startup_data%': 'off', | 36 'v8_compress_startup_data%': 'off', |
| 37 'v8_target_arch%': '<(target_arch)', | 37 'v8_target_arch%': '<(target_arch)', |
| 38 # Native Client builds currently use the V8 ARM JIT and |
| 39 # arm/simulator-arm.cc to defer the significant effort required |
| 40 # for NaCl JIT support. The nacl_target_arch variable provides |
| 41 # the 'true' target arch for places in this file that need it. |
| 42 # TODO(bradchen): get rid of nacl_target_arch when someday |
| 43 # NaCl V8 builds stop using the ARM simulator |
| 44 'nacl_target_arch%': 'none', # must be set externally |
| 38 | 45 |
| 39 # Setting 'v8_can_use_unaligned_accesses' to 'true' will allow the code | 46 # Setting 'v8_can_use_unaligned_accesses' to 'true' will allow the code |
| 40 # generated by V8 to do unaligned memory access, and setting it to 'false' | 47 # generated by V8 to do unaligned memory access, and setting it to 'false' |
| 41 # will ensure that the generated code will always do aligned memory | 48 # will ensure that the generated code will always do aligned memory |
| 42 # accesses. The default value of 'default' will try to determine the correct | 49 # accesses. The default value of 'default' will try to determine the correct |
| 43 # setting. Note that for Intel architectures (ia32 and x64) unaligned memory | 50 # setting. Note that for Intel architectures (ia32 and x64) unaligned memory |
| 44 # access is allowed for all CPUs. | 51 # access is allowed for all CPUs. |
| 45 'v8_can_use_unaligned_accesses%': 'default', | 52 'v8_can_use_unaligned_accesses%': 'default', |
| 46 | 53 |
| 47 # Setting 'v8_can_use_vfp2_instructions' to 'true' will enable use of ARM VF
P | 54 # Setting 'v8_can_use_vfp2_instructions' to 'true' will enable use of ARM VF
P |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 'xcode_settings': { | 320 'xcode_settings': { |
| 314 'ARCHS': [ 'i386' ], | 321 'ARCHS': [ 'i386' ], |
| 315 }, | 322 }, |
| 316 }], | 323 }], |
| 317 ['_toolset=="target"', { | 324 ['_toolset=="target"', { |
| 318 'variables': { | 325 'variables': { |
| 319 'm32flag': '<!((echo | $(echo ${CXX_target:-<(CXX)}) -m32 -E - > /
dev/null 2>&1) && echo "-m32" || true)', | 326 'm32flag': '<!((echo | $(echo ${CXX_target:-<(CXX)}) -m32 -E - > /
dev/null 2>&1) && echo "-m32" || true)', |
| 320 'clang%': 0, | 327 'clang%': 0, |
| 321 }, | 328 }, |
| 322 'conditions': [ | 329 'conditions': [ |
| 323 ['OS!="android" or clang==1', { | 330 ['(OS!="android" or clang==1) and \ |
| 331 nacl_target_arch!="nacl_x64"', { |
| 324 'cflags': [ '<(m32flag)' ], | 332 'cflags': [ '<(m32flag)' ], |
| 325 'ldflags': [ '<(m32flag)' ], | 333 'ldflags': [ '<(m32flag)' ], |
| 326 }], | 334 }], |
| 327 ], | 335 ], |
| 328 'xcode_settings': { | 336 'xcode_settings': { |
| 329 'ARCHS': [ 'i386' ], | 337 'ARCHS': [ 'i386' ], |
| 330 }, | 338 }, |
| 331 }], | 339 }], |
| 332 ], | 340 ], |
| 333 }], | 341 }], |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 'OptimizeReferences': '2', | 471 'OptimizeReferences': '2', |
| 464 'EnableCOMDATFolding': '2', | 472 'EnableCOMDATFolding': '2', |
| 465 }, | 473 }, |
| 466 }, | 474 }, |
| 467 }], # OS=="win" | 475 }], # OS=="win" |
| 468 ], # conditions | 476 ], # conditions |
| 469 }, # Release | 477 }, # Release |
| 470 }, # configurations | 478 }, # configurations |
| 471 }, # target_defaults | 479 }, # target_defaults |
| 472 } | 480 } |
| OLD | NEW |