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

Side by Side Diff: tools/gn/visual_studio_writer.h

Issue 1570113002: Visual Studio generators for GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
brettw 2016/01/08 23:51:50 The current copyright guidance has no "(c)". (same
Tomasz Moniuszko 2016/01/21 10:50:03 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef TOOLS_GN_VISUAL_STUDIO_WRITER_H_
6 #define TOOLS_GN_VISUAL_STUDIO_WRITER_H_
7
8 #include <vector>
9
10 #include "base/macros.h"
11
12 class Builder;
13 class BuildSettings;
14 class Err;
15 struct ProjectConfiguration;
brettw 2016/01/08 23:51:50 I think this is too general a name to expose in th
Tomasz Moniuszko 2016/01/21 10:50:03 Done. ProjectConfiguration members are now a part
16 class Target;
17
18 class VisualStudioWriter {
19 public:
20 // On failure will populate |err| and return false.
21 static bool RunAndWriteFiles(const BuildSettings* build_settings,
22 Builder* builder,
23 Err* err);
24
25 private:
26 explicit VisualStudioWriter(const BuildSettings* build_settings);
27 ~VisualStudioWriter();
28
29 bool WriteProjectFile(const Target* target,
30 const ProjectConfiguration& config,
31 Err* err) const;
32 bool WriteSolutionFile(const std::vector<const Target*>& targets) const;
33
34 const BuildSettings* build_settings_;
35
36 DISALLOW_COPY_AND_ASSIGN(VisualStudioWriter);
37 };
38
39 #endif // TOOLS_GN_VISUAL_STUDIO_WRITER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698