Index: chrome/tools/build/mac/verify_order |
diff --git a/chrome/tools/build/mac/verify_order b/chrome/tools/build/mac/verify_order |
index cfa4c5a28e30168d99c10c05001442bd02126daf..3d5d644a4c484afbcc1dd5941daf5332e81a87c8 100755 |
--- a/chrome/tools/build/mac/verify_order |
+++ b/chrome/tools/build/mac/verify_order |
@@ -12,8 +12,6 @@ |
# |
# This script can be used to verify that all of the global text symbols in |
# a Mach-O file are accounted for in an order file. |
-# |
-# Also check that the file does not depend on either of libstdc++ or libc++. |
if [ ${#} -ne 2 ] ; then |
echo "usage: ${0} LAST_SYMBOL MACH_O_FILE" >& 2 |
@@ -42,18 +40,4 @@ |
exit 1 |
fi |
-LIBS=$(otool -L "${MACH_O_FILE}") |
-if [ ${?} -ne 0 ] ; then |
- echo "${0}: failed to get libraries in ${MACH_O_FILE}" >& 2 |
- exit 1 |
-fi |
-if grep -Fq libstdc++ <<< ${LIBS} ; then |
- echo "${0}: ${MACH_O_FILE} depends on libstdc++" >& 2 |
- exit 1 |
-fi |
-if grep -Fq libc++ <<< ${LIBS} ; then |
- echo "${0}: ${MACH_O_FILE} depends on libc++" >& 2 |
- exit 1 |
-fi |
- |
exit 0 |