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

Unified Diff: Source/modules/modules.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/modules/InitModules.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/modules.gyp
diff --git a/Source/modules/modules.gyp b/Source/modules/modules.gyp
index 7954446889a22f88208681e450844f180fdd5a81..4db884bf1f02e49f4a7f748df0d74493a386a32f 100644
--- a/Source/modules/modules.gyp
+++ b/Source/modules/modules.gyp
@@ -56,6 +56,43 @@
'msvs_disabled_warnings': [ 4267, 4334, ]
},
{
+ 'target_name': 'modules_bindings_generated',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'event_interfaces',
+ 'variables': {
+ 'event_idl_files': [
+ '<@(modules_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)/EventModulesInterfaces.in',
+ ],
+ 'action': [
+ 'python',
+ '../bindings/scripts/generate_event_interfaces.py',
+ '--event-idl-files-list',
+ '<(event_idl_files_list)',
+ '--event-interfaces-file',
+ '<(blink_output_dir)/EventModulesInterfaces.in',
+ '--write-file-only-if-changed',
+ '<(write_file_only_if_changed)',
+ '--suffix',
+ 'Modules',
+ ],
+ },
+ ],
+ },
+ {
'target_name': 'modules_testing',
'type': 'static_library',
'dependencies': [
@@ -77,7 +114,8 @@
'hard_dependency': 1,
'dependencies': [
#'generated_testing_idls',
- '../bindings/core_bindings_generated.gyp:core_bindings_generated',
+ '../core/core_generated.gyp:core_bindings_generated',
+ 'modules_bindings_generated',
'../config.gyp:config',
],
'sources': [
@@ -87,6 +125,43 @@
],
'actions': [
{
+ 'action_name': 'EventModulesFactory',
+ 'inputs': [
+ '<@(make_event_factory_files)',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModules.cpp',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesHeaders.h',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_event_factory.py',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ ],
+ },
+ {
+ 'action_name': 'EventModulesNames',
+ 'inputs': [
+ '<@(make_names_files)',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesNames.cpp',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesNames.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_names.py',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ ],
+ },
+ {
'action_name': 'EventTargetModulesFactory',
'inputs': [
'<@(make_event_factory_files)',
« no previous file with comments | « Source/modules/InitModules.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698