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 d80616ebf01e3ffdfef946b60e36986109f6303d..c753fa3fb777179af37acf90307c675c3c278fc1 100644 |
--- a/tools/gn/gyp_binary_target_writer.cc |
+++ b/tools/gn/gyp_binary_target_writer.cc |
@@ -473,7 +473,7 @@ void GypBinaryTargetWriter::WriteMacFlags(const Target* target, |
// When writing an iOS "target" (not host) target, we set VALID_ARCHS |
// instead of ARCHS and always use this hardcoded value. This matches the |
// GYP build. |
- Indent(indent + kExtraIndent) << "'VALID_ARCHS': 'armv7 i386',\n"; |
+ Indent(indent + kExtraIndent) << "'VALID_ARCHS': ['armv7', 'i386'],\n"; |
// Tell XCode to target both iPhone and iPad. GN has no such concept. |
Indent(indent + kExtraIndent) << "'TARGETED_DEVICE_FAMILY': '1,2',\n"; |