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

Unified Diff: tools/gn/variables.cc

Issue 1518663003: Make GN public configs apply libs to targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « tools/gn/target_unittest.cc ('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 3b1f7b194056b651e7ea6e6ff20892c13f215b1d..d79c3aa887defcdf0101ab393ca6099bd7c71b3b 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -861,6 +861,12 @@ const char kLdflags_Help[] =
" uniquified so each one is only passed once (the first instance of it\n" \
" will be the one used).\n"
+#define LIBS_AND_LIB_DIRS_ORDERING_HELP \
+ "\n" \
+ " For \"libs\" and \"lib_dirs\" only, the values propagated from\n" \
+ " dependencies (as described above) are applied last assuming they\n" \
+ " are not already in the list.\n"
+
const char kLibDirs[] = "lib_dirs";
const char kLibDirs_HelpShort[] =
"lib_dirs: [directory list] Additional library directories.";
@@ -874,6 +880,7 @@ const char kLibDirs_Help[] =
" will be treated as being relative to the current build file.\n"
COMMON_LIB_INHERITANCE_HELP
COMMON_ORDERING_HELP
+ LIBS_AND_LIB_DIRS_ORDERING_HELP
"\n"
"Example\n"
"\n"
@@ -906,6 +913,7 @@ const char kLibs_Help[] =
" links framework dependencies.\n"
COMMON_LIB_INHERITANCE_HELP
COMMON_ORDERING_HELP
+ LIBS_AND_LIB_DIRS_ORDERING_HELP
"\n"
"Examples\n"
"\n"
« no previous file with comments | « tools/gn/target_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698