Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7218)

Unified Diff: build/mac/verify_no_objc.sh

Issue 47753003: Fix build for xcodebuild from Xcode 5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/mac/verify_no_objc.sh
diff --git a/build/mac/verify_no_objc.sh b/build/mac/verify_no_objc.sh
index 955f9befff27721c31c55bddf26c99b8c788ba3c..e18a5eafb0054259a79caa53132cbbd5c801fc1f 100755
--- a/build/mac/verify_no_objc.sh
+++ b/build/mac/verify_no_objc.sh
@@ -26,10 +26,9 @@
set -eu
-otool="${DEVELOPER_BIN_DIR:-/usr/bin}/otool"
executable="${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}"
-if "${otool}" -arch i386 -o "${executable}" | grep -q '^Contents.*section$'; \
+if xcrun otool -arch i386 -o "${executable}" | grep -q '^Contents.*section$'; \
then
echo "${0}: ${executable} has an __OBJC,__image_info section" 2>&1
exit 1
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698