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

Unified Diff: Source/bindings/idl.gypi

Issue 300133002: Split generated_bindings.gyp into core and modules (1/2) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix missing include Created 6 years, 7 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/generated_bindings.gyp ('k') | Source/bindings/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/idl.gypi
diff --git a/Source/bindings/idl.gypi b/Source/bindings/idl.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..461a19be8b3d93401c844d23f2abcfa2672bfa9f
--- /dev/null
+++ b/Source/bindings/idl.gypi
@@ -0,0 +1,90 @@
+# 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.
+
+# IDL file lists; see: http://www.chromium.org/developers/web-idl-interfaces
+
+{
+ 'includes': [
+ 'bindings.gypi',
+ '../core/core.gypi',
+ '../modules/modules.gypi',
+ ],
+
+ 'variables': {
+ # Interface IDL files / Dependency IDL files
+ # Interface IDL files: generate individual bindings (includes testing)
+ 'interface_idl_files': [
+ '<@(static_interface_idl_files)',
+ '<@(generated_interface_idl_files)',
+ ],
+ # Dependency IDL files: don't generate individual bindings, but do process
+ # in IDL dependency computation, and count as build dependencies
+ 'dependency_idl_files': [
+ '<@(static_dependency_idl_files)',
+ '<@(generated_dependency_idl_files)',
+ ],
+ # Main interface IDL files (excluding dependencies and testing)
+ # are included as properties on global objects, and in aggregate bindings
+ 'main_interface_idl_files': [
+ '<@(core_idl_files)',
+ '<@(modules_idl_files)',
+ ],
+ # Write lists of main IDL files to a file, so that the command lines don't
+ # exceed OS length limits.
+ 'main_interface_idl_files_list': '<|(main_interface_idl_files_list.tmp <@(main_interface_idl_files))',
+ 'core_idl_files_list': '<|(core_idl_files_list.tmp <@(core_idl_files))',
+ 'modules_idl_files_list': '<|(modules_idl_files_list.tmp <@(modules_idl_files))',
+
+ # Static IDL files / Generated IDL files
+ # Paths need to be passed separately for static and generated files, as
+ # static files are listed in a temporary file (b/c too long for command
+ # line), but generated files must be passed at the command line, as their
+ # paths are not fixed at GYP time, when the temporary file is generated,
+ # because their paths depend on the build directory, which varies.
+ 'static_idl_files': [
+ '<@(static_interface_idl_files)',
+ '<@(static_dependency_idl_files)',
+ ],
+ 'static_idl_files_list': '<|(static_idl_files_list.tmp <@(static_idl_files))',
+ 'generated_idl_files': [
+ '<@(generated_interface_idl_files)',
+ '<@(generated_dependency_idl_files)',
+ ],
+
+ # Static IDL files
+ 'static_interface_idl_files': [
+ '<@(core_idl_files)',
+ '<@(webcore_testing_idl_files)',
+ '<@(modules_idl_files)',
+ ],
+ 'static_dependency_idl_files': [
+ '<@(core_dependency_idl_files)',
+ '<@(modules_dependency_idl_files)',
+ '<@(modules_testing_dependency_idl_files)',
+ ],
+
+ # Generated IDL files
+ 'generated_interface_idl_files': [
+ '<@(generated_webcore_testing_idl_files)', # interfaces
+ ],
+ 'generated_dependency_idl_files': [
+ '<@(generated_global_constructors_idl_files)', # partial interfaces
+ ],
+
+ # Global constructors
+ 'generated_global_constructors_idl_files': [
+ '<(blink_output_dir)/WindowConstructors.idl',
+ '<(blink_output_dir)/SharedWorkerGlobalScopeConstructors.idl',
+ '<(blink_output_dir)/DedicatedWorkerGlobalScopeConstructors.idl',
+ '<(blink_output_dir)/ServiceWorkerGlobalScopeConstructors.idl',
+ ],
+
+ 'generated_global_constructors_header_files': [
+ '<(blink_output_dir)/WindowConstructors.h',
+ '<(blink_output_dir)/SharedWorkerGlobalScopeConstructors.h',
+ '<(blink_output_dir)/DedicatedWorkerGlobalScopeConstructors.h',
+ '<(blink_output_dir)/ServiceWorkerGlobalScopeConstructors.h',
+ ],
+ },
+}
« no previous file with comments | « Source/bindings/generated_bindings.gyp ('k') | Source/bindings/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698