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

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

Issue 2656163005: Convert RuntimeEnabledFeatures.in config file to JSON format. (Closed)
Patch Set: Rebase and add MediaCaptureDepth, MojoJS 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_internal_runtime_flags.py
diff --git a/third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py b/third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py
index 131394158827761ba9ef8f782c019eff403493d1..88d9de83347ac35bfc81a6cf32d66920b2c0712e 100755
--- a/third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py
+++ b/third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py
@@ -30,7 +30,7 @@
import os.path
import sys
-import in_generator
+import json5_generator
import make_runtime_features
import name_utilities
import template_expander
@@ -41,8 +41,8 @@ import template_expander
class InternalRuntimeFlagsWriter(make_runtime_features.RuntimeFeatureWriter):
class_name = 'InternalRuntimeFlags'
- def __init__(self, in_file_path):
- super(InternalRuntimeFlagsWriter, self).__init__(in_file_path)
+ def __init__(self, json5_file_path):
+ super(InternalRuntimeFlagsWriter, self).__init__(json5_file_path)
self._outputs = {(self.class_name + '.idl'): self.generate_idl,
(self.class_name + '.h'): self.generate_header,
}
@@ -64,4 +64,4 @@ class InternalRuntimeFlagsWriter(make_runtime_features.RuntimeFeatureWriter):
if __name__ == '__main__':
- in_generator.Maker(InternalRuntimeFlagsWriter).main(sys.argv)
+ json5_generator.Maker(InternalRuntimeFlagsWriter).main()

Powered by Google App Engine
This is Rietveld 408576698