Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/BUILD.gn

Issue 2591803002: NOT FOR LANDING: Thread the needle through all webmodules.
Patch Set: Needle threaded all the way. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 = [

Powered by Google App Engine
This is Rietveld 408576698