Index: build/features.gypi |
diff --git a/build/features.gypi b/build/features.gypi |
index f82a59f0f82f53718bae76fc53e248c89f541577..1ee3e569a76e497ec6f3665fe56a8a3d92cdc40d 100644 |
--- a/build/features.gypi |
+++ b/build/features.gypi |
@@ -67,6 +67,9 @@ |
# Set to 1 to enable DCHECKs in release builds. |
'dcheck_always_on%': 0, |
+ # Set to 1 to enable building with wasm prototype. |
+ 'v8_wasm%': 0, |
+ |
# Enable/disable JavaScript API accessors. |
'v8_js_accessors%': 0, |
}, |
@@ -108,6 +111,9 @@ |
['dcheck_always_on!=0', { |
'defines': ['DEBUG',], |
}], |
+ ['v8_wasm!=0', { |
+ 'defines': ['V8_WASM',], |
+ }], |
], # conditions |
'configurations': { |
'DebugBaseCommon': { |