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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 ['v8_compress_startup_data=="bz2"', { | 82 ['v8_compress_startup_data=="bz2"', { |
83 'defines': [ | 83 'defines': [ |
84 'COMPRESS_STARTUP_DATA_BZ2', | 84 'COMPRESS_STARTUP_DATA_BZ2', |
85 ], | 85 ], |
86 }], | 86 }], |
87 ], # conditions | 87 ], # conditions |
88 'configurations': { | 88 'configurations': { |
89 'Debug': { | 89 'Debug': { |
90 'variables': { | 90 'variables': { |
91 'v8_enable_extra_checks%': 1, | 91 'v8_enable_extra_checks%': 1, |
| 92 'v8_enable_handle_zapping%': 1, |
92 }, | 93 }, |
93 'conditions': [ | 94 'conditions': [ |
94 ['v8_enable_extra_checks==1', { | 95 ['v8_enable_extra_checks==1', { |
95 'defines': ['ENABLE_EXTRA_CHECKS',], | 96 'defines': ['ENABLE_EXTRA_CHECKS',], |
96 }], | 97 }], |
| 98 ['v8_enable_handle_zapping==1', { |
| 99 'defines': ['ENABLE_HANDLE_ZAPPING',], |
| 100 }], |
97 ], | 101 ], |
98 }, # Debug | 102 }, # Debug |
99 'Release': { | 103 'Release': { |
100 'variables': { | 104 'variables': { |
101 'v8_enable_extra_checks%': 0, | 105 'v8_enable_extra_checks%': 0, |
| 106 'v8_enable_handle_zapping%': 0, |
102 }, | 107 }, |
103 'conditions': [ | 108 'conditions': [ |
104 ['v8_enable_extra_checks==1', { | 109 ['v8_enable_extra_checks==1', { |
105 'defines': ['ENABLE_EXTRA_CHECKS',], | 110 'defines': ['ENABLE_EXTRA_CHECKS',], |
106 }], | 111 }], |
| 112 ['v8_enable_handle_zapping==1', { |
| 113 'defines': ['ENABLE_HANDLE_ZAPPING',], |
| 114 }], |
107 ], # conditions | 115 ], # conditions |
108 }, # Release | 116 }, # Release |
109 }, # configurations | 117 }, # configurations |
110 }, # target_defaults | 118 }, # target_defaults |
111 } | 119 } |
OLD | NEW |