Replace static_casts with to* functions.
[WebKit-https.git] / Source / WebCore / PlatformWinCE.cmake
1 list(APPEND WebCore_INCLUDE_DIRECTORIES
2     "${WEBCORE_DIR}/platform/wince"
3     "${WEBCORE_DIR}/platform/win"
4     "${WEBCORE_DIR}/platform/graphics/wince"
5     "${WEBCORE_DIR}/platform/graphics/win"
6     "${WEBCORE_DIR}/platform/network/win"
7     "${WEBCORE_DIR}/plugins/win"
8     "${WEBCORE_DIR}/page/wince"
9     "${WEBCORE_DIR}/page/win"
10     "${3RDPARTY_DIR}/libjpeg"
11     "${3RDPARTY_DIR}/libpng"
12     "${3RDPARTY_DIR}/libxml2/include"
13     "${3RDPARTY_DIR}/libxslt/include"
14     "${3RDPARTY_DIR}/sqlite"
15     "${3RDPARTY_DIR}/zlib"
16 )
17
18 list(APPEND WebCore_SOURCES
19     page/win/DragControllerWin.cpp
20     page/win/EventHandlerWin.cpp
21     page/wince/FrameWinCE.cpp
22
23     rendering/RenderThemeWince.cpp
24
25     plugins/PluginDatabase.cpp
26
27     plugins/win/PluginDatabaseWin.cpp
28
29     platform/Cursor.cpp
30     platform/LocalizedStrings.cpp
31     platform/PlatformStrategies.cpp
32     platform/ScrollAnimatorNone.cpp
33
34     platform/win/BitmapInfo.cpp
35     platform/win/ClipboardUtilitiesWin.cpp
36     platform/win/ClipboardWin.cpp
37     platform/win/ContextMenuItemWin.cpp
38     platform/win/ContextMenuWin.cpp
39     platform/win/CursorWin.cpp
40     platform/win/DragDataWin.cpp
41     platform/win/DragImageWin.cpp
42     platform/win/EditorWin.cpp
43     platform/win/EventLoopWin.cpp
44     platform/win/KeyEventWin.cpp
45     platform/win/LanguageWin.cpp
46     platform/win/LocalizedStringsWin.cpp
47     platform/win/MIMETypeRegistryWin.cpp
48     platform/win/PasteboardWin.cpp
49     platform/win/PopupMenuWin.cpp
50     platform/win/PlatformMouseEventWin.cpp
51     platform/win/PlatformScreenWin.cpp
52     platform/win/RunLoopWin.cpp
53     platform/win/SSLKeyGeneratorWin.cpp
54     platform/win/ScrollbarThemeWin.cpp
55     platform/win/SearchPopupMenuWin.cpp
56     platform/win/SharedBufferWin.cpp
57     platform/win/SharedTimerWin.cpp
58     platform/win/SoundWin.cpp
59     platform/win/SystemInfo.cpp
60     platform/win/SystemTimeWin.cpp
61     platform/win/WCDataObject.cpp
62     platform/win/WebCoreInstanceHandle.cpp
63     platform/win/WidgetWin.cpp
64     platform/win/WheelEventWin.cpp
65
66     platform/wince/FileSystemWince.cpp
67     platform/wince/KURLWince.cpp
68
69     platform/network/win/CredentialStorageWin.cpp
70     platform/network/win/CookieJarWin.cpp
71     platform/network/win/NetworkStateNotifierWin.cpp
72     platform/network/win/ProxyServerWin.cpp
73     platform/network/win/ResourceHandleWin.cpp
74     platform/network/win/SocketStreamHandleWin.cpp
75
76     platform/graphics/opentype/OpenTypeUtilities.cpp
77
78     platform/graphics/win/GDIExtras.cpp
79     platform/graphics/win/IconWin.cpp
80     platform/graphics/win/ImageWin.cpp
81     platform/graphics/win/IntPointWin.cpp
82     platform/graphics/win/IntRectWin.cpp
83     platform/graphics/win/IntSizeWin.cpp
84
85     platform/graphics/wince/FontCacheWince.cpp
86     platform/graphics/wince/FontCustomPlatformData.cpp
87     platform/graphics/wince/FontPlatformData.cpp
88     platform/graphics/wince/FontWince.cpp
89     platform/graphics/wince/GlyphPageTreeNodeWince.cpp
90     platform/graphics/wince/GradientWince.cpp
91     platform/graphics/wince/GraphicsContextWince.cpp
92     platform/graphics/wince/ImageBufferWince.cpp
93     platform/graphics/wince/ImageWinCE.cpp
94     platform/graphics/wince/PathWince.cpp
95     platform/graphics/wince/PlatformPathWince.cpp
96     platform/graphics/wince/SharedBitmap.cpp
97     platform/graphics/wince/SimpleFontDataWince.cpp
98
99     platform/text/LocaleNone.cpp
100     platform/text/TextEncodingDetectorNone.cpp
101
102     platform/text/wchar/TextBreakIteratorWchar.cpp
103
104     platform/text/win/TextCodecWin.cpp
105 )
106
107 list(APPEND WebCore_LIBRARIES
108     libjpeg
109     libpng
110     libxml2
111     libxslt
112     sqlite
113     crypt32
114     iphlpapi
115     wininet
116 )
117
118
119 if (ENABLE_NETSCAPE_PLUGIN_API)
120     list(APPEND WebCore_SOURCES
121         plugins/win/PluginMessageThrottlerWin.cpp
122         plugins/win/PluginPackageWin.cpp
123         plugins/win/PluginViewWin.cpp
124         plugins/PluginPackage.cpp
125         plugins/PluginView.cpp
126     )
127 else ()
128     list(APPEND WebCore_SOURCES
129         plugins/PluginPackage.cpp
130         plugins/PluginPackageNone.cpp
131         plugins/PluginViewNone.cpp
132     )
133 endif ()