| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 # Default arch variant for MIPS. | 66 # Default arch variant for MIPS. |
| 67 'mips_arch_variant%': 'mips32r2', | 67 'mips_arch_variant%': 'mips32r2', |
| 68 | 68 |
| 69 'v8_enable_debugger_support%': 1, | 69 'v8_enable_debugger_support%': 1, |
| 70 | 70 |
| 71 'v8_enable_disassembler%': 0, | 71 'v8_enable_disassembler%': 0, |
| 72 | 72 |
| 73 # Enable extra checks in API functions and other strategic places. | 73 # Enable extra checks in API functions and other strategic places. |
| 74 'v8_enable_extra_checks%': 1, | 74 'v8_enable_extra_checks%': 1, |
| 75 | 75 |
| 76 'v8_enable_gdbjit%': 0, |
| 77 |
| 76 'v8_object_print%': 0, | 78 'v8_object_print%': 0, |
| 77 | 79 |
| 78 'v8_enable_gdbjit%': 0, | |
| 79 | |
| 80 # Enable profiling support. Only required on Windows. | 80 # Enable profiling support. Only required on Windows. |
| 81 'v8_enable_prof%': 0, | 81 'v8_enable_prof%': 0, |
| 82 | 82 |
| 83 'v8_enable_verify_heap%': 0, |
| 84 |
| 83 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing. | 85 # Some versions of GCC 4.5 seem to need -fno-strict-aliasing. |
| 84 'v8_no_strict_aliasing%': 0, | 86 'v8_no_strict_aliasing%': 0, |
| 85 | 87 |
| 86 # Chrome needs this definition unconditionally. For standalone V8 builds, | 88 # Chrome needs this definition unconditionally. For standalone V8 builds, |
| 87 # it's handled in build/standalone.gypi. | 89 # it's handled in build/standalone.gypi. |
| 88 'want_separate_host_toolset%': 1, | 90 'want_separate_host_toolset%': 1, |
| 89 | 91 |
| 90 'v8_use_snapshot%': 'true', | 92 'v8_use_snapshot%': 'true', |
| 91 'host_os%': '<(OS)', | 93 'host_os%': '<(OS)', |
| 92 'v8_use_liveobjectlist%': 'false', | 94 'v8_use_liveobjectlist%': 'false', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 108 'conditions': [ | 110 'conditions': [ |
| 109 ['v8_enable_debugger_support==1', { | 111 ['v8_enable_debugger_support==1', { |
| 110 'defines': ['ENABLE_DEBUGGER_SUPPORT',], | 112 'defines': ['ENABLE_DEBUGGER_SUPPORT',], |
| 111 }], | 113 }], |
| 112 ['v8_enable_disassembler==1', { | 114 ['v8_enable_disassembler==1', { |
| 113 'defines': ['ENABLE_DISASSEMBLER',], | 115 'defines': ['ENABLE_DISASSEMBLER',], |
| 114 }], | 116 }], |
| 115 ['v8_enable_extra_checks==1', { | 117 ['v8_enable_extra_checks==1', { |
| 116 'defines': ['ENABLE_EXTRA_CHECKS',], | 118 'defines': ['ENABLE_EXTRA_CHECKS',], |
| 117 }], | 119 }], |
| 120 ['v8_enable_gdbjit==1', { |
| 121 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
| 122 }], |
| 118 ['v8_object_print==1', { | 123 ['v8_object_print==1', { |
| 119 'defines': ['OBJECT_PRINT',], | 124 'defines': ['OBJECT_PRINT',], |
| 120 }], | 125 }], |
| 121 ['v8_enable_gdbjit==1', { | 126 ['v8_enable_verify_heap==1', { |
| 122 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | 127 'defines': ['VERIFY_HEAP',], |
| 123 }], | 128 }], |
| 124 ['v8_interpreted_regexp==1', { | 129 ['v8_interpreted_regexp==1', { |
| 125 'defines': ['V8_INTERPRETED_REGEXP',], | 130 'defines': ['V8_INTERPRETED_REGEXP',], |
| 126 }], | 131 }], |
| 127 ['v8_target_arch=="arm"', { | 132 ['v8_target_arch=="arm"', { |
| 128 'defines': [ | 133 'defines': [ |
| 129 'V8_TARGET_ARCH_ARM', | 134 'V8_TARGET_ARCH_ARM', |
| 130 ], | 135 ], |
| 131 'conditions': [ | 136 'conditions': [ |
| 132 [ 'v8_can_use_unaligned_accesses=="true"', { | 137 [ 'v8_can_use_unaligned_accesses=="true"', { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 'cflags': [ '-I/usr/pkg/include' ], | 328 'cflags': [ '-I/usr/pkg/include' ], |
| 324 }], | 329 }], |
| 325 ], # conditions | 330 ], # conditions |
| 326 'configurations': { | 331 'configurations': { |
| 327 'Debug': { | 332 'Debug': { |
| 328 'defines': [ | 333 'defines': [ |
| 329 'DEBUG', | 334 'DEBUG', |
| 330 'ENABLE_DISASSEMBLER', | 335 'ENABLE_DISASSEMBLER', |
| 331 'V8_ENABLE_CHECKS', | 336 'V8_ENABLE_CHECKS', |
| 332 'OBJECT_PRINT', | 337 'OBJECT_PRINT', |
| 338 'VERIFY_HEAP', |
| 333 ], | 339 ], |
| 334 'msvs_settings': { | 340 'msvs_settings': { |
| 335 'VCCLCompilerTool': { | 341 'VCCLCompilerTool': { |
| 336 'Optimization': '0', | 342 'Optimization': '0', |
| 337 | 343 |
| 338 'conditions': [ | 344 'conditions': [ |
| 339 ['OS=="win" and component=="shared_library"', { | 345 ['OS=="win" and component=="shared_library"', { |
| 340 'RuntimeLibrary': '3', # /MDd | 346 'RuntimeLibrary': '3', # /MDd |
| 341 }, { | 347 }, { |
| 342 'RuntimeLibrary': '1', # /MTd | 348 'RuntimeLibrary': '1', # /MTd |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 'OptimizeReferences': '2', | 433 'OptimizeReferences': '2', |
| 428 'EnableCOMDATFolding': '2', | 434 'EnableCOMDATFolding': '2', |
| 429 }, | 435 }, |
| 430 }, | 436 }, |
| 431 }], # OS=="win" | 437 }], # OS=="win" |
| 432 ], # conditions | 438 ], # conditions |
| 433 }, # Release | 439 }, # Release |
| 434 }, # configurations | 440 }, # configurations |
| 435 }, # target_defaults | 441 }, # target_defaults |
| 436 } | 442 } |
| OLD | NEW |