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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. | 62 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. |
63 'v8_imminent_deprecation_warnings%': 0, | 63 'v8_imminent_deprecation_warnings%': 0, |
64 | 64 |
65 # Set to 1 to enable DCHECKs in release builds. | 65 # Set to 1 to enable DCHECKs in release builds. |
66 'dcheck_always_on%': 0, | 66 'dcheck_always_on%': 0, |
| 67 |
| 68 # Set to 1 to enable building with wasm prototype. |
| 69 'v8_wasm%': 0, |
67 }, | 70 }, |
68 'target_defaults': { | 71 'target_defaults': { |
69 'conditions': [ | 72 'conditions': [ |
70 ['v8_enable_disassembler==1', { | 73 ['v8_enable_disassembler==1', { |
71 'defines': ['ENABLE_DISASSEMBLER',], | 74 'defines': ['ENABLE_DISASSEMBLER',], |
72 }], | 75 }], |
73 ['v8_enable_gdbjit==1', { | 76 ['v8_enable_gdbjit==1', { |
74 'defines': ['ENABLE_GDB_JIT_INTERFACE',], | 77 'defines': ['ENABLE_GDB_JIT_INTERFACE',], |
75 }], | 78 }], |
76 ['v8_object_print==1', { | 79 ['v8_object_print==1', { |
(...skipping 19 matching lines...) Expand all Loading... |
96 }], | 99 }], |
97 ['v8_enable_i18n_support==1', { | 100 ['v8_enable_i18n_support==1', { |
98 'defines': ['V8_I18N_SUPPORT',], | 101 'defines': ['V8_I18N_SUPPORT',], |
99 }], | 102 }], |
100 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { | 103 ['v8_use_snapshot=="true" and v8_use_external_startup_data==1', { |
101 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], | 104 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA',], |
102 }], | 105 }], |
103 ['dcheck_always_on!=0', { | 106 ['dcheck_always_on!=0', { |
104 'defines': ['DEBUG',], | 107 'defines': ['DEBUG',], |
105 }], | 108 }], |
| 109 ['v8_wasm!=0', { |
| 110 'defines': ['V8_WASM',], |
| 111 }], |
106 ], # conditions | 112 ], # conditions |
107 'configurations': { | 113 'configurations': { |
108 'DebugBaseCommon': { | 114 'DebugBaseCommon': { |
109 'abstract': 1, | 115 'abstract': 1, |
110 'variables': { | 116 'variables': { |
111 'v8_enable_handle_zapping%': 1, | 117 'v8_enable_handle_zapping%': 1, |
112 }, | 118 }, |
113 'conditions': [ | 119 'conditions': [ |
114 ['v8_enable_handle_zapping==1', { | 120 ['v8_enable_handle_zapping==1', { |
115 'defines': ['ENABLE_HANDLE_ZAPPING',], | 121 'defines': ['ENABLE_HANDLE_ZAPPING',], |
116 }], | 122 }], |
117 ], | 123 ], |
118 }, # Debug | 124 }, # Debug |
119 'Release': { | 125 'Release': { |
120 'variables': { | 126 'variables': { |
121 'v8_enable_handle_zapping%': 1, | 127 'v8_enable_handle_zapping%': 1, |
122 }, | 128 }, |
123 'conditions': [ | 129 'conditions': [ |
124 ['v8_enable_handle_zapping==1', { | 130 ['v8_enable_handle_zapping==1', { |
125 'defines': ['ENABLE_HANDLE_ZAPPING',], | 131 'defines': ['ENABLE_HANDLE_ZAPPING',], |
126 }], | 132 }], |
127 ], # conditions | 133 ], # conditions |
128 }, # Release | 134 }, # Release |
129 }, # configurations | 135 }, # configurations |
130 }, # target_defaults | 136 }, # target_defaults |
131 } | 137 } |
OLD | NEW |