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

Side by Side Diff: Source/bindings/core/generated.gyp

Issue 328643002: IDL build: factor out interface_info actions into GYP templates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/bindings/modules/generated.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Generate IDL interfaces info for core, used to generate bindings 5 # Generate IDL interfaces info for core, used to generate bindings
6 # 6 #
7 # Design doc: http://www.chromium.org/developers/design-documents/idl-build 7 # Design doc: http://www.chromium.org/developers/design-documents/idl-build
8 8
9 { 9 {
10 'includes': [ 10 'includes': [
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 'outputs': [ 47 'outputs': [
48 '<@(core_global_constructors_generated_idl_files)', 48 '<@(core_global_constructors_generated_idl_files)',
49 '<@(core_global_constructors_generated_header_files)', 49 '<@(core_global_constructors_generated_header_files)',
50 ], 50 ],
51 }, 51 },
52 'includes': ['../../bindings/scripts/global_constructors.gypi'], 52 'includes': ['../../bindings/scripts/global_constructors.gypi'],
53 }, 53 },
54 ################################################################################ 54 ################################################################################
55 { 55 {
56 'target_name': 'interfaces_info_individual_core', 56 'target_name': 'interfaces_info_individual_core',
57 'type': 'none',
58 'dependencies': [ 57 'dependencies': [
59 '../../core/core_generated.gyp:generated_testing_idls', 58 '../../core/core_generated.gyp:generated_testing_idls',
60 'core_global_constructors_idls', 59 'core_global_constructors_idls',
61 ], 60 ],
62 'actions': [{ 61 'variables': {
63 'action_name': 'compute_interfaces_info_individual_core', 62 'static_idl_files': '<(core_static_idl_files)',
64 'inputs': [ 63 'generated_idl_files': '<(core_generated_idl_files)',
65 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', 64 'component_dir': 'core',
66 '<(bindings_scripts_dir)/utilities.py', 65 'output_file':
67 '<(core_static_idl_files_list)',
68 '<@(core_static_idl_files)',
69 '<@(core_generated_idl_files)',
70 ],
71 'outputs': [
72 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', 66 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle',
73 ], 67 },
74 'action': [ 68 'includes': ['../../bindings/scripts/interfaces_info_individual.gypi'],
75 'python',
76 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py',
77 '--component-dir',
78 'core',
79 '--idl-files-list',
80 '<(core_static_idl_files_list)',
81 '--interfaces-info-file',
82 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle',
83 '--write-file-only-if-changed',
84 '<(write_file_only_if_changed)',
85 '--',
86 # Generated files must be passed at command line
87 '<@(core_generated_idl_files)',
88 ],
89 'message': 'Computing global information about individual IDL files',
90 }]
91 }, 69 },
92 ################################################################################ 70 ################################################################################
93 ], # targets 71 ], # targets
94 } 72 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/modules/generated.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698