| Index: build/json_schema_bundle_compile.gypi
|
| diff --git a/build/json_schema_bundle_compile.gypi b/build/json_schema_bundle_compile.gypi
|
| index 7e712d7df49e45931305256e7342f98b02d3780e..26e13a7ea91cb30970ac6c9c85f528d7d73a1b89 100644
|
| --- a/build/json_schema_bundle_compile.gypi
|
| +++ b/build/json_schema_bundle_compile.gypi
|
| @@ -7,6 +7,11 @@
|
| # When including this gypi, the following variables must be set:
|
| # schema_files:
|
| # An array of json or idl files that comprise the api model.
|
| + # schema_include_rules (optional):
|
| + # An array of paths to include when searching for referenced objects,
|
| + # with the namespace separated by a :.
|
| + # Example:
|
| + # [ '/foo/bar:Foo::Bar::%(namespace)s' ]
|
| # cc_dir:
|
| # The directory to put the generated code in.
|
| # root_namespace:
|
| @@ -20,6 +25,7 @@
|
| 'api_gen_dir': '<(DEPTH)/tools/json_schema_compiler',
|
| 'api_gen': '<(api_gen_dir)/compiler.py',
|
| 'impl_dir%': 'chrome/browser/extensions/api',
|
| + 'schema_include_rules': [],
|
| },
|
| 'actions': [
|
| {
|
| @@ -54,6 +60,7 @@
|
| '--namespace=<(root_namespace)',
|
| '--generator=cpp-bundle',
|
| '--impl-dir=<(impl_dir)',
|
| + '--include-rules=<(schema_include_rules)',
|
| '<@(schema_files)',
|
| '<@(non_compiled_schema_files)',
|
| ],
|
|
|