diff options
author | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 04:05:55 +0000 |
---|---|---|
committer | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 04:05:55 +0000 |
commit | 3044046b89190e30dedbfe43b8b021ed44a85e5d (patch) | |
tree | 60cbaede9751a3d3e4532e15bdd6268dbac4dd48 /build/json_schema_bundle_compile.gypi | |
parent | b40ffe723a35565425c58c581144d7b697593c03 (diff) | |
download | chromium_src-3044046b89190e30dedbfe43b8b021ed44a85e5d.zip chromium_src-3044046b89190e30dedbfe43b8b021ed44a85e5d.tar.gz chromium_src-3044046b89190e30dedbfe43b8b021ed44a85e5d.tar.bz2 |
Run the JSON Schema Compiler's bundle compilation on JSON files. Previously it
was only run on IDL files. Clean up all the code which that simplifies.
TBR=isherman@chromium.org,battre@chromium.org,akalin@chromium.org
BUG=141318
Review URL: https://chromiumcodereview.appspot.com/11747025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/json_schema_bundle_compile.gypi')
-rw-r--r-- | build/json_schema_bundle_compile.gypi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/json_schema_bundle_compile.gypi b/build/json_schema_bundle_compile.gypi index ecefe41..11a6a28 100644 --- a/build/json_schema_bundle_compile.gypi +++ b/build/json_schema_bundle_compile.gypi @@ -5,7 +5,7 @@ { 'variables': { # When including this gypi, the following variables must be set: - # idl_schema_files: an array of idl files that comprise the api model. + # schema_files: an array of json or idl files that comprise the api model. # cc_dir: path to generated files # root_namespace: the C++ namespace that all generated files go under # Functions and namespaces can be excluded by setting "nocompile" to true. @@ -27,7 +27,7 @@ '<(api_gen_dir)/model.py', '<(api_gen_dir)/schema_bundle_generator.py', '<(api_gen_dir)/util_cc_helper.py', - '<@(idl_schema_files)', + '<@(schema_files)', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/generated_api.h', @@ -41,7 +41,7 @@ '--destdir=<(SHARED_INTERMEDIATE_DIR)', '--namespace=<(root_namespace)', '--bundle', - '<@(idl_schema_files)', + '<@(schema_files)', ], 'message': 'Generating C++ API bundle code', 'process_outputs_as_sources': 1, |