summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-12-05 15:20:07 -0800
committerMike Morris <michael.patrick.morris@gmail.com>2015-12-07 15:50:30 -0800
commit959f47280e34fcb136bff8f8795098a03da29c46 (patch)
treee289909342e0b105b1ba4dc6902d5a430ad77e25
parentd467ae6e7867044b8d7b466776fb37089292c52b (diff)
downloadqtlocation-mapboxgl-959f47280e34fcb136bff8f8795098a03da29c46.tar.gz
[core] patch gyp to fix mac_bundle_resources
copy-bundle-resources defaults to not converting to binary
-rwxr-xr-xdeps/gyp/pylib/gyp/mac_tool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/gyp/pylib/gyp/mac_tool.py b/deps/gyp/pylib/gyp/mac_tool.py
index eeeaceb0c7..e146198b07 100755
--- a/deps/gyp/pylib/gyp/mac_tool.py
+++ b/deps/gyp/pylib/gyp/mac_tool.py
@@ -45,7 +45,7 @@ class MacTool(object):
"""Transforms a tool name like copy-info-plist to CopyInfoPlist"""
return name_string.title().replace('-', '')
- def ExecCopyBundleResource(self, source, dest, convert_to_binary):
+ def ExecCopyBundleResource(self, source, dest, convert_to_binary=False):
"""Copies a resource file to the bundle/Resources directory, performing any
necessary compilation on each resource."""
extension = os.path.splitext(source)[1].lower()
@@ -138,7 +138,7 @@ class MacTool(object):
else:
return None
- def ExecCopyInfoPlist(self, source, dest, convert_to_binary, *keys):
+ def ExecCopyInfoPlist(self, source, dest, convert_to_binary=False, *keys):
"""Copies the |source| Info.plist to the destination directory |dest|."""
# Read the source Info.plist into memory.
fd = open(source, 'r')