Bug 182275 - [WTF] Organize headers into platform directories
Summary: [WTF] Organize headers into platform directories
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-29 18:38 PST by Don Olmstead
Modified: 2018-01-30 11:58 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Don Olmstead 2018-01-29 18:38:55 PST
There are some headers that should be moved into platform specific directories rather than being in the root.

AutodrainedPool.h USE(FOUNDATION)
BlockObjCExceptions.h
BlockPtr.h - Includes <Block.h>
BlockStack.h - This an Apple thing too?
OSObjectPtr.h includes os/object.h
ObjcRuntimeExtras.h
ScheduledPair.h - Has COCOA and CF
UniStdExtras.h - Unix specific
WindowsExtras.h - Windows specific
Comment 1 Alex Christensen 2018-01-30 11:58:20 PST
BlockStack can probably be removed.  It doesn't appear to be used.
The rest are only used in the appropriate systems.  Some of them like AutodrainedPool are included in cross platform code but only do something meaningful on one platform.