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

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

Issue 1386783003: [GN]: Support for loadable modules (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit tests Created 5 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
« tools/gn/ninja_toolchain_writer.cc ('K') | « 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 "\n" 604 "\n"
605 " Only one console pool target can run at any one time in Ninja. Refer\n" 605 " Only one console pool target can run at any one time in Ninja. Refer\n"
606 " to the Ninja documentation on the console pool for more info.\n" 606 " to the Ninja documentation on the console pool for more info.\n"
607 "\n" 607 "\n"
608 "Example\n" 608 "Example\n"
609 "\n" 609 "\n"
610 " action(\"long_action_with_progress_logs\") {\n" 610 " action(\"long_action_with_progress_logs\") {\n"
611 " console = true\n" 611 " console = true\n"
612 " }\n"; 612 " }\n";
613 613
614 const char kDarwinBundle[] = "darwin_bundle";
615 const char kDarwinBundle_HelpShort[] =
616 "darwin_bundle: [boolean] Produce a bundle on Darwin platforms";
617 const char kDarwinBundle_Help[] =
618 "darwin_bundle: Produce an .app or .framework directory.\n"
619 "\n"
620 " Bundles on Darwin platforms are directories with standardized\n"
621 " hierarchical structures that hold executable code and the resources\n"
622 " used by that code.\n"
623 "\n"
624 "Example\n"
625 "\n"
626 " executable(\"combustible_lemons_app\") {\n"
627 " darwin_bundle = true\n"
628 " }\n";
629
614 const char kData[] = "data"; 630 const char kData[] = "data";
615 const char kData_HelpShort[] = 631 const char kData_HelpShort[] =
616 "data: [file list] Runtime data file dependencies."; 632 "data: [file list] Runtime data file dependencies.";
617 const char kData_Help[] = 633 const char kData_Help[] =
618 "data: Runtime data file dependencies.\n" 634 "data: Runtime data file dependencies.\n"
619 "\n" 635 "\n"
620 " Lists files or directories required to run the given target. These are\n" 636 " Lists files or directories required to run the given target. These are\n"
621 " typically data files or directories of data files. The paths are\n" 637 " typically data files or directories of data files. The paths are\n"
622 " interpreted as being relative to the current build file. Since these\n" 638 " interpreted as being relative to the current build file. Since these\n"
623 " are runtime dependencies, they do not affect which targets are built\n" 639 " are runtime dependencies, they do not affect which targets are built\n"
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 INSERT_VARIABLE(Sources) 1378 INSERT_VARIABLE(Sources)
1363 INSERT_VARIABLE(Testonly) 1379 INSERT_VARIABLE(Testonly)
1364 INSERT_VARIABLE(Visibility) 1380 INSERT_VARIABLE(Visibility)
1365 } 1381 }
1366 return info_map; 1382 return info_map;
1367 } 1383 }
1368 1384
1369 #undef INSERT_VARIABLE 1385 #undef INSERT_VARIABLE
1370 1386
1371 } // namespace variables 1387 } // namespace variables
OLDNEW
« tools/gn/ninja_toolchain_writer.cc ('K') | « tools/gn/variables.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698