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

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

Issue 2060273002: [GN] Add support for code signing to "create_bundle" targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-strings-binary
Patch Set: Remove superfluous \n Created 4 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 " works and advice on how to pass a check in problematic cases.\n" 641 " works and advice on how to pass a check in problematic cases.\n"
642 "\n" 642 "\n"
643 "Example\n" 643 "Example\n"
644 "\n" 644 "\n"
645 " source_set(\"busted_includes\") {\n" 645 " source_set(\"busted_includes\") {\n"
646 " # This target's includes are messed up, exclude it from checking.\n" 646 " # This target's includes are messed up, exclude it from checking.\n"
647 " check_includes = false\n" 647 " check_includes = false\n"
648 " ...\n" 648 " ...\n"
649 " }\n"; 649 " }\n";
650 650
651 const char kCodeSigningArgs[] = "code_signing_args";
652 const char kCodeSigningArgs_HelpShort[] =
653 "code_signing_args: [string list] Arguments passed to code signing script.";
654 const char kCodeSigningArgs_Help[] =
655 "code_signing_args: [string list] Arguments passed to code signing "
656 "script.\n"
657 "\n"
658 " For create_bundle targets, code_signing_args is the list of arguments\n"
659 " to pass to the code signing script. Typically you would use source\n"
660 " expansion (see \"gn help source_expansion\") to insert the source file\n"
661 " names.\n"
662 "\n"
663 " See also \"gn help create_bundle\".\n";
664
665 const char kCodeSigningScript[] = "code_signing_script";
666 const char kCodeSigningScript_HelpShort[] =
667 "code_signing_script: [file name] Script for code signing.";
668 const char kCodeSigningScript_Help[] =
669 "code_signing_script: [file name] Script for code signing."
670 "\n"
671 " An absolute or buildfile-relative file name of a Python script to run\n"
672 " for a create_bundle target to perform code signing step.\n"
673 "\n"
674 " See also \"gn help create_bundle\".\n";
675
676 const char kCodeSigningSources[] = "code_signing_sources";
677 const char kCodeSigningSources_HelpShort[] =
678 "code_signing_sources: [file list] Sources for code signing step.";
679 const char kCodeSigningSources_Help[] =
680 "code_signing_sources: [file list] Sources for code signing step.\n"
681 "\n"
682 " A list of files used as input for code signing script step of a\n"
683 " create_bundle target. Non-absolute paths will be resolved relative to\n"
684 " the current build file.\n"
685 "\n"
686 " See also \"gn help create_bundle\".\n";
687
688 const char kCodeSigningOutputs[] = "code_signing_outputs";
689 const char kCodeSigningOutputs_HelpShort[] =
690 "code_signing_outputs: [file list] Output files for code signing step.";
691 const char kCodeSigningOutputs_Help[] =
692 "code_signing_outputs: [file list] Output files for code signing step.\n"
693 "\n"
694 " Outputs from the code signing step of a create_bundle target. Must\n"
695 " refer to files in the build directory.\n"
696 "\n"
697 " See also \"gn help create_bundle\".\n";
698
651 const char kCompleteStaticLib[] = "complete_static_lib"; 699 const char kCompleteStaticLib[] = "complete_static_lib";
652 const char kCompleteStaticLib_HelpShort[] = 700 const char kCompleteStaticLib_HelpShort[] =
653 "complete_static_lib: [boolean] Links all deps into a static library."; 701 "complete_static_lib: [boolean] Links all deps into a static library.";
654 const char kCompleteStaticLib_Help[] = 702 const char kCompleteStaticLib_Help[] =
655 "complete_static_lib: [boolean] Links all deps into a static library.\n" 703 "complete_static_lib: [boolean] Links all deps into a static library.\n"
656 "\n" 704 "\n"
657 " A static library normally doesn't include code from dependencies, but\n" 705 " A static library normally doesn't include code from dependencies, but\n"
658 " instead forwards the static libraries and source sets in its deps up\n" 706 " instead forwards the static libraries and source sets in its deps up\n"
659 " the dependency chain until a linkable target (an executable or shared\n" 707 " the dependency chain until a linkable target (an executable or shared\n"
660 " library) is reached. The final linkable target only links each static\n" 708 " library) is reached. The final linkable target only links each static\n"
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 INSERT_VARIABLE(BundleRootDir) 1739 INSERT_VARIABLE(BundleRootDir)
1692 INSERT_VARIABLE(BundleResourcesDir) 1740 INSERT_VARIABLE(BundleResourcesDir)
1693 INSERT_VARIABLE(BundleExecutableDir) 1741 INSERT_VARIABLE(BundleExecutableDir)
1694 INSERT_VARIABLE(BundlePlugInsDir) 1742 INSERT_VARIABLE(BundlePlugInsDir)
1695 INSERT_VARIABLE(Cflags) 1743 INSERT_VARIABLE(Cflags)
1696 INSERT_VARIABLE(CflagsC) 1744 INSERT_VARIABLE(CflagsC)
1697 INSERT_VARIABLE(CflagsCC) 1745 INSERT_VARIABLE(CflagsCC)
1698 INSERT_VARIABLE(CflagsObjC) 1746 INSERT_VARIABLE(CflagsObjC)
1699 INSERT_VARIABLE(CflagsObjCC) 1747 INSERT_VARIABLE(CflagsObjCC)
1700 INSERT_VARIABLE(CheckIncludes) 1748 INSERT_VARIABLE(CheckIncludes)
1749 INSERT_VARIABLE(CodeSigningArgs)
1750 INSERT_VARIABLE(CodeSigningScript)
1751 INSERT_VARIABLE(CodeSigningSources)
1752 INSERT_VARIABLE(CodeSigningOutputs)
1701 INSERT_VARIABLE(CompleteStaticLib) 1753 INSERT_VARIABLE(CompleteStaticLib)
1702 INSERT_VARIABLE(Configs) 1754 INSERT_VARIABLE(Configs)
1703 INSERT_VARIABLE(Console) 1755 INSERT_VARIABLE(Console)
1704 INSERT_VARIABLE(Data) 1756 INSERT_VARIABLE(Data)
1705 INSERT_VARIABLE(DataDeps) 1757 INSERT_VARIABLE(DataDeps)
1706 INSERT_VARIABLE(Defines) 1758 INSERT_VARIABLE(Defines)
1707 INSERT_VARIABLE(Depfile) 1759 INSERT_VARIABLE(Depfile)
1708 INSERT_VARIABLE(Deps) 1760 INSERT_VARIABLE(Deps)
1709 INSERT_VARIABLE(IncludeDirs) 1761 INSERT_VARIABLE(IncludeDirs)
1710 INSERT_VARIABLE(Inputs) 1762 INSERT_VARIABLE(Inputs)
(...skipping 17 matching lines...) Expand all
1728 INSERT_VARIABLE(Testonly) 1780 INSERT_VARIABLE(Testonly)
1729 INSERT_VARIABLE(Visibility) 1781 INSERT_VARIABLE(Visibility)
1730 INSERT_VARIABLE(WriteRuntimeDeps) 1782 INSERT_VARIABLE(WriteRuntimeDeps)
1731 } 1783 }
1732 return info_map; 1784 return info_map;
1733 } 1785 }
1734 1786
1735 #undef INSERT_VARIABLE 1787 #undef INSERT_VARIABLE
1736 1788
1737 } // namespace variables 1789 } // 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