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); |