Towards adding support to only build JavaScriptCore for the BlackBerry port using script Tools/Script/build-jsc, we need to extract the BlackBerry CMake arguments from build-webkit into a separate function so that we can call this function when passing the CMake arguments to webkitdirs::buildCMakeProjectOrExit() from within Tools/Script/build-{webkit, jsc}.
Created attachment 120124 [details] Patch
Created attachment 120198 [details] Patch Updated the patch to integrate with webkitdirs::cmakeBasedPortArguments() following the landing of the patch for bug #74983.
Attachment 120198 [details] did not pass style-queue: Failed to run "['Tools/Scripts/update-webkit']" exit_code: 9 Updating OpenSource It seems that I cannot create a rebase-apply directory, and I wonder if you are in the middle of patch application or another rebase. If that is not the case, please rm -fr /mnt/git/webkit-style-queue/.git/rebase-apply and run me again. I am stopping in case you still have something valuable there. rebase refs/remotes/origin/master: command returned error: 1 Died at Tools/Scripts/update-webkit line 158. If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 120198 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=120198&action=review Looks good. > Tools/Scripts/webkitdirs.pm:932 > + push @cxxFlags, "-Wl,-rpath-link," . File::Spec->catfile($stageUsrLib, "torch-webkit"); We do not have the torch-webkit directory anymore, this needs to be removed in a follow-up patch.
(In reply to comment #4) > > Tools/Scripts/webkitdirs.pm:932 > > + push @cxxFlags, "-Wl,-rpath-link," . File::Spec->catfile($stageUsrLib, "torch-webkit"); > > We do not have the torch-webkit directory anymore, this needs to be removed in a follow-up patch. Will do.
Committed r103461: <http://trac.webkit.org/changeset/103461>