Index: build/json_schema_bundle_registration_compile.gypi |
diff --git a/build/json_schema_bundle_registration_compile.gypi b/build/json_schema_bundle_registration_compile.gypi |
index 8c5af4e8a029c9f4bbda95c36f7d28c965cca015..ead8d48aae26bfc1225da09b7ec624e68204b2ef 100644 |
--- a/build/json_schema_bundle_registration_compile.gypi |
+++ b/build/json_schema_bundle_registration_compile.gypi |
@@ -15,6 +15,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. |
'api_gen_dir': '<(DEPTH)/tools/json_schema_compiler', |
@@ -52,6 +56,7 @@ |
'--root=<(DEPTH)', |
'--destdir=<(SHARED_INTERMEDIATE_DIR)', |
'--namespace=<(root_namespace)', |
+ '--bundle-name=<(bundle_name)', |
'--generator=cpp-bundle-registration', |
'--impl-dir=<(impl_dir_)', |
'<@(schema_files)', |