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) |