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

Unified Diff: build/json_schema_compile.gypi

Issue 9309044: Supporting more APIs with json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: support for choices Created 8 years, 10 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 940e65cf3c9f6d7d32ab2b3c66000f9afca26df6..0e13ac4e163e0521536603c3c2fe2fbbb066dfca 100644
--- a/build/json_schema_compile.gypi
+++ b/build/json_schema_compile.gypi
@@ -8,6 +8,7 @@
# json_schema_files: an array of json 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.
'api_gen_dir': '<(DEPTH)/tools/json_schema_compiler',
'api_gen': '<(api_gen_dir)/compiler.py',
},
@@ -16,12 +17,15 @@
'rule_name': 'genapi',
'extension': 'json',
'inputs': [
+ '<(api_gen_dir)/cc_generator.py',
'<(api_gen_dir)/code.py',
'<(api_gen_dir)/compiler.py',
- '<(api_gen_dir)/model.py',
- '<(api_gen_dir)/cc_generator.py',
- '<(api_gen_dir)/h_generator.py',
'<(api_gen_dir)/cpp_type_generator.py',
+ '<(api_gen_dir)/h_generator.py',
+ '<(api_gen_dir)/model.py',
+ '<(api_gen_dir)/util.cc',
+ '<(api_gen_dir)/util.h',
+ '<(api_gen_dir)/util_cc_helper.py',
'<@(json_schema_files)',
],
'outputs': [
« no previous file with comments | « no previous file | chrome/browser/extensions/api/permissions/permissions_api.cc » ('j') | generated_files_will_not_submit/tabs.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698