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

Unified Diff: third_party/WebKit/Source/build/scripts/make_computed_style_base.py

Issue 2620883002: Convert Settings.in, CSSValueKeywords.in, SVGCSSValueKeywords.in to json5 (Closed)
Patch Set: Convert CSSProperties.in to json5 format Created 3 years, 11 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/build/scripts/make_computed_style_base.py
diff --git a/third_party/WebKit/Source/build/scripts/make_computed_style_base.py b/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
index 4fa06778a9119703811b7d39a600dcc85a5affeb..92e126c9377c1fd1f1722239c500c96cf8a74c3d 100755
--- a/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
+++ b/third_party/WebKit/Source/build/scripts/make_computed_style_base.py
@@ -6,7 +6,7 @@
import math
import sys
-import in_generator
+import json5_generator
import template_expander
import make_style_builder
@@ -68,8 +68,8 @@ class Field(object):
class ComputedStyleBaseWriter(make_style_builder.StyleBuilderWriter):
- def __init__(self, in_file_path):
- super(ComputedStyleBaseWriter, self).__init__(in_file_path)
+ def __init__(self, json5_file_path):
+ super(ComputedStyleBaseWriter, self).__init__(json5_file_path)
self._outputs = {
'ComputedStyleBase.h': self.generate_base_computed_style_h,
'ComputedStyleBase.cpp': self.generate_base_computed_style_cpp,
@@ -232,4 +232,4 @@ class ComputedStyleBaseWriter(make_style_builder.StyleBuilderWriter):
}
if __name__ == '__main__':
- in_generator.Maker(ComputedStyleBaseWriter).main(sys.argv)
+ json5_generator.Maker(ComputedStyleBaseWriter).main()

Powered by Google App Engine
This is Rietveld 408576698