diff options
author | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 02:10:11 +0000 |
---|---|---|
committer | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 02:10:11 +0000 |
commit | 4636c837d247f6fa7d4982160643f39d752c2ed5 (patch) | |
tree | db91cc6c57fd3e6f79a2c7d64ec553daabaa6e0d /build/json_schema_compile.gypi | |
parent | 0ccf9d61123b5f9494e313dd79db73b658239196 (diff) | |
download | chromium_src-4636c837d247f6fa7d4982160643f39d752c2ed5.zip chromium_src-4636c837d247f6fa7d4982160643f39d752c2ed5.tar.gz chromium_src-4636c837d247f6fa7d4982160643f39d752c2ed5.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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176015
Review URL: https://codereview.chromium.org/11747025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/json_schema_compile.gypi')
-rw-r--r-- | build/json_schema_compile.gypi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/json_schema_compile.gypi b/build/json_schema_compile.gypi index 6c8f69c..3e7c7c0 100644 --- a/build/json_schema_compile.gypi +++ b/build/json_schema_compile.gypi @@ -5,8 +5,7 @@ { 'variables': { # When including this gypi, the following variables must be set: - # json_schema_files: a list of json files that comprise the api model. - # idl_schema_files: a list of IDL files that comprise the api model. + # schema_files: a list 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. @@ -16,6 +15,7 @@ 'rules': [ { 'rule_name': 'genapi', + 'msvs_external_rule': 1, 'extension': 'json', 'inputs': [ '<(api_gen_dir)/any.cc', @@ -35,7 +35,7 @@ # TODO(calamity): uncomment this when gyp on windows behaves like other # platforms. List expansions of filepaths in inputs expand to different # things. - # '<@(json_schema_files)', + # '<@(schema_files)', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/<(RULE_INPUT_ROOT).cc', @@ -74,7 +74,7 @@ # TODO(calamity): uncomment this when gyp on windows behaves like other # platforms. List expansions of filepaths in inputs expand to different # things. - # '<@(idl_schema_files)', + # '<@(schema_files)', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/<(cc_dir)/<(RULE_INPUT_ROOT).cc', |