Index: build/json_schema_bundle_compile.gypi |
diff --git a/build/json_schema_bundle_compile.gypi b/build/json_schema_bundle_compile.gypi |
index a3020136d3fee863ca9fac71fd4910b22d0893da..2101a89655522e8892eca448a4bb73fc738d1b41 100644 |
--- a/build/json_schema_bundle_compile.gypi |
+++ b/build/json_schema_bundle_compile.gypi |
@@ -18,6 +18,10 @@ |
# 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". |
+ # bundle_name: |
+ # A string to prepend to generated bundle class names, so that multiple |
+ # bundle rules can be used without conflicting. Only used with one of |
+ # the cpp-bundle generators. |
# |
# Functions and namespaces can be excluded by setting "nocompile" to true. |
# The default root path of API implementation sources is |
@@ -57,6 +61,7 @@ |
'--root=<(DEPTH)', |
'--destdir=<(SHARED_INTERMEDIATE_DIR)', |
'--namespace=<(root_namespace)', |
+ '--bundle-name=<(bundle_name)', |
'--generator=cpp-bundle-schema', |
'--include-rules=<(schema_include_rules)', |
'<@(schema_files)', |