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

Unified Diff: tools/gn/variables.cc

Issue 88813005: Support Mac frameworks in GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/secondary/base/BUILD.gn ('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 36537fc16543cc02c11164526c43c3c66c1191ec..f564231fd435d5f2d64f71b32c5ef69d936620fc 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -640,6 +640,13 @@ const char kLibs_Help[] =
" the \"lib_dirs\" so your library is found. If you need to specify\n"
" a path, you can use \"rebase_path\" to convert a path to be relative\n"
" to the build directory.\n"
+ "\n"
+ " When constructing the linker command, the \"lib_prefix\" attribute of\n"
+ " the linker tool in the current toolchain will be prepended to each\n"
+ " library. So your BUILD file should not specify the switch prefix\n"
+ " (like \"-l\"). On Mac, libraries ending in \".framework\" will be\n"
+ " special-cased: the switch \"-framework\" will be prepended instead of\n"
+ " the lib_prefix, and the \".framework\" suffix will be trimmed.\n"
COMMON_LIB_INHERITANCE_HELP
"\n"
"Examples:\n"
« no previous file with comments | « tools/gn/secondary/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698