Teach webkitperl how to figure out IOS versions from the SDK
authorbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Oct 2015 22:01:16 +0000 (22:01 +0000)
committerbburg@apple.com <bburg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Oct 2015 22:01:16 +0000 (22:01 +0000)
commitf8379bdacec51e77364ad30af57f7de4ee05ea2e
tree81771fbb5054fef60120c5a90b70a9da358e6e1c
parent7167f75d495d46eee84e671a6b285f153ca05e13
Teach webkitperl how to figure out IOS versions from the SDK
https://bugs.webkit.org/show_bug.cgi?id=149963

Reviewed by Daniel Bates.

It should be easier to check the major and minor version of IOS SDKs.

* Scripts/copy-webkitlibraries-to-product-directory: use iosVersion().
* Scripts/webkitdirs.pm:
(splitVersionString): Added.
(determineOSXVersion): Use splitVersionString.
(determineIOSVersion): Added. Look at the SDK version and make a tuple.
(iosVersion): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/copy-webkitlibraries-to-product-directory
Tools/Scripts/webkitdirs.pm