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

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

Issue 2591803002: NOT FOR LANDING: Thread the needle through all webmodules.
Patch Set: AddEventListener sketched out. Created 3 years, 10 months 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c557169793e4f48e4aa4d099398c55c3ab0e89c4..5ea2d6b63694b43c754cae2269d7c0f6515ecd32 100644
--- a/third_party/WebKit/Source/bindings/core/v8/BUILD.gn
+++ b/third_party/WebKit/Source/bindings/core/v8/BUILD.gn
@@ -252,6 +252,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" ]
@@ -270,6 +271,55 @@ 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"
+
+ script_name = "$input_dir/fake_the_gen.py"
+
+ fake_gen_files = [
+ "document.cc",
+ "document.h",
+ "element.cc",
+ "element.h",
+ "node.cc",
+ "node.h",
+ "event.cc",
+ "event.h",
+ "event_target.cc",
+ "event_target.h",
+ ]
+
+ inputs = [
+ script_name,
+ ]
+ outputs = []
+ foreach(gen_file, fake_gen_files) {
+ inputs += [ "$input_dir/$api_path/$gen_file" ]
+ outputs += [ "$output_dir/$gen_file" ]
+ }
+ script = script_name
+
+ args = [ rebase_path("$output_dir") ]
+}
+
+source_set("fake_gen_compiled") {
+ deps = [
+ ":fake_gen",
+ "//skia",
+ "//third_party/WebKit/Source/wtf",
+ "//v8",
+ ]
+
+ sources = get_target_outputs(":fake_gen")
+
+ configs += [
+ "//third_party/WebKit/Source:config",
+ "//third_party/WebKit/Source/core:blink_core_pch",
+ ]
+}
+
aggregate_generated_bindings("generate_bindings_core_v8_all_interfaces") {
sources = core_definition_idl_files
outputs = [
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698