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

Unified Diff: tools/gn/function_toolchain.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/copy_target_generator.cc ('k') | tools/gn/functions_target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/function_toolchain.cc
diff --git a/tools/gn/function_toolchain.cc b/tools/gn/function_toolchain.cc
index c05f3b2a10a3f34c18f9dee5009f2e971370b8bd..3d1a6552319d9d14acaf483625454b9c3e1c33fa 100644
--- a/tools/gn/function_toolchain.cc
+++ b/tools/gn/function_toolchain.cc
@@ -113,15 +113,6 @@ Value RunToolchain(Scope* scope,
if (err->has_error())
return Value();
- // Extract the gyp_header contents, if any.
- const Value* gyp_header_value =
- block_scope.GetValue(variables::kGypHeader, true);
- if (gyp_header_value) {
- if (!gyp_header_value->VerifyTypeIs(Value::STRING, err))
- return Value();
- toolchain->set_gyp_header(gyp_header_value->string_value());
- }
-
if (!block_scope.CheckForUnusedVars(err))
return Value();
« no previous file with comments | « tools/gn/copy_target_generator.cc ('k') | tools/gn/functions_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698