summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 20:49:50 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 20:49:50 +0000
commit9dc4ca71ba8784d4576b2c14ad6fb7f6f66441e8 (patch)
treeab948ed21fb740cd2d03b1397b370e7988b2b886 /build
parentf395e98c293110cb7e2862a6cdb133ba74615f37 (diff)
downloadchromium_src-9dc4ca71ba8784d4576b2c14ad6fb7f6f66441e8.zip
chromium_src-9dc4ca71ba8784d4576b2c14ad6fb7f6f66441e8.tar.gz
chromium_src-9dc4ca71ba8784d4576b2c14ad6fb7f6f66441e8.tar.bz2
Add a missing [ that prevented strip_from_xcode from functioning properly with
GYP loadable_module-type targets (Xcode mh_bundle-type targets). BUG=0 TEST=NULL Review URL: http://codereview.chromium.org/2434003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48655 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/mac/strip_from_xcode2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/mac/strip_from_xcode b/build/mac/strip_from_xcode
index ac39aab..c26b9fb 100755
--- a/build/mac/strip_from_xcode
+++ b/build/mac/strip_from_xcode
@@ -28,7 +28,7 @@ if [ "${MACH_O_TYPE}" = "mh_execute" ] || \
# Strip everything (no special flags). No-op.
true
elif [ "${MACH_O_TYPE}" = "mh_dylib" ] || \
- "${MACH_O_TYPE}" = "mh_bundle" ]; then
+ [ "${MACH_O_TYPE}" = "mh_bundle" ]; then
# Strip debugging symbols and local symbols
FLAGS[${#FLAGS[@]}]=-S
FLAGS[${#FLAGS[@]}]=-x