summaryrefslogtreecommitdiffstats
path: root/build/mac
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 15:34:20 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 15:34:20 +0000
commitba1e578826f72e7c2a5f3d6cfa2e2c3a0a8927b9 (patch)
tree4b9bda94ff99947784e073d40e52821799e17ba9 /build/mac
parent56b0487f546c7f3f19f4c60e12a05f90a0df1022 (diff)
downloadchromium_src-ba1e578826f72e7c2a5f3d6cfa2e2c3a0a8927b9.zip
chromium_src-ba1e578826f72e7c2a5f3d6cfa2e2c3a0a8927b9.tar.gz
chromium_src-ba1e578826f72e7c2a5f3d6cfa2e2c3a0a8927b9.tar.bz2
Update the strip wrapper for Xcode 3.2.6.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6683001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/mac')
-rwxr-xr-xbuild/mac/strip_save_dsym4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/mac/strip_save_dsym b/build/mac/strip_save_dsym
index 3904c17..d99ee2e 100755
--- a/build/mac/strip_save_dsym
+++ b/build/mac/strip_save_dsym
@@ -121,11 +121,13 @@ def macho_uuids(macho):
# The UUID display format changed in the version of otool shipping
# with the Xcode 3.2.2 prerelease. The new format is traditional:
# uuid 4D7135B2-9C56-C5F5-5F49-A994258E0955
+ # and with Xcode 3.2.6, then line is indented one more space:
+ # uuid 4D7135B2-9C56-C5F5-5F49-A994258E0955
# The old format, from cctools-750 and older's otool, breaks the UUID
# up into a sequence of bytes:
# uuid 0x4d 0x71 0x35 0xb2 0x9c 0x56 0xc5 0xf5
# 0x5f 0x49 0xa9 0x94 0x25 0x8e 0x09 0x55
- new_uuid_match = re.match("^ uuid (.{8}-.{4}-.{4}-.{4}-.{12})$",
+ new_uuid_match = re.match("^ {3,4}uuid (.{8}-.{4}-.{4}-.{4}-.{12})$",
otool_line)
if new_uuid_match:
uuid = new_uuid_match.group(1)