[Cocoa] Add a HAVE(AVKIT) and use it
rdar://problem/20459274
Created attachment 250494 [details] Patch
Comment on attachment 250494 [details] Patch r=me In the long term, we may not want to assume PLATFORM(IOS) is always defined when PLATFORM(WATCHOS) is defined, but this seems fine for now.
(In reply to comment #3) > Comment on attachment 250494 [details] > Patch > > r=me Thanks! > In the long term, we may not want to assume PLATFORM(IOS) is always defined > when PLATFORM(WATCHOS) is defined, but this seems fine for now. Yeah, I guess having PLATFORM(IOS) be true on Watch OS is a little like the old days of PLATFORM(MAC) being true on iOS. Ultimately we'd want a macro that represents all iOS-derived platforms, and another one that represents just iOS. Right now though, having PLATFORM(IOS) be true on Watch OS is a useful starting point.
Committed r182623: <http://trac.webkit.org/changeset/182623>