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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/command_gyp.cc ('k') | tools/gn/gyp_binary_target_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/gyp_binary_target_writer.h
diff --git a/tools/gn/gyp_binary_target_writer.h b/tools/gn/gyp_binary_target_writer.h
index 276abfbe4360bc592daccabee8a696cd9730a2dd..185ec91b1788e0489a09827af4613389ba4b566f 100644
--- a/tools/gn/gyp_binary_target_writer.h
+++ b/tools/gn/gyp_binary_target_writer.h
@@ -63,6 +63,12 @@ class GypBinaryTargetWriter : public GypTargetWriter {
void WriteLinuxFlagsForTarget(const Target* target, int indent);
void WriteLinuxFlags(const Flags& flags, int indent);
+ // Writes out the given target and optional host flags. This will insert a
+ // target conditionn if there is a host build.
+ void WriteMacTargetAndHostFlags(const BuilderRecord* target,
+ const BuilderRecord* host,
+ int indent);
+
// Shared helpers for writing specific parts of GYP files.
void WriteSources(const Target* target, int indent);
void WriteDeps(const Target* target, int indent);
« 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