Rename FontDescriptionFontDataCacheKey to FontDescriptionKey
[WebKit-https.git] / Source / WebCore / PlatformWin.cmake
1 list(APPEND WebCore_INCLUDE_DIRECTORIES
2     "${WEBCORE_DIR}/accessibility/win"
3     "${WEBCORE_DIR}/page/win"
4     "${WEBCORE_DIR}/platform/cf"
5     "${WEBCORE_DIR}/platform/cf/win"
6     "${WEBCORE_DIR}/platform/graphics/opentype"
7     "${WEBCORE_DIR}/platform/graphics/win"
8     "${WEBCORE_DIR}/platform/network/win"
9     "${WEBCORE_DIR}/platform/win"
10     "${WEBCORE_DIR}/plugins/win"
11 )
12
13 list(APPEND WebCore_SOURCES
14     accessibility/win/AccessibilityObjectWin.cpp
15
16     editing/win/EditorWin.cpp
17
18     html/HTMLSelectElementWin.cpp
19
20     page/win/DragControllerWin.cpp
21     page/win/EventHandlerWin.cpp
22     page/win/FrameWin.cpp
23
24     platform/Cursor.cpp
25     platform/LocalizedStrings.cpp
26     platform/PlatformStrategies.cpp
27     platform/VNodeTracker.cpp
28
29     platform/audio/PlatformMediaSessionManager.cpp
30
31     platform/graphics/opentype/OpenTypeUtilities.cpp
32
33     platform/graphics/win/DIBPixelData.cpp
34     platform/graphics/win/FontWin.cpp
35     platform/graphics/win/GraphicsContextWin.cpp
36     platform/graphics/win/IconWin.cpp
37     platform/graphics/win/ImageWin.cpp
38     platform/graphics/win/IntPointWin.cpp
39     platform/graphics/win/IntRectWin.cpp
40     platform/graphics/win/IntSizeWin.cpp
41     platform/graphics/win/SimpleFontDataWin.cpp
42
43     platform/network/win/NetworkStateNotifierWin.cpp
44
45     platform/win/BString.cpp
46     platform/win/BitmapInfo.cpp
47     platform/win/ClipboardUtilitiesWin.cpp
48     platform/win/ContextMenuItemWin.cpp
49     platform/win/ContextMenuWin.cpp
50     platform/win/CursorWin.cpp
51     platform/win/DefWndProcWindowClass.cpp
52     platform/win/DragDataWin.cpp
53     platform/win/DragImageWin.cpp
54     platform/win/EventLoopWin.cpp
55     platform/win/FileSystemWin.cpp
56     platform/win/GDIUtilities.cpp
57     platform/win/KeyEventWin.cpp
58     platform/win/LanguageWin.cpp
59     platform/win/LocalizedStringsWin.cpp
60     platform/win/LoggingWin.cpp
61     platform/win/MemoryPressureHandlerWin.cpp
62     platform/win/MIMETypeRegistryWin.cpp
63     platform/win/PasteboardWin.cpp
64     platform/win/PlatformMouseEventWin.cpp
65     platform/win/PlatformScreenWin.cpp
66     platform/win/PopupMenuWin.cpp
67     platform/win/SSLKeyGeneratorWin.cpp
68     platform/win/ScrollbarThemeWin.cpp
69     platform/win/SearchPopupMenuWin.cpp
70     platform/win/SharedBufferWin.cpp
71     platform/win/SharedTimerWin.cpp
72     platform/win/SoundWin.cpp
73     platform/win/SystemInfo.cpp
74     platform/win/WCDataObject.cpp
75     platform/win/WebCoreInstanceHandle.cpp
76     platform/win/WheelEventWin.cpp
77     platform/win/WidgetWin.cpp
78 )
79
80 list(APPEND WebCore_SOURCES
81     "${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreHeaderDetection.h"
82 )
83
84 set(WebCore_FORWARDING_HEADERS_DIRECTORIES
85     accessibility
86     bindings
87     bridge
88     css
89     dom
90     editing
91     history
92     html
93     inspector
94     loader
95     page
96     platform
97     plugins
98     rendering
99     storage
100     svg
101     websockets
102     workers
103     xml
104
105     Modules/geolocation
106     Modules/indexeddb
107     Modules/notifications
108     Modules/webdatabase
109
110     accessibility/win
111
112     bindings/generic
113     bindings/js
114
115     bridge/c
116     bridge/jsc
117
118     history/cf
119
120     html/forms
121     html/parser
122
123     loader/appcache
124     loader/archive
125     loader/cache
126     loader/icon
127
128     loader/archive/cf
129
130     page/animation
131     page/win
132
133     platform/animation
134     platform/cf
135     platform/graphics
136     platform/mock
137     platform/network
138     platform/sql
139     platform/text
140     platform/win
141
142     platform/cf/win
143
144     platform/graphics/opentype
145     platform/graphics/transforms
146     platform/graphics/win
147
148     platform/text/transcoder
149
150     rendering/style
151     rendering/svg
152
153     svg/animation
154     svg/graphics
155     svg/properties
156
157     svg/graphics/filters
158 )
159
160 if (${WTF_PLATFORM_WIN_CAIRO})
161     include(PlatformWinCairo.cmake)
162 else ()
163     include(PlatformAppleWin.cmake)
164 endif ()
165
166 WEBKIT_CREATE_FORWARDING_HEADERS(WebCore DIRECTORIES ${WebCore_FORWARDING_HEADERS_DIRECTORIES})
167
168 # FIXME: This should test if AVF headers are available.
169 # https://bugs.webkit.org/show_bug.cgi?id=135861
170 add_custom_command(
171     OUTPUT "${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreHeaderDetection.h"
172     WORKING_DIRECTORY "${DERIVED_SOURCES_WEBCORE_DIR}"
173     COMMAND echo /* Identifying AVFoundation Support */ > WebCoreHeaderDetection.h
174     VERBATIM)