Bug 135536 - [iOS] WebKit links against libraries it doesn’t use
Summary: [iOS] WebKit links against libraries it doesn’t use
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-08-01 21:56 PDT by mitz
Modified: 2014-08-01 23:07 PDT (History)
0 users

See Also:


Attachments
Stop linking against two unused libraries (2.20 KB, patch)
2014-08-01 22:15 PDT, mitz
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2014-08-01 21:56:27 PDT
<rdar://problem/17891752>

WebKit doesn’t use any symbols from MobileAsset.framework and libassertion_extension.dylib.
Comment 1 mitz 2014-08-01 22:15:41 PDT
Created attachment 235931 [details]
Stop linking against two unused libraries
Comment 2 Tim Horton 2014-08-01 22:22:33 PDT
Comment on attachment 235931 [details]
Stop linking against two unused libraries

View in context: https://bugs.webkit.org/attachment.cgi?id=235931&action=review

> Source/WebKit2/Configurations/WebKit.xcconfig:-33
> -FRAMEWORK_AND_LIBRARY_LDFLAGS_iphonesimulator = -lobjc -framework AssertionServices -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CorePDF -framework CoreText -framework Foundation -framework GraphicsServices -framework ImageIO -framework UIKit -framework OpenGLES -framework MobileAsset -framework MobileCoreServices -lMobileGestalt -lassertion_extension;

WebKitLegacy.xcconfig has MobileAsset as well; should it be removed from there?
Comment 3 mitz 2014-08-01 22:26:14 PDT
(In reply to comment #2)
> (From update of attachment 235931 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=235931&action=review
> 
> > Source/WebKit2/Configurations/WebKit.xcconfig:-33
> > -FRAMEWORK_AND_LIBRARY_LDFLAGS_iphonesimulator = -lobjc -framework AssertionServices -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CorePDF -framework CoreText -framework Foundation -framework GraphicsServices -framework ImageIO -framework UIKit -framework OpenGLES -framework MobileAsset -framework MobileCoreServices -lMobileGestalt -lassertion_extension;
> 
> WebKitLegacy.xcconfig has MobileAsset as well; should it be removed from there?

Good catch! I think it can be removed safely from there as well.
Comment 4 mitz 2014-08-01 23:07:31 PDT
Fixed in <http://trac.webkit.org/r171965>.