From 70e263e2fbd7c254a0bf462cd8e409a0102eec10 Mon Sep 17 00:00:00 2001 From: "dtseng@chromium.org" Date: Sun, 9 Feb 2014 10:45:09 +0000 Subject: Generate ax enums from idl. This cl lays the groundwork for sharing all ax enums between platfrom accessibility and extension accessibility. BUG= Review URL: https://codereview.chromium.org/143473003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249993 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/json_schema_compiler/idl_schema.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/json_schema_compiler/idl_schema.py') diff --git a/tools/json_schema_compiler/idl_schema.py b/tools/json_schema_compiler/idl_schema.py index 62d31ed..bc8b2bf 100644 --- a/tools/json_schema_compiler/idl_schema.py +++ b/tools/json_schema_compiler/idl_schema.py @@ -309,7 +309,8 @@ class Enum(object): 'description': self.description, 'type': 'string', 'enum': enum} - for property_name in ('inline_doc', 'noinline_doc', 'nodoc'): + for property_name in ( + 'inline_doc', 'noinline_doc', 'nodoc', 'cpp_omit_enum_type',): if self.node.GetProperty(property_name): result[property_name] = True if self.node.GetProperty('deprecated'): -- cgit v1.1