| OLD | NEW |
| 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 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1319 const char kPrecompiledSource[] = "precompiled_source"; | 1319 const char kPrecompiledSource[] = "precompiled_source"; |
| 1320 const char kPrecompiledSource_HelpShort[] = | 1320 const char kPrecompiledSource_HelpShort[] = |
| 1321 "precompiled_source: [file name] Source file to precompile."; | 1321 "precompiled_source: [file name] Source file to precompile."; |
| 1322 const char kPrecompiledSource_Help[] = | 1322 const char kPrecompiledSource_Help[] = |
| 1323 "precompiled_source: [file name] Source file to precompile.\n" | 1323 "precompiled_source: [file name] Source file to precompile.\n" |
| 1324 "\n" | 1324 "\n" |
| 1325 " The source file that goes along with the precompiled_header when\n" | 1325 " The source file that goes along with the precompiled_header when\n" |
| 1326 " using \"msvc\"-style precompiled headers. It will be implicitly added\n" | 1326 " using \"msvc\"-style precompiled headers. It will be implicitly added\n" |
| 1327 " to the sources of the target. See \"gn help precompiled_header\".\n"; | 1327 " to the sources of the target. See \"gn help precompiled_header\".\n"; |
| 1328 | 1328 |
| 1329 const char kProductType[] = "product_type"; |
| 1330 const char kProductType_HelpShort[] = |
| 1331 "product_type: [string] Product type for Xcode projects."; |
| 1332 const char kProductType_Help[] = |
| 1333 "product_type: Product type for Xcode projects.\n" |
| 1334 "\n" |
| 1335 " Correspond to the type of the product of a create_bundle target. Only\n" |
| 1336 " meaningful to Xcode (used as part of the Xcode project generation).\n" |
| 1337 "\n" |
| 1338 " When generating Xcode project files, only create_bundle target with\n" |
| 1339 " a non-empty product_type will have a corresponding target in Xcode\n" |
| 1340 " project.\n"; |
| 1341 |
| 1329 const char kPublic[] = "public"; | 1342 const char kPublic[] = "public"; |
| 1330 const char kPublic_HelpShort[] = | 1343 const char kPublic_HelpShort[] = |
| 1331 "public: [file list] Declare public header files for a target."; | 1344 "public: [file list] Declare public header files for a target."; |
| 1332 const char kPublic_Help[] = | 1345 const char kPublic_Help[] = |
| 1333 "public: Declare public header files for a target.\n" | 1346 "public: Declare public header files for a target.\n" |
| 1334 "\n" | 1347 "\n" |
| 1335 " A list of files that other targets can include. These permissions are\n" | 1348 " A list of files that other targets can include. These permissions are\n" |
| 1336 " checked via the \"check\" command (see \"gn help check\").\n" | 1349 " checked via the \"check\" command (see \"gn help check\").\n" |
| 1337 "\n" | 1350 "\n" |
| 1338 " If no public files are declared, other targets (assuming they have\n" | 1351 " If no public files are declared, other targets (assuming they have\n" |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1691 INSERT_VARIABLE(Ldflags) | 1704 INSERT_VARIABLE(Ldflags) |
| 1692 INSERT_VARIABLE(Libs) | 1705 INSERT_VARIABLE(Libs) |
| 1693 INSERT_VARIABLE(LibDirs) | 1706 INSERT_VARIABLE(LibDirs) |
| 1694 INSERT_VARIABLE(OutputDir) | 1707 INSERT_VARIABLE(OutputDir) |
| 1695 INSERT_VARIABLE(OutputExtension) | 1708 INSERT_VARIABLE(OutputExtension) |
| 1696 INSERT_VARIABLE(OutputName) | 1709 INSERT_VARIABLE(OutputName) |
| 1697 INSERT_VARIABLE(OutputPrefixOverride) | 1710 INSERT_VARIABLE(OutputPrefixOverride) |
| 1698 INSERT_VARIABLE(Outputs) | 1711 INSERT_VARIABLE(Outputs) |
| 1699 INSERT_VARIABLE(PrecompiledHeader) | 1712 INSERT_VARIABLE(PrecompiledHeader) |
| 1700 INSERT_VARIABLE(PrecompiledSource) | 1713 INSERT_VARIABLE(PrecompiledSource) |
| 1714 INSERT_VARIABLE(ProductType) |
| 1701 INSERT_VARIABLE(Public) | 1715 INSERT_VARIABLE(Public) |
| 1702 INSERT_VARIABLE(PublicConfigs) | 1716 INSERT_VARIABLE(PublicConfigs) |
| 1703 INSERT_VARIABLE(PublicDeps) | 1717 INSERT_VARIABLE(PublicDeps) |
| 1704 INSERT_VARIABLE(ResponseFileContents) | 1718 INSERT_VARIABLE(ResponseFileContents) |
| 1705 INSERT_VARIABLE(Script) | 1719 INSERT_VARIABLE(Script) |
| 1706 INSERT_VARIABLE(Sources) | 1720 INSERT_VARIABLE(Sources) |
| 1707 INSERT_VARIABLE(Testonly) | 1721 INSERT_VARIABLE(Testonly) |
| 1708 INSERT_VARIABLE(Visibility) | 1722 INSERT_VARIABLE(Visibility) |
| 1709 INSERT_VARIABLE(WriteRuntimeDeps) | 1723 INSERT_VARIABLE(WriteRuntimeDeps) |
| 1710 } | 1724 } |
| 1711 return info_map; | 1725 return info_map; |
| 1712 } | 1726 } |
| 1713 | 1727 |
| 1714 #undef INSERT_VARIABLE | 1728 #undef INSERT_VARIABLE |
| 1715 | 1729 |
| 1716 } // namespace variables | 1730 } // namespace variables |
| OLD | NEW |