| Index: third_party/WebKit/Source/bindings/core/v8/BUILD.gn
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/BUILD.gn b/third_party/WebKit/Source/bindings/core/v8/BUILD.gn
|
| index 7a0a9a30672eb1ffb4144ccf7887364075b17042..2bb0281e7d6b1067a0aa3e75776137fa87ffc860 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/BUILD.gn
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/BUILD.gn
|
| @@ -236,6 +236,7 @@ if (is_win) {
|
| group("bindings_core_v8_generated") {
|
| public_deps = [
|
| ":bindings_core_impl_generated",
|
| + ":fake_gen",
|
| ]
|
| if (is_win) {
|
| public_deps += [ ":generate_bindings_core_v8_all_interfaces" ]
|
| @@ -254,6 +255,31 @@ idl_compiler("generate_bindings_core_v8_interfaces") {
|
| target_component = "core"
|
| }
|
|
|
| +action("fake_gen") {
|
| + input_dir = "//third_party/WebKit/fake_gen"
|
| + api_path = "web/api"
|
| + output_dir = "$root_gen_dir/blink/$api_path"
|
| + gen_files = [
|
| + "element.h",
|
| + "node.h",
|
| + "event_target.h",
|
| + ]
|
| +
|
| + script_name = "$input_dir/fake_the_gen.py"
|
| +
|
| + inputs = [
|
| + script_name,
|
| + ]
|
| + outputs = []
|
| + foreach(gen_file, gen_files) {
|
| + inputs += [ "$input_dir/$api_path/$gen_file" ]
|
| + outputs += [ "$output_dir/$gen_file" ]
|
| + }
|
| + script = script_name
|
| +
|
| + args = [ rebase_path("$output_dir") ]
|
| +}
|
| +
|
| aggregate_generated_bindings("generate_bindings_core_v8_all_interfaces") {
|
| sources = core_definition_idl_files
|
| outputs = [
|
|
|