| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 # based where the regular expression is compiled to a bytecode. | 52 # based where the regular expression is compiled to a bytecode. |
| 53 'v8_interpreted_regexp%': 0, | 53 'v8_interpreted_regexp%': 0, |
| 54 | 54 |
| 55 # Enable ECMAScript Internationalization API. Enabling this feature will | 55 # Enable ECMAScript Internationalization API. Enabling this feature will |
| 56 # add a dependency on the ICU library. | 56 # add a dependency on the ICU library. |
| 57 'v8_enable_i18n_support%': 1, | 57 'v8_enable_i18n_support%': 1, |
| 58 | 58 |
| 59 # Enable compiler warnings when using V8_DEPRECATED apis. | 59 # Enable compiler warnings when using V8_DEPRECATED apis. |
| 60 'v8_deprecation_warnings%': 0, | 60 'v8_deprecation_warnings%': 0, |
| 61 | 61 |
| 62 # Use external files for startup data blobs: | |
| 63 # the JS builtins sources and the start snapshot. | |
| 64 'v8_use_external_startup_data%': 0, | |
| 65 | |
| 66 # Set to 1 to enable DCHECKs in release builds. | 62 # Set to 1 to enable DCHECKs in release builds. |
| 67 'dcheck_always_on%': 0, | 63 'dcheck_always_on%': 0, |
| 68 }, | 64 }, |
| 69 'target_defaults': { | 65 'target_defaults': { |
| 70 'conditions': [ | 66 'conditions': [ |
| 71 ['v8_enable_disassembler==1', { | 67 ['v8_enable_disassembler==1', { |
| 72 'defines': ['ENABLE_DISASSEMBLER',], | 68 'defines': ['ENABLE_DISASSEMBLER',], |
| 73 }], | 69 }], |
| 74 ['v8_enable_gdbjit==1', { | 70 ['v8_enable_gdbjit==1', { |
| 75 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | 71 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
| (...skipping 13 matching lines...) Expand all Loading... |
| 89 ['v8_interpreted_regexp==1', { | 85 ['v8_interpreted_regexp==1', { |
| 90 'defines': ['V8_INTERPRETED_REGEXP',], | 86 'defines': ['V8_INTERPRETED_REGEXP',], |
| 91 }], | 87 }], |
| 92 ['v8_deprecation_warnings==1', { | 88 ['v8_deprecation_warnings==1', { |
| 93 'defines': ['V8_DEPRECATION_WARNINGS',], | 89 'defines': ['V8_DEPRECATION_WARNINGS',], |
| 94 }], | 90 }], |
| 95 ['v8_enable_i18n_support==1', { | 91 ['v8_enable_i18n_support==1', { |
| 96 'defines': ['V8_I18N_SUPPORT',], | 92 'defines': ['V8_I18N_SUPPORT',], |
| 97 }], | 93 }], |
| 98 ['v8_use_external_startup_data==1', { | 94 ['v8_use_external_startup_data==1', { |
| 95 # This gyp variable is either set in standalone.gypi or externally, |
| 96 # but should never be set in both in the same build. |
| 99 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], | 97 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], |
| 100 }], | 98 }], |
| 101 ['dcheck_always_on!=0', { | 99 ['dcheck_always_on!=0', { |
| 102 'defines': ['DEBUG',], | 100 'defines': ['DEBUG',], |
| 103 }], | 101 }], |
| 104 ], # conditions | 102 ], # conditions |
| 105 'configurations': { | 103 'configurations': { |
| 106 'DebugBaseCommon': { | 104 'DebugBaseCommon': { |
| 107 'abstract': 1, | 105 'abstract': 1, |
| 108 'variables': { | 106 'variables': { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 128 'defines': ['ENABLE_EXTRA_CHECKS',], | 126 'defines': ['ENABLE_EXTRA_CHECKS',], |
| 129 }], | 127 }], |
| 130 ['v8_enable_handle_zapping==1', { | 128 ['v8_enable_handle_zapping==1', { |
| 131 'defines': ['ENABLE_HANDLE_ZAPPING',], | 129 'defines': ['ENABLE_HANDLE_ZAPPING',], |
| 132 }], | 130 }], |
| 133 ], # conditions | 131 ], # conditions |
| 134 }, # Release | 132 }, # Release |
| 135 }, # configurations | 133 }, # configurations |
| 136 }, # target_defaults | 134 }, # target_defaults |
| 137 } | 135 } |
| OLD | NEW |