Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: build/json_schema_compile.gypi

Issue 11747025: Run the JSON Schema Compiler's bundle compilation on JSON files. Previously it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ms release build Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/json_schema_compile.gypi
diff --git a/build/json_schema_compile.gypi b/build/json_schema_compile.gypi
index 6c8f69c5daf48a068d8159bed8613627bf11b665..3e7c7c041435546a58c070b25637748f29e45a3c 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',
« no previous file with comments | « build/json_schema_bundle_compile.gypi ('k') | chrome/browser/chromeos/extensions/file_browser_handler_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698