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

Unified Diff: tools/gn/visual_studio_writer.cc

Issue 2858273002: GN: Fix single-file compilations in VS2017 projects (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/visual_studio_writer.cc
diff --git a/tools/gn/visual_studio_writer.cc b/tools/gn/visual_studio_writer.cc
index aa01d8217a6bcee876b3291c456efe7bb886910a..a498fb9f18a8c14eff0f8bad8f4603aa5814980e 100644
--- a/tools/gn/visual_studio_writer.cc
+++ b/tools/gn/visual_studio_writer.cc
@@ -435,6 +435,8 @@ bool VisualStudioWriter::WriteProjectFileContents(
globals->SubElement("RootNamespace")->Text(target->label().name());
globals->SubElement("IgnoreWarnCompileDuplicatedFilename")->Text("true");
globals->SubElement("PreferredToolArchitecture")->Text("x64");
+ globals->SubElement("WindowsTargetPlatformVersion")
+ ->Text(kWindowsKitsIncludeVersion);
}
project.SubElement(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698