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

Unified Diff: Source/modules/modules.gyp

Issue 297493004: Move modules-dependent eventtarget code out of 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
Index: Source/modules/modules.gyp
diff --git a/Source/modules/modules.gyp b/Source/modules/modules.gyp
index 9f518783291dc0514c41ba879b184b4f2d5be828..7954446889a22f88208681e450844f180fdd5a81 100644
--- a/Source/modules/modules.gyp
+++ b/Source/modules/modules.gyp
@@ -29,6 +29,7 @@
#
{
'includes': [
+ '../build/scripts/scripts.gypi',
'../build/win/precompile.gypi',
'../bindings/bindings.gypi',
'modules.gypi',
@@ -41,6 +42,7 @@
'<(DEPTH)/third_party/sqlite/sqlite.gyp:sqlite',
'../config.gyp:config',
'../core/core.gyp:webcore',
+ 'make_modules_generated',
],
'defines': [
'BLINK_IMPLEMENTATION=1',
@@ -68,5 +70,58 @@
'<@(modules_testing_files)',
],
+ },
+ {
+ 'target_name': 'make_modules_generated',
+ 'type': 'none',
+ 'hard_dependency': 1,
+ 'dependencies': [
+ #'generated_testing_idls',
+ '../bindings/core_bindings_generated.gyp:core_bindings_generated',
+ '../config.gyp:config',
+ ],
+ 'sources': [
+ # bison rule
+ '../core/css/CSSGrammar.y',
+ '../core/xml/XPathGrammar.y',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'EventTargetModulesFactory',
+ 'inputs': [
+ '<@(make_event_factory_files)',
+ 'EventTargetModulesFactory.in',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesHeaders.h',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesInterfaces.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_event_factory.py',
+ 'EventTargetModulesFactory.in',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ ],
+ },
+ {
+ 'action_name': 'EventTargetModulesNames',
+ 'inputs': [
+ '<@(make_names_files)',
+ 'EventTargetModulesFactory.in',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesNames.cpp',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesNames.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_names.py',
+ 'EventTargetModulesFactory.in',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ ],
+ },
+ ],
}],
}

Powered by Google App Engine
This is Rietveld 408576698