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

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

Issue 608293002: GN Doc fix. Visibility default is public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 "\n" 925 "\n"
926 "Patterns\n" 926 "Patterns\n"
927 "\n" 927 "\n"
928 " See \"gn help label_pattern\" for more details on what types of\n" 928 " See \"gn help label_pattern\" for more details on what types of\n"
929 " patterns are supported. If a toolchain is specified, only targets\n" 929 " patterns are supported. If a toolchain is specified, only targets\n"
930 " in that toolchain will be matched. If a toolchain is not specified on\n" 930 " in that toolchain will be matched. If a toolchain is not specified on\n"
931 " a pattern, targets in all toolchains will be matched.\n" 931 " a pattern, targets in all toolchains will be matched.\n"
932 "\n" 932 "\n"
933 "Examples\n" 933 "Examples\n"
934 "\n" 934 "\n"
935 " Only targets in the current buildfile (\"private\", the default):\n" 935 " Only targets in the current buildfile (\"private\"):\n"
936 " visibility = [ \":*\" ]\n" 936 " visibility = [ \":*\" ]\n"
937 "\n" 937 "\n"
938 " No targets (used for targets that should be leaf nodes):\n" 938 " No targets (used for targets that should be leaf nodes):\n"
939 " visibility = []\n" 939 " visibility = []\n"
940 "\n" 940 "\n"
941 " Any target (\"public\"):\n" 941 " Any target (\"public\", the default):\n"
942 " visibility = [ \"*\" ]\n" 942 " visibility = [ \"*\" ]\n"
943 "\n" 943 "\n"
944 " All targets in the current directory and any subdirectory:\n" 944 " All targets in the current directory and any subdirectory:\n"
945 " visibility = [ \"./*\" ]\n" 945 " visibility = [ \"./*\" ]\n"
946 "\n" 946 "\n"
947 " Any target in \"//bar/BUILD.gn\":\n" 947 " Any target in \"//bar/BUILD.gn\":\n"
948 " visibility = [ \"//bar:*\" ]\n" 948 " visibility = [ \"//bar:*\" ]\n"
949 "\n" 949 "\n"
950 " Any target in \"//bar/\" or any subdirectory thereof:\n" 950 " Any target in \"//bar/\" or any subdirectory thereof:\n"
951 " visibility = [ \"//bar/*\"\n ]" 951 " visibility = [ \"//bar/*\"\n ]"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 INSERT_VARIABLE(Sources) 1026 INSERT_VARIABLE(Sources)
1027 INSERT_VARIABLE(Testonly) 1027 INSERT_VARIABLE(Testonly)
1028 INSERT_VARIABLE(Visibility) 1028 INSERT_VARIABLE(Visibility)
1029 } 1029 }
1030 return info_map; 1030 return info_map;
1031 } 1031 }
1032 1032
1033 #undef INSERT_VARIABLE 1033 #undef INSERT_VARIABLE
1034 1034
1035 } // namespace variables 1035 } // namespace variables
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698