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

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

Issue 2633223003: Convert CSSProperties.in to JSON5 format (Closed)
Patch Set: Fix test_converter_unittest 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_css_property_names.py
diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_names.py b/third_party/WebKit/Source/build/scripts/make_css_property_names.py
index 6db3fc48ed5576692e5f49359c0cbad2987d9a2a..b5f211d0f8af75527b53864820b11633fb46ec3c 100755
--- a/third_party/WebKit/Source/build/scripts/make_css_property_names.py
+++ b/third_party/WebKit/Source/build/scripts/make_css_property_names.py
@@ -4,7 +4,7 @@ import subprocess
import sys
import css_properties
-import in_generator
+import json5_generator
import license
@@ -184,8 +184,8 @@ CSSPropertyID cssPropertyID(const String& string)
class CSSPropertyNamesWriter(css_properties.CSSProperties):
class_name = "CSSPropertyNames"
- def __init__(self, in_file_path):
- super(CSSPropertyNamesWriter, self).__init__(in_file_path)
+ def __init__(self, json5_file_path):
+ super(CSSPropertyNamesWriter, self).__init__(json5_file_path)
self._outputs = {(self.class_name + ".h"): self.generate_header,
(self.class_name + ".cpp"): self.generate_implementation,
}
@@ -235,4 +235,4 @@ class CSSPropertyNamesWriter(css_properties.CSSProperties):
if __name__ == "__main__":
- in_generator.Maker(CSSPropertyNamesWriter).main(sys.argv)
+ json5_generator.Maker(CSSPropertyNamesWriter).main()

Powered by Google App Engine
This is Rietveld 408576698