Index: build/json_schema_api.gni |
diff --git a/build/json_schema_api.gni b/build/json_schema_api.gni |
index 0d6b3961b8c17cc8b55d44334bcb328eeaab21b5..dcdce1bcd4d8b9e4fc5228db68458aa9effebba3 100644 |
--- a/build/json_schema_api.gni |
+++ b/build/json_schema_api.gni |
@@ -139,6 +139,12 @@ template("json_schema_api") { |
uncompiled_sources = invoker.uncompiled_sources |
} |
+ uncompiled_bundle_schema_sources = [] |
lazyboy
2016/08/19 02:03:30
Do you need to describe what "uncompiled_bundle_sc
Devlin
2016/08/19 17:55:30
Done.
|
+ if (defined(invoker.uncompiled_bundle_schema_sources)) { |
+ uncompiled_bundle_schema_sources = |
+ invoker.uncompiled_bundle_schema_sources |
+ } |
+ |
bundle_generator_schema_name = target_name + "_bundle_generator_schema" |
action(bundle_generator_schema_name) { |
script = compiler_script |
@@ -155,7 +161,8 @@ template("json_schema_api") { |
"--generator=cpp-bundle-schema", |
"--include-rules=$schema_include_rules", |
] + rebase_path(invoker.sources, root_build_dir) + |
- rebase_path(uncompiled_sources, root_build_dir) |
+ rebase_path(uncompiled_sources, root_build_dir) + |
+ rebase_path(uncompiled_bundle_schema_sources, root_build_dir) |
} |
} |