// cflags will be fixed up to account for things converted to VC settings
// (rather than compiler flags).
void WriteVCFlags(Flags& flags, int indent);
- void WriteMacFlags(Flags& flags, int indent);
+ void WriteMacFlags(const Target* target, Flags& flags, int indent);
// Writes the Linux compiler and linker flags. The first version does the
// flags for the given target, the second version takes a pregenerted list of
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);