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

Unified Diff: Source/core/core_derived_sources.gyp

Issue 27009005: Generate HTMLElementFactory with Python (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Actually use the code Created 7 years, 2 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/core.gypi ('k') | Source/core/html/HTMLContentElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/core_derived_sources.gyp
diff --git a/Source/core/core_derived_sources.gyp b/Source/core/core_derived_sources.gyp
index a59b25f9cb360056d4ffc890f41fe1f82fba2592..7ac621f577bc96f4fc66fecb5a6cfbb751836e2e 100644
--- a/Source/core/core_derived_sources.gyp
+++ b/Source/core/core_derived_sources.gyp
@@ -299,7 +299,6 @@
'outputs': [
'<(SHARED_INTERMEDIATE_DIR)/blink/HTMLNames.cpp',
'<(SHARED_INTERMEDIATE_DIR)/blink/HTMLNames.h',
- '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLElementFactory.cpp',
'<(SHARED_INTERMEDIATE_DIR)/blink/V8HTMLElementWrapperFactory.cpp',
'<(SHARED_INTERMEDIATE_DIR)/blink/V8HTMLElementWrapperFactory.h',
],
@@ -310,12 +309,31 @@
'--',
'<@(_inputs)',
'--',
- '--factory',
'--extraDefines', '<(feature_defines)'
],
'msvs_cygwin_shell': 1,
},
{
+ 'action_name': 'HTMLElementFactory',
+ 'inputs': [
+ '<@(make_element_factory_files)',
+ 'html/HTMLTagNames.in',
+ 'html/HTMLAttributeNames.in',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLElementFactory.cpp',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLElementFactory.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_element_factory.py',
+ 'html/HTMLTagNames.in',
+ 'html/HTMLAttributeNames.in',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ ],
+ },
+ {
'action_name': 'FontFamilyNames',
'inputs': [
'../build/scripts/Hasher.pm',
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/HTMLContentElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698