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

Unified Diff: tools/gn/visual_studio_writer.h

Issue 1723663006: GN: Fix Visual Studio project build command (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | tools/gn/visual_studio_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/visual_studio_writer.h
diff --git a/tools/gn/visual_studio_writer.h b/tools/gn/visual_studio_writer.h
index 040922054a0e210c7164ab9ea9f343a5d247a071..8ca92fb01a5a8748c317f5a232acb9984f698f30 100644
--- a/tools/gn/visual_studio_writer.h
+++ b/tools/gn/visual_studio_writer.h
@@ -11,6 +11,7 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
+#include "tools/gn/path_output.h"
namespace base {
class FilePath;
@@ -91,6 +92,8 @@ class VisualStudioWriter {
// and updates |root_folder_dir_|. Also sets |parent_folder| for |projects_|.
void ResolveSolutionFolders();
+ std::string GetNinjaTarget(const Target* target);
+
const BuildSettings* build_settings_;
// Toolset version.
@@ -121,6 +124,9 @@ class VisualStudioWriter {
// Semicolon-separated Windows SDK include directories.
std::string windows_kits_include_dirs_;
+ // Path formatter for ninja targets.
+ PathOutput ninja_path_output_;
+
DISALLOW_COPY_AND_ASSIGN(VisualStudioWriter);
};
« no previous file with comments | « no previous file | tools/gn/visual_studio_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698