Use xcrun to find path to nm for Mac port
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 May 2012 06:52:07 +0000 (06:52 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 May 2012 06:52:07 +0000 (06:52 +0000)
commitcbf07e78d6c275e117626cdaa346b30fc11c8910
tree0e17bbb621f9b8081552ac319f68a122b432375d
parentab4a199f8fc626abb52aa6730e24e91316ab1184
Use xcrun to find path to nm for Mac port
<http://webkit.org/b/87588>

Reviewed by Dan Bernstein.

* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.nm_command): Add. Tries to find a path for the nm
command using xcrun.  Falls back to returning 'nm'.
* Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitPort.nm_command): Add. Returns 'nm'.
(WebKitPort._webcore_symbols_string): Call self.nm_command().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@118621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/port/mac.py
Tools/Scripts/webkitpy/layout_tests/port/webkit.py