RESOLVED FIXED 139718
TestWebKitAPI should use a static lib to support both Mac and iOS cleanly
https://bugs.webkit.org/show_bug.cgi?id=139718
Summary TestWebKitAPI should use a static lib to support both Mac and iOS cleanly
Sam Weinig
Reported 2014-12-16 18:49:07 PST
TestWebKitAPI should use a static lib to support both Mac and iOS cleanly
Attachments
Patch (107.80 KB, patch)
2014-12-16 18:52 PST, Sam Weinig
no flags
Patch (107.25 KB, patch)
2014-12-16 19:03 PST, Sam Weinig
mrowe: review+
Sam Weinig
Comment 1 2014-12-16 18:52:19 PST
Mark Rowe (bdash)
Comment 2 2014-12-16 19:03:23 PST
Comment on attachment 243422 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243422&action=review > Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:30 > +// FIXME: This should not be built on iOS. Instead we should TestWebKitAPI.app. I think you're missing a word between "should" and "TestWebKitAPI.app". > Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:34 > + > +LD_RUNPATH_SEARCH_PATHS = "@loader_path/."; I don't see why this change would require that this be added if it wasn't already needed. > Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:308 > + 7CCE7E8A1A41144E00447C4C /* CopyFiles */ = { > + isa = PBXCopyFilesBuildPhase; > + buildActionMask = 2147483647; > + dstPath = "include/$(PRODUCT_NAME)"; > + dstSubfolderSpec = 16; > + files = ( > + ); > + runOnlyForDeploymentPostprocessing = 0; > + }; This Copy Files phase doesn't seem necessary.
Sam Weinig
Comment 3 2014-12-16 19:03:41 PST
Mark Rowe (bdash)
Comment 4 2014-12-16 19:04:39 PST
Comment on attachment 243423 [details] Patch One of my comments from the earlier patch still applies.
Sam Weinig
Comment 5 2014-12-16 20:01:57 PST
Fixed in r177434.
mitz
Comment 6 2015-07-17 19:56:28 PDT
Was there any follow-up to this? Is the static library used for anything other than linking the TestWebKitAPI executable? I see that people have kept adding tests directly to that target. Does that mean that those tests don’t run in iOS?
Sam Weinig
Comment 7 2015-07-18 11:33:48 PDT
(In reply to comment #6) > Was there any follow-up to this? Is the static library used for anything > other than linking the TestWebKitAPI executable? I see that people have kept > adding tests directly to that target. Does that mean that those tests don’t > run in iOS? No follow up yet. The plan was to add a .app for iOS device. I need to check with Simon if that is still necessary.
Note You need to log in before you can comment on or make changes to this bug.