Changeset 145574 in webkit
- Timestamp:
- Mar 12, 2013 12:43:41 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r145569 r145574 1 2013-03-12 Gavin Peters <gavinp@chromium.org> 2 3 [chromium] Use lipo(1) rather than file(1) to list library architectures. 4 https://bugs.webkit.org/show_bug.cgi?id=111147 5 6 Parsing file(1) output can be fragile; this patch replaces a use of file(1) to get 7 the architecture list of a library with an invocation of lipo(1), which should be more 8 stable. 9 10 Reviewed by Nico Weber. 11 12 No new tests, since adjust_visibility.sh doesn't have a test. 13 14 * WebCore.gyp/mac/adjust_visibility.sh: 15 1 16 2013-03-12 Viatcheslav Ostapenko <sl.ostapenko@samsung.com> 2 17 -
trunk/Source/WebCore/WebCore.gyp/mac/adjust_visibility.sh
r110790 r145574 56 56 # ar doesn't operate on fat files. Figure out what architectures are 57 57 # involved. 58 ARCHS=$( file "${INPUT}" | sed -Ene 's/^.*\(for architecture (.+)\):.*$/\1/p')58 ARCHS=$(lipo -info "${INPUT}" | sed -Ene 's/^.* are: (.+)/\1/p') 59 59 if [ -z "${ARCHS}" ] ; then 60 60 ARCHS=self
Note: See TracChangeset
for help on using the changeset viewer.