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

Unified Diff: tools/gn/variables.cc

Issue 206813002: Remove GN GYP generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/variables.h ('k') | url/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/variables.cc
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc
index 8fac8406221360e62c0f3ef28404d70e3fc00d6f..be75593d6eb337e83b6b812b916d7f009c72c3b6 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -466,24 +466,6 @@ const char kDirectDependentConfigs_Help[] =
"\n"
" See also \"all_dependent_configs\".\n";
-const char kExternal[] = "external";
-const char kExternal_HelpShort[] =
- "external: [boolean] Declares a target as externally generated.";
-const char kExternal_Help[] =
- "external: Declares a target as externally generated.\n"
- "\n"
- " External targets are treated like normal targets as far as dependent\n"
- " targets are concerned, but do not actually have their .ninja file\n"
- " written to disk. This allows them to be generated by an external\n"
- " program (e.g. GYP).\n"
- "\n"
- " See also \"gn help gyp\".\n"
- "\n"
- "Example:\n"
- " static_library(\"foo\") {\n"
- " external = true\n"
- " }\n";
-
const char kForwardDependentConfigsFrom[] = "forward_dependent_configs_from";
const char kForwardDependentConfigsFrom_HelpShort[] =
"forward_dependent_configs_from: [label list] Forward dependent's configs.";
@@ -523,31 +505,6 @@ const char kForwardDependentConfigsFrom_Help[] =
" forward_dependent_configs_from = deps\n"
" }\n";
-const char kGypFile[] = "gyp_file";
-const char kGypFile_HelpShort[] =
- "gyp_file: [file name] Name of GYP file to write to in GYP mode.";
-const char kGypFile_Help[] =
- "gyp_file: Name of GYP file to write to in GYP mode.\n"
- "\n"
- " See \"gn help gyp\" for an overview of how this works.\n"
- "\n"
- " Tip: If all targets in a given BUILD.gn file should go in the same\n"
- " GYP file, just put gyp_file = \"foo\" at the top of the file and\n"
- " the variable will be in scope for all targets.\n";
-
-const char kGypHeader[] = "gyp_header";
-const char kGypHeader_HelpShort[] =
- "gyp_header: [string] Extra stuff to prepend to GYP files.";
-const char kGypHeader_Help[] =
- "gyp_header: Extra stuff to prepend to GYP files.\n"
- "\n"
- " A Python dictionary string. This will be inserted after the initial\n"
- " \"{\" in the GYP file. It is expected this is used to define the\n"
- " make_global_settings.\n"
- "\n"
- " This string should end in a comma to keep the python dictionary syntax\n"
- " valid when everything is concatenated.\n";
-
const char kHardDep[] = "hard_dep";
const char kHardDep_HelpShort[] =
"hard_dep: [boolean] Indicates a target should be built before dependees.";
@@ -837,10 +794,7 @@ const VariableInfoMap& GetTargetVariables() {
INSERT_VARIABLE(Depfile)
INSERT_VARIABLE(Deps)
INSERT_VARIABLE(DirectDependentConfigs)
- INSERT_VARIABLE(External)
INSERT_VARIABLE(ForwardDependentConfigsFrom)
- INSERT_VARIABLE(GypFile)
- INSERT_VARIABLE(GypHeader)
INSERT_VARIABLE(HardDep)
INSERT_VARIABLE(IncludeDirs)
INSERT_VARIABLE(Ldflags)
« no previous file with comments | « tools/gn/variables.h ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698