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

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

Issue 1335313003: Replace instances of datadeps --> data_deps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make formatter recognize both datadeps and data_deps Created 5 years, 3 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/docs/reference.md ('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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 556
557 const char kDataDeps[] = "data_deps"; 557 const char kDataDeps[] = "data_deps";
558 const char kDataDeps_HelpShort[] = 558 const char kDataDeps_HelpShort[] =
559 "data_deps: [label list] Non-linked dependencies."; 559 "data_deps: [label list] Non-linked dependencies.";
560 const char kDataDeps_Help[] = 560 const char kDataDeps_Help[] =
561 "data_deps: Non-linked dependencies.\n" 561 "data_deps: Non-linked dependencies.\n"
562 "\n" 562 "\n"
563 " A list of target labels.\n" 563 " A list of target labels.\n"
564 "\n" 564 "\n"
565 " Specifies dependencies of a target that are not actually linked into\n" 565 " Specifies dependencies of a target that are not actually linked into\n"
566 " the current target. Such dependencies will built and will be available\n" 566 " the current target. Such dependencies will be built and will be\n"
567 " at runtime.\n" 567 " available at runtime.\n"
568 "\n" 568 "\n"
569 " This is normally used for things like plugins or helper programs that\n" 569 " This is normally used for things like plugins or helper programs that\n"
570 " a target needs at runtime.\n" 570 " a target needs at runtime.\n"
571 "\n" 571 "\n"
572 " See also \"gn help deps\" and \"gn help data\".\n" 572 " See also \"gn help deps\" and \"gn help data\".\n"
573 "\n" 573 "\n"
574 "Example:\n" 574 "Example:\n"
575 " executable(\"foo\") {\n" 575 " executable(\"foo\") {\n"
576 " deps = [ \"//base\" ]\n" 576 " deps = [ \"//base\" ]\n"
577 " data_deps = [ \"//plugins:my_runtime_plugin\" ]\n" 577 " data_deps = [ \"//plugins:my_runtime_plugin\" ]\n"
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 INSERT_VARIABLE(Sources) 1222 INSERT_VARIABLE(Sources)
1223 INSERT_VARIABLE(Testonly) 1223 INSERT_VARIABLE(Testonly)
1224 INSERT_VARIABLE(Visibility) 1224 INSERT_VARIABLE(Visibility)
1225 } 1225 }
1226 return info_map; 1226 return info_map;
1227 } 1227 }
1228 1228
1229 #undef INSERT_VARIABLE 1229 #undef INSERT_VARIABLE
1230 1230
1231 } // namespace variables 1231 } // namespace variables
OLDNEW
« no previous file with comments | « tools/gn/docs/reference.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698