Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1478)

Unified Diff: build/json_schema_api.gni

Issue 2257003002: [Extensions] Generate all schema resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ready Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/BUILD.gn » ('j') | chrome/common/extensions/chrome_extensions_client.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
}
}
« no previous file with comments | « no previous file | chrome/BUILD.gn » ('j') | chrome/common/extensions/chrome_extensions_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698