Commit eb384a13 authored by Yuki Shiino's avatar Yuki Shiino Committed by Commit Bot

bind-gen: Add a flag to use the new IDL interface implementation

This patch allows the following branch.
    #if defined(USE_BLINK_V8_BINDING_NEW_IDL_INTERFACE)
    #else
    #endif

Bug: 839389
Change-Id: I17249cf1a9c84bf11a52f31cfad41b3c1378431f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275287Reviewed-by: default avatarHitoshi Yoshida <peria@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784412}
parent 25cb2a15
...@@ -39,6 +39,10 @@ declare_args() { ...@@ -39,6 +39,10 @@ declare_args() {
# If true, webgl2-compute context will be supported. # If true, webgl2-compute context will be supported.
support_webgl2_compute_context = !is_android support_webgl2_compute_context = !is_android
# If true, the new implementation (experimental) of Blink-V8 bindings
# (of IDL interface) is used.
use_blink_v8_binding_new_idl_interface = false
} }
# feature_defines_list --------------------------------------------------------- # feature_defines_list ---------------------------------------------------------
...@@ -61,6 +65,10 @@ if (use_webaudio_pffft) { ...@@ -61,6 +65,10 @@ if (use_webaudio_pffft) {
feature_defines_list += [ "WTF_USE_WEBAUDIO_PFFFT=1" ] feature_defines_list += [ "WTF_USE_WEBAUDIO_PFFFT=1" ]
} }
if (use_blink_v8_binding_new_idl_interface) {
feature_defines_list += [ "USE_BLINK_V8_BINDING_NEW_IDL_INTERFACE" ]
}
if (blink_symbol_level == 2) { if (blink_symbol_level == 2) {
blink_symbols_config = [ "//build/config/compiler:symbols" ] blink_symbols_config = [ "//build/config/compiler:symbols" ]
} else if (blink_symbol_level == 1) { } else if (blink_symbol_level == 1) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment