Index: pylib/gyp/xcode_emulation.py |
diff --git a/pylib/gyp/xcode_emulation.py b/pylib/gyp/xcode_emulation.py |
index 16388c8e03c579653a0b952c28822d87c8e60880..72bb53a40dbb9fb2ce9cc9d18059da084802b204 100644 |
--- a/pylib/gyp/xcode_emulation.py |
+++ b/pylib/gyp/xcode_emulation.py |
@@ -215,6 +215,12 @@ class XcodeSettings(object): |
if test_key in self._Settings(): |
print 'Warning: Ignoring not yet implemented key "%s".' % test_key |
+ def IsBinaryOutputFormat(self, configname): |
+ default = "binary" if self.isIOS else "xml" |
+ format = self.xcode_settings[configname].get('INFOPLIST_OUTPUT_FORMAT', |
+ default) |
+ return format == "binary" |
+ |
def _IsBundle(self): |
return int(self.spec.get('mac_bundle', 0)) != 0 |