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

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

Issue 149163005: Work on GN iOS build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/command_gyp.cc ('k') | tools/gn/gyp_binary_target_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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_GYP_BINARY_TARGET_WRITER_H_ 5 #ifndef TOOLS_GN_GYP_BINARY_TARGET_WRITER_H_
6 #define TOOLS_GN_GYP_BINARY_TARGET_WRITER_H_ 6 #define TOOLS_GN_GYP_BINARY_TARGET_WRITER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // (rather than compiler flags). 56 // (rather than compiler flags).
57 void WriteVCFlags(Flags& flags, int indent); 57 void WriteVCFlags(Flags& flags, int indent);
58 void WriteMacFlags(Flags& flags, int indent); 58 void WriteMacFlags(Flags& flags, int indent);
59 59
60 // Writes the Linux compiler and linker flags. The first version does the 60 // Writes the Linux compiler and linker flags. The first version does the
61 // flags for the given target, the second version takes a pregenerted list of 61 // flags for the given target, the second version takes a pregenerted list of
62 // flags. 62 // flags.
63 void WriteLinuxFlagsForTarget(const Target* target, int indent); 63 void WriteLinuxFlagsForTarget(const Target* target, int indent);
64 void WriteLinuxFlags(const Flags& flags, int indent); 64 void WriteLinuxFlags(const Flags& flags, int indent);
65 65
66 // Writes out the given target and optional host flags. This will insert a
67 // target conditionn if there is a host build.
68 void WriteMacTargetAndHostFlags(const BuilderRecord* target,
69 const BuilderRecord* host,
70 int indent);
71
66 // Shared helpers for writing specific parts of GYP files. 72 // Shared helpers for writing specific parts of GYP files.
67 void WriteSources(const Target* target, int indent); 73 void WriteSources(const Target* target, int indent);
68 void WriteDeps(const Target* target, int indent); 74 void WriteDeps(const Target* target, int indent);
69 void WriteIncludeDirs(const Flags& flags, int indent); 75 void WriteIncludeDirs(const Flags& flags, int indent);
70 void WriteDirectDependentSettings(int indent); 76 void WriteDirectDependentSettings(int indent);
71 void WriteAllDependentSettings(int indent); 77 void WriteAllDependentSettings(int indent);
72 78
73 // Writes out the given flags and such from all configs in the given list. 79 // Writes out the given flags and such from all configs in the given list.
74 void WriteSettingsFromConfigList(const std::vector<const Config*>& configs, 80 void WriteSettingsFromConfigList(const std::vector<const Config*>& configs,
75 int indent); 81 int indent);
(...skipping 10 matching lines...) Expand all
86 int indent); 92 int indent);
87 93
88 // All associated targets. 94 // All associated targets.
89 TargetGroup group_; 95 TargetGroup group_;
90 96
91 DISALLOW_COPY_AND_ASSIGN(GypBinaryTargetWriter); 97 DISALLOW_COPY_AND_ASSIGN(GypBinaryTargetWriter);
92 }; 98 };
93 99
94 #endif // TOOLS_GN_GYP_BINARY_TARGET_WRITER_H_ 100 #endif // TOOLS_GN_GYP_BINARY_TARGET_WRITER_H_
95 101
OLDNEW
« no previous file with comments | « tools/gn/command_gyp.cc ('k') | tools/gn/gyp_binary_target_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698