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

Unified Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2645283006: Convert make_qualified_names and make_element_factory to use JSON5. (Closed)
Patch Set: fix typo __majson5__ -> __main__ in make_qualified_names.py Created 3 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
Index: third_party/WebKit/Source/core/BUILD.gn
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index 1b8461c16ca4a8df45459b230bbba00e6b02e87c..02b42571dff7c21b5acf938991c137d9d2681bff 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -510,8 +510,8 @@ process_in_files("make_core_generated_html_element_factory") {
script = "../build/scripts/make_element_factory.py"
in_files = [
- "html/HTMLTagNames.in",
- "html/HTMLAttributeNames.in",
+ "html/HTMLTagNames.json5",
+ "html/HTMLAttributeNames.json5",
]
other_inputs = make_element_factory_files
outputs = [
@@ -525,7 +525,7 @@ process_in_files("make_core_generated_html_element_factory") {
process_in_files("make_core_generated_html_element_type_helpers") {
script = "../build/scripts/make_element_type_helpers.py"
- in_files = [ "html/HTMLTagNames.in" ]
+ in_files = [ "html/HTMLTagNames.json5" ]
other_inputs = make_element_type_helpers_files
outputs = [
"$blink_core_output_dir/HTMLElementTypeHelpers.cpp",
@@ -537,8 +537,8 @@ process_in_files("make_core_generated_svg_names") {
script = "../build/scripts/make_element_factory.py"
in_files = [
- "svg/SVGTagNames.in",
- "svg/SVGAttributeNames.in",
+ "svg/SVGTagNames.json5",
+ "svg/SVGAttributeNames.json5",
]
other_inputs = make_element_factory_files
outputs = [
@@ -552,7 +552,7 @@ process_in_files("make_core_generated_svg_names") {
process_in_files("make_core_generated_svg_element_type_helpers") {
script = "../build/scripts/make_element_type_helpers.py"
- in_files = [ "svg/SVGTagNames.in" ]
+ in_files = [ "svg/SVGTagNames.json5" ]
other_inputs = make_element_type_helpers_files
outputs = [
"$blink_core_output_dir/SVGElementTypeHelpers.h",
@@ -644,8 +644,8 @@ make_names("make_core_generated_input_mode_names") {
make_qualified_names("make_core_generated_math_ml_names") {
in_files = [
- "html/parser/MathMLTagNames.in",
- "html/parser/MathMLAttributeNames.in",
+ "html/parser/MathMLTagNames.json5",
+ "html/parser/MathMLAttributeNames.json5",
]
outputs = [
"$blink_core_output_dir/MathMLNames.cpp",
@@ -654,7 +654,7 @@ make_qualified_names("make_core_generated_math_ml_names") {
}
make_qualified_names("make_core_generated_xlink_names") {
- in_files = [ "svg/xlinkattrs.in" ]
+ in_files = [ "svg/xlinkattrs.json5" ]
outputs = [
"$blink_core_output_dir/XLinkNames.cpp",
"$blink_core_output_dir/XLinkNames.h",
@@ -662,7 +662,7 @@ make_qualified_names("make_core_generated_xlink_names") {
}
make_qualified_names("make_core_generated_xml_ns_names") {
- in_files = [ "xml/xmlnsattrs.in" ]
+ in_files = [ "xml/xmlnsattrs.json5" ]
outputs = [
"$blink_core_output_dir/XMLNSNames.cpp",
"$blink_core_output_dir/XMLNSNames.h",
@@ -670,7 +670,7 @@ make_qualified_names("make_core_generated_xml_ns_names") {
}
make_qualified_names("make_core_generated_xml_names") {
- in_files = [ "xml/xmlattrs.in" ]
+ in_files = [ "xml/xmlattrs.json5" ]
outputs = [
"$blink_core_output_dir/XMLNames.cpp",
"$blink_core_output_dir/XMLNames.h",
@@ -774,7 +774,7 @@ action("make_core_generated_html_element_lookup_trie") {
visibility = [ ":*" ]
script = "../build/scripts/make_element_lookup_trie.py"
- input_file = "html/HTMLTagNames.in"
+ input_file = "html/HTMLTagNames.json5"
inputs = make_trie_helpers_files + [
input_file,
"../build/scripts/templates/ElementLookupTrie.cpp.tmpl",

Powered by Google App Engine
This is Rietveld 408576698