summaryrefslogtreecommitdiffstats
path: root/build/json_schema_compile.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/json_schema_compile.gypi')
-rw-r--r--build/json_schema_compile.gypi12
1 files changed, 9 insertions, 3 deletions
diff --git a/build/json_schema_compile.gypi b/build/json_schema_compile.gypi
index 1f94b46..d164748 100644
--- a/build/json_schema_compile.gypi
+++ b/build/json_schema_compile.gypi
@@ -5,9 +5,15 @@
{
'variables': {
# When including this gypi, the following variables must be set:
- # 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
+ # schema_files:
+ # An array of json or idl files that comprise the api model.
+ # cc_dir:
+ # The directory to put the generated code in.
+ # root_namespace:
+ # A Python string substituion pattern used to generate the C++
+ # namespace for each API. Use %(namespace)s to replace with the API
+ # namespace, like "toplevel::%(namespace)s_api".
+ #
# Functions and namespaces can be excluded by setting "nocompile" to true.
# The default root path of API implementation sources is
# chrome/browser/extensions/api and can be overridden by setting "impl_dir".