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

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

Issue 2057873002: [GN] Export include directories, defines and dialects to Xcode projects Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove preprocessor defines on individual files Created 4 years, 6 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
« no previous file with comments | « tools/gn/xcode_object.cc ('k') | tools/gn/xcode_writer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_GN_XCODE_WRITER_H_ 5 #ifndef TOOLS_GN_XCODE_WRITER_H_
6 #define TOOLS_GN_XCODE_WRITER_H_ 6 #define TOOLS_GN_XCODE_WRITER_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 15
16 class Builder; 16 class Builder;
17 class BuildSettings; 17 class BuildSettings;
18 class Err; 18 class Err;
19 class SourceDir; 19 class SourceDir;
20 class Target; 20 class Target;
21 21
22 using PBXAttributes = std::map<std::string, std::string>; 22 using PBXAttributes = std::multimap<std::string, std::string>;
23 class PBXProject; 23 class PBXProject;
24 24
25 namespace base { 25 namespace base {
26 class FilePath; 26 class FilePath;
27 } 27 }
28 28
29 class XcodeWriter { 29 class XcodeWriter {
30 public: 30 public:
31 enum TargetOsType { 31 enum TargetOsType {
32 WRITER_TARGET_OS_IOS, 32 WRITER_TARGET_OS_IOS,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void WriteWorkspaceContent(std::ostream& out); 93 void WriteWorkspaceContent(std::ostream& out);
94 void WriteProjectContent(std::ostream& out, PBXProject* project); 94 void WriteProjectContent(std::ostream& out, PBXProject* project);
95 95
96 std::string name_; 96 std::string name_;
97 std::vector<std::unique_ptr<PBXProject>> projects_; 97 std::vector<std::unique_ptr<PBXProject>> projects_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(XcodeWriter); 99 DISALLOW_COPY_AND_ASSIGN(XcodeWriter);
100 }; 100 };
101 101
102 #endif // TOOLS_GN_XCODE_WRITER_H_ 102 #endif // TOOLS_GN_XCODE_WRITER_H_
OLDNEW
« no previous file with comments | « tools/gn/xcode_object.cc ('k') | tools/gn/xcode_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698