| Index: tools/gn/gyp_binary_target_writer.cc
|
| diff --git a/tools/gn/gyp_binary_target_writer.cc b/tools/gn/gyp_binary_target_writer.cc
|
| index eac09ee918c7973d372a98f0f691a84bf656aa1f..d80616ebf01e3ffdfef946b60e36986109f6303d 100644
|
| --- a/tools/gn/gyp_binary_target_writer.cc
|
| +++ b/tools/gn/gyp_binary_target_writer.cc
|
| @@ -483,8 +483,10 @@ void GypBinaryTargetWriter::WriteMacFlags(const Target* target,
|
| } else {
|
| Indent(indent + kExtraIndent) << "'SDKROOT': 'iphoneos',\n";
|
| std::string min_ver = GetIPhoneVersionMin(&flags.cflags);
|
| - if (!min_ver.empty())
|
| - Indent(indent + kExtraIndent) << "'IPHONEOS_DEPLOYMENT_TARGET': '',\n";
|
| + if (!min_ver.empty()) {
|
| + Indent(indent + kExtraIndent) << "'IPHONEOS_DEPLOYMENT_TARGET': '"
|
| + << min_ver << "',\n";
|
| + }
|
| }
|
| } else {
|
| // When doing regular Mac and "host" iOS (which look like regular Mac)
|
|
|