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

Unified Diff: build/json_schema_api.gni

Issue 1258273004: Annotate large GN targets for precompiled headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable Created 5 years, 5 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 | « build/config/compiler/BUILD.gn ('k') | build/precompile.h » ('j') | no next file with comments »
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 a2f308fcdc7a439aafd7726f55538484c33b0cfa..24867d11eaedce0bba7a7f2fb6aa0c437ba36787 100644
--- a/build/json_schema_api.gni
+++ b/build/json_schema_api.gni
@@ -47,6 +47,9 @@
# A list of schema files which should not be compiled, but which should still
# be processed for API bundle generation.
#
+# configs [optional]
+# Extra configs to apply to the compile step.
+#
# deps [optional]
# If any deps are specified they will be inherited by the static library
# target.
@@ -198,6 +201,9 @@ template("json_schema_api") {
lib_deps = []
lib_public_deps = []
lib_extra_configs = []
+ if (defined(invoker.configs)) {
+ lib_extra_configs += invoker.configs
+ }
if (schemas) {
lib_sources += get_target_outputs(":$schema_generator_name")
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/precompile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698