diff options
author | sashab@chromium.org <sashab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-06 01:29:31 +0000 |
---|---|---|
committer | sashab@chromium.org <sashab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-06 01:29:31 +0000 |
commit | 32096af1d31370bc81358a3ea90498d38ef7ceb3 (patch) | |
tree | c4f695ae70ab018a7a5b926c49329cf21c84d635 /build/json_schema_compile.gypi | |
parent | 6d65ef66a053c717dcb0dad338fd886c986679b6 (diff) | |
download | chromium_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 'build/json_schema_compile.gypi')
-rw-r--r-- | build/json_schema_compile.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/json_schema_compile.gypi b/build/json_schema_compile.gypi index 218b1bd..4f1c295 100644 --- a/build/json_schema_compile.gypi +++ b/build/json_schema_compile.gypi @@ -21,6 +21,7 @@ '<(api_gen_dir)/cc_generator.py', '<(api_gen_dir)/code.py', '<(api_gen_dir)/compiler.py', + '<(api_gen_dir)/cpp_generator.py', '<(api_gen_dir)/cpp_type_generator.py', '<(api_gen_dir)/cpp_util.py', '<(api_gen_dir)/h_generator.py', @@ -45,6 +46,7 @@ '--root=<(DEPTH)', '--destdir=<(SHARED_INTERMEDIATE_DIR)', '--namespace=<(root_namespace)', + '--generator=cpp', ], 'message': 'Generating C++ code from <(RULE_INPUT_PATH) json files', 'process_outputs_as_sources': 1, @@ -57,6 +59,7 @@ '<(api_gen_dir)/cc_generator.py', '<(api_gen_dir)/code.py', '<(api_gen_dir)/compiler.py', + '<(api_gen_dir)/cpp_generator.py', '<(api_gen_dir)/cpp_type_generator.py', '<(api_gen_dir)/cpp_util.py', '<(api_gen_dir)/h_generator.py', @@ -81,6 +84,7 @@ '--root=<(DEPTH)', '--destdir=<(SHARED_INTERMEDIATE_DIR)', '--namespace=<(root_namespace)', + '--generator=cpp', ], 'message': 'Generating C++ code from <(RULE_INPUT_PATH) IDL files', 'process_outputs_as_sources': 1, |