summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/idl_schema.py
diff options
context:
space:
mode:
authorsashab@chromium.org <sashab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 01:29:31 +0000
committersashab@chromium.org <sashab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 01:29:31 +0000
commit32096af1d31370bc81358a3ea90498d38ef7ceb3 (patch)
treec4f695ae70ab018a7a5b926c49329cf21c84d635 /tools/json_schema_compiler/idl_schema.py
parent6d65ef66a053c717dcb0dad338fd886c986679b6 (diff)
downloadchromium_src-32096af1d31370bc81358a3ea90498d38ef7ceb3.zip
chromium_src-32096af1d31370bc81358a3ea90498d38ef7ceb3.tar.gz
chromium_src-32096af1d31370bc81358a3ea90498d38ef7ceb3.tar.bz2
Initial commit of the Dart Chrome Extension APIs generators
Modified json_schema_compiler to allow a -l option to specify the language. Also allowed for a -H option to specify a hooks file, which is currently only supported for Dart. Review URL: https://chromiumcodereview.appspot.com/12041098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler/idl_schema.py')
-rw-r--r--tools/json_schema_compiler/idl_schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/json_schema_compiler/idl_schema.py b/tools/json_schema_compiler/idl_schema.py
index d8b510f..8334e7e 100644
--- a/tools/json_schema_compiler/idl_schema.py
+++ b/tools/json_schema_compiler/idl_schema.py
@@ -150,7 +150,7 @@ class Member(object):
def process(self, callbacks):
properties = OrderedDict()
name = self.node.GetName()
- for property_name in ('OPTIONAL', 'nodoc', 'nocompile'):
+ for property_name in ('OPTIONAL', 'nodoc', 'nocompile', 'nodart'):
if self.node.GetProperty(property_name):
properties[property_name.lower()] = True
is_function = False