mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update tools_gyp.patch.
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1025@641 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
Index: pylib/gyp/input.py
|
Index: pylib/gyp/input.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pylib/gyp/input.py (revision 1323)
|
--- pylib/gyp/input.py (revision 1185)
|
||||||
+++ pylib/gyp/input.py (working copy)
|
+++ pylib/gyp/input.py (working copy)
|
||||||
@@ -666,7 +666,8 @@
|
@@ -666,7 +666,8 @@
|
||||||
# that don't load quickly, this can be faster than
|
# that don't load quickly, this can be faster than
|
||||||
@ -14,23 +14,23 @@ Index: pylib/gyp/input.py
|
|||||||
py_module = __import__(parsed_contents[0])
|
py_module = __import__(parsed_contents[0])
|
||||||
Index: pylib/gyp/mac_tool.py
|
Index: pylib/gyp/mac_tool.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pylib/gyp/mac_tool.py (revision 1323)
|
--- pylib/gyp/mac_tool.py (revision 1185)
|
||||||
+++ pylib/gyp/mac_tool.py (working copy)
|
+++ pylib/gyp/mac_tool.py (working copy)
|
||||||
@@ -54,16 +54,8 @@
|
@@ -141,16 +141,8 @@
|
||||||
return self._CopyXIBFile(source, dest)
|
self._CopyXIBFile(source, dest)
|
||||||
elif extension == '.strings':
|
elif extension == '.strings':
|
||||||
self._CopyStringsFile(source, dest)
|
self._CopyStringsFile(source, dest)
|
||||||
- # TODO: Given that files with arbitrary extensions can be copied to the
|
- # TODO: Given that files with arbitrary extensions can be copied to the
|
||||||
- # bundle, we will want to get rid of this whitelist eventually.
|
- # bundle, we will want to get rid of this whitelist eventually.
|
||||||
- elif extension in [
|
- elif extension in [
|
||||||
- '.icns', '.manifest', '.pak', '.pdf', '.png', '.sb', '.sh',
|
- '.icns', '.manifest', '.pak', '.pdf', '.png', '.sb', '.sh',
|
||||||
- '.ttf', '.sdef']:
|
- '.ttf', '.sdef']:
|
||||||
- shutil.copyfile(source, dest)
|
- shutil.copyfile(source, dest)
|
||||||
else:
|
else:
|
||||||
- raise NotImplementedError(
|
- raise NotImplementedError(
|
||||||
- "Don't know how to copy bundle resources of type %s while copying "
|
- "Don't know how to copy bundle resources of type %s while copying "
|
||||||
- "%s to %s)" % (extension, source, dest))
|
- "%s to %s)" % (extension, source, dest))
|
||||||
+ shutil.copyfile(source, dest)
|
+ shutil.copyfile(source, dest)
|
||||||
|
|
||||||
def _CopyXIBFile(self, source, dest):
|
def _CopyXIBFile(self, source, dest):
|
||||||
"""Compiles a XIB file with ibtool into a binary plist in the bundle."""
|
"""Compiles a XIB file with ibtool into a binary plist in the bundle."""
|
||||||
|
Reference in New Issue
Block a user