Bug 207436

Summary: Move JavaScriptCore related feature defines from FeatureDefines.xcconfig to PlatformEnableCocoa.h
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, darin, dbates, ews-watchlist, keith_miller, mark.lam, msaboff, saam, thorton, tsavell, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch darin: review+

Description Sam Weinig 2020-02-08 17:34:30 PST
Move JavaScriptCore related feature defines from FeatureDefines.xcconfig to PlatformEnableCocoa.h
Comment 1 Sam Weinig 2020-02-08 17:43:02 PST Comment hidden (obsolete)
Comment 2 Sam Weinig 2020-02-09 12:47:06 PST Comment hidden (obsolete)
Comment 3 Radar WebKit Bug Importer 2020-02-09 12:48:15 PST
<rdar://problem/59296762>
Comment 4 Truitt Savell 2020-02-10 09:27:05 PST Comment hidden (obsolete)
Comment 5 Sam Weinig 2020-03-05 19:18:58 PST Comment hidden (obsolete)
Comment 6 Sam Weinig 2020-03-06 17:22:54 PST
Created attachment 392815 [details]
Patch
Comment 7 Darin Adler 2020-03-06 19:01:28 PST
Comment on attachment 392815 [details]
Patch

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

So glad you are doing this. Really not happy with FeatureDefines.xcconfig and wondering if we need it at all.

> Source/WTF/wtf/PlatformEnableCocoa.h:255
> +#if !defined(ENABLE_FAST_JIT_PERMISSIONS) && CPU(ARM64) && !(OS(TVOS) || OS(WATCHOS)) && USE(APPLE_INTERNAL_SDK)

Looks good.

I wonder about PLATFORM(APPLETV) vs. OS(TVOS); I think I’d almost always prefer OS(TVOS), but PLATFORM(APPLETV) seems much more common.

I wonder about PLATFORM(WATCHOS) vs. OS(WATCHOS).
Comment 8 Sam Weinig 2020-03-07 11:35:46 PST
Committed r258076: <https://trac.webkit.org/changeset/258076>