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

Unified Diff: Source/bindings/generated_bindings.gyp

Issue 185303008: Split generate_event_interfaces.py from compute_interfaces_info.py (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « no previous file | Source/bindings/scripts/compute_interfaces_info.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/generated_bindings.gyp
diff --git a/Source/bindings/generated_bindings.gyp b/Source/bindings/generated_bindings.gyp
index 7bcc32f887442593301b9b855a9a16a84bc9345c..e005db99fd7097875bd83ce76e090e5439e799a8 100644
--- a/Source/bindings/generated_bindings.gyp
+++ b/Source/bindings/generated_bindings.gyp
@@ -235,7 +235,6 @@
],
'outputs': [
'<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle',
- '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
],
'action': [
'python',
@@ -244,14 +243,41 @@
'<(static_idl_files_list)',
'--interfaces-info-file',
'<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle',
- '--event-names-file',
- '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
'<@(write_file_only_if_changed)',
'--',
# Generated files must be passed at command line
'<@(generated_idl_files)',
],
- 'message': 'Computing global information about IDL files, and generating list of Event interfaces',
+ 'message': 'Computing global information about IDL files',
+ }]
+ },
+################################################################################
+ {
+ 'target_name': 'event_interfaces',
+ 'type': 'none',
+ 'dependencies': [
+ 'interfaces_info',
+ ],
+ 'actions': [{
+ 'action_name': 'generate_event_interfaces',
+ 'inputs': [
+ 'scripts/generate_event_interfaces.py',
+ 'scripts/utilities.py',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
+ ],
+ 'action': [
+ 'python',
+ 'scripts/generate_event_interfaces.py',
+ '--interfaces-info-file',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle',
+ '--event-names-file',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
+ '<@(write_file_only_if_changed)',
+ ],
+ 'message': 'Generating list of Event interfaces',
}]
},
################################################################################
@@ -369,6 +395,7 @@
'type': 'none',
'dependencies': [
'aggregate_generated_bindings',
+ 'event_interfaces',
'individual_generated_bindings',
],
},
« no previous file with comments | « no previous file | Source/bindings/scripts/compute_interfaces_info.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698