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

Unified Diff: Source/core/core_generated.gyp

Issue 298893006: Split modules-dependent Event code in core. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/core/Init.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/core_generated.gyp
diff --git a/Source/core/core_generated.gyp b/Source/core/core_generated.gyp
index 737e12d6fb820aa73eba757580c863a016cdcd79..1b1d6ce3753e70284303547458318e90f9e0888b 100644
--- a/Source/core/core_generated.gyp
+++ b/Source/core/core_generated.gyp
@@ -38,6 +38,41 @@
'targets': [
{
+ 'target_name': 'core_bindings_generated',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'event_interfaces',
+ 'variables': {
+ 'event_idl_files': [
+ '<@(core_event_idl_files)',
+ ],
+ 'event_idl_files_list':
+ '<|(event_idl_files_list.tmp <@(event_idl_files))',
+ },
+ 'inputs': [
+ '../bindings/scripts/generate_event_interfaces.py',
+ '../bindings/scripts/utilities.py',
+ '<(event_idl_files_list)',
+ '<@(event_idl_files)',
+ ],
+ 'outputs': [
+ '<(blink_output_dir)/EventInterfaces.in',
+ ],
+ 'action': [
+ 'python',
+ '../bindings/scripts/generate_event_interfaces.py',
+ '--event-idl-files-list',
+ '<(event_idl_files_list)',
+ '--event-interfaces-file',
+ '<(blink_output_dir)/EventInterfaces.in',
+ '--write-file-only-if-changed',
+ '<(write_file_only_if_changed)',
+ ],
+ },
+ ],
+ },
+ {
'target_name': 'generated_testing_idls',
'type': 'none',
'actions': [
@@ -95,7 +130,7 @@
'hard_dependency': 1,
'dependencies': [
'generated_testing_idls',
- '../bindings/core_bindings_generated.gyp:core_bindings_generated',
+ 'core_bindings_generated',
'../config.gyp:config',
],
'sources': [
« no previous file with comments | « Source/core/Init.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698