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

Unified Diff: tools/gn/variables.cc

Issue 516703005: Remove built-in component and test targets from GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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') | no next file » | 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 5c67038b3d7db7d57d72a938038d87c1bb25c831..ccc5a004a1cad75df849ef349ce754e1bcd0fa84 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -8,25 +8,6 @@ namespace variables {
// Built-in variables ----------------------------------------------------------
-const char kComponentMode[] = "component_mode";
-const char kComponentMode_HelpShort[] =
- "component_mode: [string] Specifies the meaning of the component() call.";
-const char kComponentMode_Help[] =
- "component_mode: Specifies the meaning of the component() call.\n"
- "\n"
- " This value is looked up whenever a \"component\" target type is\n"
- " encountered. The value controls whether the given target is a shared\n"
- " or a static library.\n"
- "\n"
- " The initial value will be empty, which will cause a call to\n"
- " component() to throw an error. Typically this value will be set in the\n"
- " build config script.\n"
- "\n"
- "Possible values:\n"
- " - \"shared_library\"\n"
- " - \"source_set\"\n"
- " - \"static_library\"\n";
-
const char kCpuArch[] = "cpu_arch";
const char kCpuArch_HelpShort[] =
"cpu_arch: [string] Current processor architecture.";
@@ -845,7 +826,6 @@ const VariableInfoMap& GetBuiltinVariables() {
INSERT_VARIABLE(BuildCpuArch)
INSERT_VARIABLE(BuildOs)
INSERT_VARIABLE(CpuArch)
- INSERT_VARIABLE(ComponentMode)
INSERT_VARIABLE(CurrentToolchain)
INSERT_VARIABLE(DefaultToolchain)
INSERT_VARIABLE(Os)
« 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