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

Unified Diff: tools/json_schema_compiler/cpp_bundle_generator.py

Issue 2782203003: [Extensions Schema Compiler] Don't bundle nocompile and jsexterns keys (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/cpp_bundle_generator.py
diff --git a/tools/json_schema_compiler/cpp_bundle_generator.py b/tools/json_schema_compiler/cpp_bundle_generator.py
index bb7f041b95eee95b598dee6ad1820ae5c4a7e5ac..a6531b08ebceab3ef916ae0cd21cc4b40a3398b6 100644
--- a/tools/json_schema_compiler/cpp_bundle_generator.py
+++ b/tools/json_schema_compiler/cpp_bundle_generator.py
@@ -32,10 +32,12 @@ def _RemoveUnneededFields(schema):
# Return a copy so that we don't pollute the global api object, which may be
# used elsewhere.
ret = copy.deepcopy(schema)
- _RemoveKey(ret, "description", basestring)
- _RemoveKey(ret, "compiler_options", dict)
- _RemoveKey(ret, "nodoc", bool)
- _RemoveKey(ret, "noinline_doc", bool)
+ _RemoveKey(ret, 'description', basestring)
+ _RemoveKey(ret, 'compiler_options', dict)
+ _RemoveKey(ret, 'nodoc', bool)
+ _RemoveKey(ret, 'nocompile', bool)
+ _RemoveKey(ret, 'noinline_doc', bool)
+ _RemoveKey(ret, 'jsexterns', object)
return ret
def _PrefixSchemaWithNamespace(schema):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698