| 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 15 matching lines...) Expand all Loading... |
| 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 # Compile time controlled V8 features. | 28 # Compile time controlled V8 features. |
| 29 | 29 |
| 30 { | 30 { |
| 31 'variables': { | 31 'variables': { |
| 32 'v8_compress_startup_data%': 'off', | 32 'v8_compress_startup_data%': 'off', |
| 33 | 33 |
| 34 'v8_enable_disassembler%': 0, | 34 'v8_enable_disassembler%': 0, |
| 35 | 35 |
| 36 'v8_enable_verify_stack_height%': 0, |
| 37 |
| 36 'v8_enable_gdbjit%': 0, | 38 'v8_enable_gdbjit%': 0, |
| 37 | 39 |
| 38 'v8_object_print%': 0, | 40 'v8_object_print%': 0, |
| 39 | 41 |
| 40 'v8_enable_verify_heap%': 0, | 42 'v8_enable_verify_heap%': 0, |
| 41 | 43 |
| 42 'v8_use_snapshot%': 'true', | 44 'v8_use_snapshot%': 'true', |
| 43 | 45 |
| 44 # With post mortem support enabled, metadata is embedded into libv8 that | 46 # With post mortem support enabled, metadata is embedded into libv8 that |
| 45 # describes various parameters of the VM for use by debuggers. See | 47 # describes various parameters of the VM for use by debuggers. See |
| 46 # tools/gen-postmortem-metadata.py for details. | 48 # tools/gen-postmortem-metadata.py for details. |
| 47 'v8_postmortem_support%': 'false', | 49 'v8_postmortem_support%': 'false', |
| 48 | 50 |
| 49 # Interpreted regexp engine exists as platform-independent alternative | 51 # Interpreted regexp engine exists as platform-independent alternative |
| 50 # based where the regular expression is compiled to a bytecode. | 52 # based where the regular expression is compiled to a bytecode. |
| 51 'v8_interpreted_regexp%': 0, | 53 'v8_interpreted_regexp%': 0, |
| 52 | 54 |
| 53 # Enable ECMAScript Internationalization API. Enabling this feature will | 55 # Enable ECMAScript Internationalization API. Enabling this feature will |
| 54 # add a dependency on the ICU library. | 56 # add a dependency on the ICU library. |
| 55 'v8_enable_i18n_support%': 1, | 57 'v8_enable_i18n_support%': 1, |
| 56 | 58 |
| 57 # Enable compiler warnings when using V8_DEPRECATED apis. | 59 # Enable compiler warnings when using V8_DEPRECATED apis. |
| 58 'v8_deprecation_warnings%': 0, | 60 'v8_deprecation_warnings%': 0, |
| 59 | 61 |
| 60 # Use the v8 provided v8::Platform implementation. | 62 # Use the v8 provided v8::Platform implementation. |
| 61 'v8_use_default_platform%': 1, | 63 'v8_use_default_platform%': 1, |
| 62 }, | 64 }, |
| 63 'target_defaults': { | 65 'target_defaults': { |
| 64 'conditions': [ | 66 'conditions': [ |
| 67 ['v8_enable_verify_stack_height==1', { |
| 68 'defines': ['VERIFY_STACK_HEIGHT',], |
| 69 }], |
| 65 ['v8_enable_disassembler==1', { | 70 ['v8_enable_disassembler==1', { |
| 66 'defines': ['ENABLE_DISASSEMBLER',], | 71 'defines': ['ENABLE_DISASSEMBLER',], |
| 67 }], | 72 }], |
| 68 ['v8_enable_gdbjit==1', { | 73 ['v8_enable_gdbjit==1', { |
| 69 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | 74 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
| 70 }], | 75 }], |
| 71 ['v8_object_print==1', { | 76 ['v8_object_print==1', { |
| 72 'defines': ['OBJECT_PRINT',], | 77 'defines': ['OBJECT_PRINT',], |
| 73 }], | 78 }], |
| 74 ['v8_enable_verify_heap==1', { | 79 ['v8_enable_verify_heap==1', { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 'defines': ['ENABLE_EXTRA_CHECKS',], | 123 'defines': ['ENABLE_EXTRA_CHECKS',], |
| 119 }], | 124 }], |
| 120 ['v8_enable_handle_zapping==1', { | 125 ['v8_enable_handle_zapping==1', { |
| 121 'defines': ['ENABLE_HANDLE_ZAPPING',], | 126 'defines': ['ENABLE_HANDLE_ZAPPING',], |
| 122 }], | 127 }], |
| 123 ], # conditions | 128 ], # conditions |
| 124 }, # Release | 129 }, # Release |
| 125 }, # configurations | 130 }, # configurations |
| 126 }, # target_defaults | 131 }, # target_defaults |
| 127 } | 132 } |
| OLD | NEW |