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

Unified Diff: tools/gn/variables.cc

Issue 2205693005: Add bundle_deps_filter to create_bundle targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« tools/gn/variables.h ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/variables.cc
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc
index 948495cf7037c4671bc52cba176482a778941e68..1fa3eebc029f43ab53072c30b6c475a5b81905c9 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -966,6 +966,18 @@ const char kDataDeps_Help[] =
" data_deps = [ \"//plugins:my_runtime_plugin\" ]\n"
" }\n";
+const char kDepsFilter[] = "deps_filter";
+const char kDepsFilter_HelpShort[] =
+ "deps_filter: [label list] A list of labels that must not be linked.";
+const char kDepsFilter_Help[] =
+ "deps_filter: [label list] A list of labels that must not be linked.\n"
brettw 2016/08/03 19:25:19 Your implementation takes a list of label patterns
+ "\n"
+ " A list of target labels.\n"
+ "\n"
+ " Specifies target that must be ignored when copying data into a bundle.\n"
brettw 2016/08/03 19:25:19 Can you fix the grammar here? I think you mean "sp
+ " Usually used to filter runtime data from an application extension (the\n"
+ " extension can use the runtime data packaged with the main app).\n";
+
const char kDefines[] = "defines";
const char kDefines_HelpShort[] =
"defines: [string list] C preprocessor defines.";
@@ -1831,6 +1843,7 @@ const VariableInfoMap& GetTargetVariables() {
INSERT_VARIABLE(Defines)
INSERT_VARIABLE(Depfile)
INSERT_VARIABLE(Deps)
+ INSERT_VARIABLE(DepsFilter)
INSERT_VARIABLE(IncludeDirs)
INSERT_VARIABLE(Inputs)
INSERT_VARIABLE(Ldflags)
« tools/gn/variables.h ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698