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

Unified Diff: Source/bindings/modules/BUILD.gn

Issue 319983003: Work on blink GN bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix lots of dirs, comment out some tests that don't link Created 6 years, 6 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 | « Source/bindings/idl.gni ('k') | Source/bindings/modules/generated.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/modules/BUILD.gn
diff --git a/Source/bindings/modules/BUILD.gn b/Source/bindings/modules/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3d2a34518c9d7145fff43f08a2b2a87276f9a51f
--- /dev/null
+++ b/Source/bindings/modules/BUILD.gn
@@ -0,0 +1,118 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//third_party/WebKit/Source/modules/modules.gni")
+import("//third_party/WebKit/Source/bindings/core/core.gni")
+import("//third_party/WebKit/Source/bindings/modules/modules.gni")
+import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
+import("//third_party/WebKit/Source/build/scripts/scripts.gni")
+
+# GYP version: Source/bindings/modules/generated.gyp:bindings_modules_generated
+group("bindings_modules_generated") {
+ deps = [
+ ":modules_bindings_generated_event_interfaces",
+ ":bindings_modules_generated_event_modules_factory",
+ ":bindings_modules_generated_event_modules_names",
+ ":bindings_modules_generated_event_target_modules_factory",
+ ":bindings_modules_generated_event_target_modules_names",
+ ]
+}
+
+# GYP version: event_interfaces action in bindings_modules_generated
+generate_event_interfaces("modules_bindings_generated_event_interfaces") {
+ sources = modules_event_idl_files
+ output_file = "EventModulesInterfaces.in"
+ suffix = "Modules"
+}
+
+# GYP version: EventModulesFactory action in bindings_modules_generated
+make_event_factory("bindings_modules_generated_event_modules_factory") {
+ in_files = [
+ "$root_gen_dir/blink/EventModulesInterfaces.in",
+ ]
+ outputs = [
+ "$blink_modules_output_dir/EventModules.cpp",
+ "$blink_modules_output_dir/EventModulesHeaders.h",
+ "$blink_modules_output_dir/EventModulesInterfaces.h",
+ ]
+}
+
+# GYP version: EventModulesNames action in bindings_modules_generated
+make_names("bindings_modules_generated_event_modules_names") {
+ in_files = [
+ "$root_gen_dir/blink/EventModulesInterfaces.in",
+ ]
+ outputs = [
+ "$blink_modules_output_dir/EventModulesNames.cpp",
+ "$blink_modules_output_dir/EventModulesNames.h",
+ ]
+}
+
+# GYP version: EventTargetModulesFactory action in bindings_modules_generated
+make_event_factory("bindings_modules_generated_event_target_modules_factory") {
+ in_files = [
+ "../../modules/EventTargetModulesFactory.in",
+ ]
+ outputs = [
+ "$blink_modules_output_dir/EventTargetModulesHeaders.h",
+ "$blink_modules_output_dir/EventTargetModulesInterfaces.h",
+ ]
+}
+
+# GYP version: EventTargetModulesNames action in bindings_modules_generated
+make_names("bindings_modules_generated_event_target_modules_names") {
+ in_files = [
+ "../../modules/EventTargetModulesFactory.in",
+ ]
+ outputs = [
+ "$blink_modules_output_dir/EventTargetModulesNames.cpp",
+ "$blink_modules_output_dir/EventTargetModulesNames.h",
+ ]
+}
+
+# ------------------------------------------------------------------------------
+
+# GYP version: Source/bindings/modules/generated.gyp:interfaces_info_individual_modules
+compute_interfaces_info_individual("interfaces_info_individual_modules") {
+ sources_static = modules_static_idl_files
+ # No generated files currently, will add with constructors
+ sources_generated = []
+ component_dir = "modules"
+ output_file =
+ "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle"
+}
+
+# GYP version: Source/bindings/modules/generated.gyp:interfaces_info
+action("interfaces_info") {
+ script = "$bindings_scripts_dir/compute_interfaces_info_overall.py"
+
+ source_prereqs = [
+ "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle",
+ "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle",
+ ]
+ outputs = [
+ "$bindings_modules_output_dir/InterfacesInfoModules.pickle",
+ ]
+
+ args = [
+ "--write-file-only-if-changed=1",
+ "--",
+ rebase_path(
+ "$bindings_core_output_dir/InterfacesInfoCoreIndividual.pickle",
+ root_build_dir),
+ rebase_path(
+ "$bindings_modules_output_dir/InterfacesInfoModulesIndividual.pickle",
+ root_build_dir),
+ rebase_path(
+ "$bindings_modules_output_dir/InterfacesInfoModules.pickle",
+ root_build_dir),
+ ]
+
+ deps = [
+ ":interfaces_info_individual_modules",
+ "//third_party/WebKit/Source/bindings/core:interfaces_info_individual_core",
+ ]
+}
+
+
« no previous file with comments | « Source/bindings/idl.gni ('k') | Source/bindings/modules/generated.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698