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

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

Issue 2659283002: Convert CSSPrimitiveValueUnits.in to json5 format (Closed)
Patch Set: add deprecation notice to in_generator.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/build/scripts/make_cssom_types.py
diff --git a/third_party/WebKit/Source/build/scripts/make_cssom_types.py b/third_party/WebKit/Source/build/scripts/make_cssom_types.py
index ee57c747ad5afd23d0b43b66c68b4b95296a3db4..e96947a497586e8165fe5af1d88d60dc1ec1657a 100755
--- a/third_party/WebKit/Source/build/scripts/make_cssom_types.py
+++ b/third_party/WebKit/Source/build/scripts/make_cssom_types.py
@@ -6,14 +6,14 @@
import sys
import css_properties
-import in_generator
+import json5_generator
from name_utilities import enum_for_css_keyword
import template_expander
class CSSOMTypesWriter(css_properties.CSSProperties):
- def __init__(self, in_file_path):
- super(CSSOMTypesWriter, self).__init__(in_file_path)
+ def __init__(self, json5_file_path):
+ super(CSSOMTypesWriter, self).__init__(json5_file_path)
for property in self._properties.values():
types = []
@@ -50,4 +50,4 @@ class CSSOMTypesWriter(css_properties.CSSProperties):
}
if __name__ == '__main__':
- in_generator.Maker(CSSOMTypesWriter).main(sys.argv)
+ json5_generator.Maker(CSSOMTypesWriter).main()

Powered by Google App Engine
This is Rietveld 408576698