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

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

Issue 2880093002: gn desc: printing public_deps without --all and --tree
Patch Set: fixing documentation indentation Created 3 years, 6 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 | « tools/gn/variables.h ('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 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1286 R"( 1286 R"(
1287 Examples 1287 Examples
1288 1288
1289 On Windows: 1289 On Windows:
1290 libs = [ "ctl3d.lib" ] 1290 libs = [ "ctl3d.lib" ]
1291 1291
1292 On Linux: 1292 On Linux:
1293 libs = [ "ld" ] 1293 libs = [ "ld" ]
1294 )"; 1294 )";
1295 1295
1296 const char kLinkedDeps[] = "linked_deps";
1297 const char kLinkedDeps_HelpShort[] =
1298 "linked_deps: [label list] Public and private dependencies.";
1299 const char kLinkedDeps_Help[] =
1300 R"(linked_deps: Public and private linked dependencies sorted in order
1301 applying.
1302
1303 A list of target labels.
1304
1305 Linked dependencies are pubblic and private (but not data) dependencies.
1306 )";
1307
1296 const char kOutputExtension[] = "output_extension"; 1308 const char kOutputExtension[] = "output_extension";
1297 const char kOutputExtension_HelpShort[] = 1309 const char kOutputExtension_HelpShort[] =
1298 "output_extension: [string] Value to use for the output's file extension."; 1310 "output_extension: [string] Value to use for the output's file extension.";
1299 const char kOutputExtension_Help[] = 1311 const char kOutputExtension_Help[] =
1300 R"(output_extension: Value to use for the output's file extension. 1312 R"(output_extension: Value to use for the output's file extension.
1301 1313
1302 Normally the file extension for a target is based on the target type and the 1314 Normally the file extension for a target is based on the target type and the
1303 operating system, but in rare cases you will need to override the name (for 1315 operating system, but in rare cases you will need to override the name (for
1304 example to use "libfreetype.so.6" instead of libfreetype.so on Linux). 1316 example to use "libfreetype.so.6" instead of libfreetype.so on Linux).
1305 1317
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
1934 INSERT_VARIABLE(Testonly) 1946 INSERT_VARIABLE(Testonly)
1935 INSERT_VARIABLE(Visibility) 1947 INSERT_VARIABLE(Visibility)
1936 INSERT_VARIABLE(WriteRuntimeDeps) 1948 INSERT_VARIABLE(WriteRuntimeDeps)
1937 } 1949 }
1938 return info_map; 1950 return info_map;
1939 } 1951 }
1940 1952
1941 #undef INSERT_VARIABLE 1953 #undef INSERT_VARIABLE
1942 1954
1943 } // namespace variables 1955 } // namespace variables
OLDNEW
« no previous file with comments | « tools/gn/variables.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698