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 # Compile time controlled V8 features. | 28 # Compile time controlled V8 features. |
29 | 29 |
30 { | 30 { |
31 'variables': { | 31 'variables': { |
32 'v8_enable_disassembler%': 0, | 32 'v8_enable_disassembler%': 0, |
33 | 33 |
| 34 'v8_promise_internal_field_count%': 0, |
| 35 |
34 'v8_enable_gdbjit%': 0, | 36 'v8_enable_gdbjit%': 0, |
35 | 37 |
36 'v8_enable_verify_csa%': 0, | 38 'v8_enable_verify_csa%': 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_trace_maps%': 0, | 44 'v8_trace_maps%': 0, |
43 | 45 |
(...skipping 26 matching lines...) Expand all Loading... |
70 'dcheck_always_on%': 0, | 72 'dcheck_always_on%': 0, |
71 | 73 |
72 # Enable/disable JavaScript API accessors. | 74 # Enable/disable JavaScript API accessors. |
73 'v8_js_accessors%': 0, | 75 'v8_js_accessors%': 0, |
74 }, | 76 }, |
75 'target_defaults': { | 77 'target_defaults': { |
76 'conditions': [ | 78 'conditions': [ |
77 ['v8_enable_disassembler==1', { | 79 ['v8_enable_disassembler==1', { |
78 'defines': ['ENABLE_DISASSEMBLER',], | 80 'defines': ['ENABLE_DISASSEMBLER',], |
79 }], | 81 }], |
| 82 ['v8_promise_internal_field_count!=0', { |
| 83 'defines': ['V8_PROMISE_INTERNAL_FIELD_COUNT','v8_promise_internal_field
_count'], |
| 84 }], |
80 ['v8_enable_gdbjit==1', { | 85 ['v8_enable_gdbjit==1', { |
81 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | 86 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
82 }], | 87 }], |
83 ['v8_enable_verify_csa==1', { | 88 ['v8_enable_verify_csa==1', { |
84 'defines': ['ENABLE_VERIFY_CSA',], | 89 'defines': ['ENABLE_VERIFY_CSA',], |
85 }], | 90 }], |
86 ['v8_object_print==1', { | 91 ['v8_object_print==1', { |
87 'defines': ['OBJECT_PRINT',], | 92 'defines': ['OBJECT_PRINT',], |
88 }], | 93 }], |
89 ['v8_enable_verify_heap==1', { | 94 ['v8_enable_verify_heap==1', { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 'defines': ['ENABLE_HANDLE_ZAPPING',], | 140 'defines': ['ENABLE_HANDLE_ZAPPING',], |
136 }], | 141 }], |
137 ], # conditions | 142 ], # conditions |
138 }, # Release | 143 }, # Release |
139 }, # configurations | 144 }, # configurations |
140 'defines': [ | 145 'defines': [ |
141 'V8_GYP_BUILD', | 146 'V8_GYP_BUILD', |
142 ], # defines | 147 ], # defines |
143 }, # target_defaults | 148 }, # target_defaults |
144 } | 149 } |
OLD | NEW |