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

Side by Side Diff: tools/gn/variables.cc

Issue 1431323003: Remove obsolete OS handling in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « tools/gn/settings.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "tools/gn/variables.h" 5 #include "tools/gn/variables.h"
6 6
7 namespace variables { 7 namespace variables {
8 8
9 // Built-in variables ---------------------------------------------------------- 9 // Built-in variables ----------------------------------------------------------
10 10
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 " the library include path. Unlike a normal list of files, they will be\n" 873 " the library include path. Unlike a normal list of files, they will be\n"
874 " passed to the linker unmodified rather than being treated as file\n" 874 " passed to the linker unmodified rather than being treated as file\n"
875 " names relative to the current build file. Generally you would set\n" 875 " names relative to the current build file. Generally you would set\n"
876 " the \"lib_dirs\" so your library is found. If you need to specify\n" 876 " the \"lib_dirs\" so your library is found. If you need to specify\n"
877 " a path, you can use \"rebase_path\" to convert a path to be relative\n" 877 " a path, you can use \"rebase_path\" to convert a path to be relative\n"
878 " to the build directory.\n" 878 " to the build directory.\n"
879 "\n" 879 "\n"
880 " When constructing the linker command, the \"lib_prefix\" attribute of\n" 880 " When constructing the linker command, the \"lib_prefix\" attribute of\n"
881 " the linker tool in the current toolchain will be prepended to each\n" 881 " the linker tool in the current toolchain will be prepended to each\n"
882 " library. So your BUILD file should not specify the switch prefix\n" 882 " library. So your BUILD file should not specify the switch prefix\n"
883 " (like \"-l\"). On Mac, libraries ending in \".framework\" will be\n" 883 " (like \"-l\").\n"
884 " special-cased: the switch \"-framework\" will be prepended instead of\n" 884 "\n"
885 " the lib_prefix, and the \".framework\" suffix will be trimmed.\n" 885 " Libraries ending in \".framework\" will be special-cased: the switch\n"
886 " \"-framework\" will be prepended instead of the lib_prefix, and the\n"
887 " \".framework\" suffix will be trimmed. This is to support the way Mac\n"
888 " links framework dependencies.\n"
886 COMMON_LIB_INHERITANCE_HELP 889 COMMON_LIB_INHERITANCE_HELP
887 COMMON_ORDERING_HELP 890 COMMON_ORDERING_HELP
888 "\n" 891 "\n"
889 "Examples\n" 892 "Examples\n"
890 "\n" 893 "\n"
891 " On Windows:\n" 894 " On Windows:\n"
892 " libs = [ \"ctl3d.lib\" ]\n" 895 " libs = [ \"ctl3d.lib\" ]\n"
893 " On Linux:\n" 896 " On Linux:\n"
894 " libs = [ \"ld\" ]\n"; 897 " libs = [ \"ld\" ]\n";
895 898
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
1402 INSERT_VARIABLE(Sources) 1405 INSERT_VARIABLE(Sources)
1403 INSERT_VARIABLE(Testonly) 1406 INSERT_VARIABLE(Testonly)
1404 INSERT_VARIABLE(Visibility) 1407 INSERT_VARIABLE(Visibility)
1405 } 1408 }
1406 return info_map; 1409 return info_map;
1407 } 1410 }
1408 1411
1409 #undef INSERT_VARIABLE 1412 #undef INSERT_VARIABLE
1410 1413
1411 } // namespace variables 1414 } // namespace variables
OLDNEW
« no previous file with comments | « tools/gn/settings.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698