Commit 0fff901b authored by paroga@webkit.org's avatar paroga@webkit.org

[CMake] Split out generic Windows files into its own file

https://bugs.webkit.org/show_bug.cgi?id=119514

Reviewed by Gyuyoung Kim.

This allows us to add smaller CMakeLists.txt files when
adding additional Windows ports.

.:

* Source/cmake/OptionsWinCE.cmake:
* Source/cmake/WebKitMacros.cmake:

Source/WebCore:

* PlatformWin.cmake: Copied from Source/WebCore/PlatformWinCE.cmake.
* PlatformWinCE.cmake:

Source/WTF:

* wtf/PlatformWin.cmake: Renamed from Source/WTF/wtf/PlatformWinCE.cmake.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a840a43b
2013-09-11 Patrick Gansterer <paroga@webkit.org>
[CMake] Split out generic Windows files into its own file
https://bugs.webkit.org/show_bug.cgi?id=119514
Reviewed by Gyuyoung Kim.
This allows us to add smaller CMakeLists.txt files when
adding additional Windows ports.
* Source/cmake/OptionsWinCE.cmake:
* Source/cmake/WebKitMacros.cmake:
2013-09-11 Alberto Garcia <berto@igalia.com>
autogen.sh: fix removal of autom4te.cache
......
2013-09-11 Patrick Gansterer <paroga@webkit.org>
[CMake] Split out generic Windows files into its own file
https://bugs.webkit.org/show_bug.cgi?id=119514
Reviewed by Gyuyoung Kim.
This allows us to add smaller CMakeLists.txt files when
adding additional Windows ports.
* wtf/PlatformWin.cmake: Renamed from Source/WTF/wtf/PlatformWinCE.cmake.
2013-09-10 Daniel Bates <dabates@apple.com>
[iOS] Upstream text autosizing
......
......@@ -4,6 +4,12 @@ list(APPEND WTF_SOURCES
win/MainThreadWin.cpp
)
list(APPEND WTF_LIBRARIES
mmtimer
)
if (WINCE)
list(APPEND WTF_LIBRARIES
mmtimer
)
else ()
list(APPEND WTF_LIBRARIES
winmm
)
endif ()
2013-09-11 Patrick Gansterer <paroga@webkit.org>
[CMake] Split out generic Windows files into its own file
https://bugs.webkit.org/show_bug.cgi?id=119514
Reviewed by Gyuyoung Kim.
This allows us to add smaller CMakeLists.txt files when
adding additional Windows ports.
* PlatformWin.cmake: Copied from Source/WebCore/PlatformWinCE.cmake.
* PlatformWinCE.cmake:
2013-09-11 Mario Sanchez Prada <mario.prada@samsung.com>
[GTK] Get rid of Pango/Gail dependencies in accessibility for ATK
list(APPEND WebCore_INCLUDE_DIRECTORIES
"${WEBCORE_DIR}/accessibility/win"
"${WEBCORE_DIR}/page/win"
"${WEBCORE_DIR}/platform/graphics/opentype"
"${WEBCORE_DIR}/platform/graphics/win"
"${WEBCORE_DIR}/platform/win"
"${WEBCORE_DIR}/plugins/win"
)
list(APPEND WebCore_SOURCES
accessibility/win/AccessibilityObjectWin.cpp
html/HTMLSelectElementWin.cpp
page/win/DragControllerWin.cpp
page/win/EventHandlerWin.cpp
page/win/FrameWin.cpp
platform/Cursor.cpp
platform/LocalizedStrings.cpp
platform/PlatformStrategies.cpp
platform/graphics/opentype/OpenTypeUtilities.cpp
platform/graphics/win/DIBPixelData.cpp
platform/graphics/win/GDIExtras.cpp
platform/graphics/win/IconWin.cpp
platform/graphics/win/ImageWin.cpp
platform/graphics/win/IntPointWin.cpp
platform/graphics/win/IntRectWin.cpp
platform/graphics/win/IntSizeWin.cpp
platform/network/win/NetworkStateNotifierWin.cpp
platform/win/BString.cpp
platform/win/BitmapInfo.cpp
platform/win/ClipboardUtilitiesWin.cpp
platform/win/ContextMenuItemWin.cpp
platform/win/ContextMenuWin.cpp
platform/win/CursorWin.cpp
platform/win/DefWndProcWindowClass.cpp
platform/win/DragDataWin.cpp
platform/win/DragImageWin.cpp
platform/win/EventLoopWin.cpp
platform/win/FileSystemWin.cpp
platform/win/KeyEventWin.cpp
platform/win/LanguageWin.cpp
platform/win/LocalizedStringsWin.cpp
platform/win/MIMETypeRegistryWin.cpp
platform/win/PasteboardWin.cpp
platform/win/PopupMenuWin.cpp
platform/win/PlatformMouseEventWin.cpp
platform/win/PlatformScreenWin.cpp
platform/win/RunLoopWin.cpp
platform/win/SSLKeyGeneratorWin.cpp
platform/win/ScrollbarThemeWin.cpp
platform/win/SearchPopupMenuWin.cpp
platform/win/SharedBufferWin.cpp
platform/win/SharedTimerWin.cpp
platform/win/SoundWin.cpp
platform/win/SystemInfo.cpp
platform/win/WCDataObject.cpp
platform/win/WebCoreInstanceHandle.cpp
platform/win/WidgetWin.cpp
platform/win/WheelEventWin.cpp
plugins/PluginDatabase.cpp
plugins/PluginPackage.cpp
plugins/win/PluginDatabaseWin.cpp
)
if (ENABLE_NETSCAPE_PLUGIN_API)
list(APPEND WebCore_SOURCES
plugins/PluginView.cpp
plugins/win/PluginMessageThrottlerWin.cpp
plugins/win/PluginPackageWin.cpp
plugins/win/PluginViewWin.cpp
)
else ()
list(APPEND WebCore_SOURCES
plugins/PluginPackageNone.cpp
plugins/PluginViewNone.cpp
)
endif ()
list(APPEND WebCore_INCLUDE_DIRECTORIES
"${WEBCORE_DIR}/accessibility/win"
"${WEBCORE_DIR}/platform/wince"
"${WEBCORE_DIR}/platform/win"
"${WEBCORE_DIR}/platform/graphics/wince"
"${WEBCORE_DIR}/platform/graphics/win"
"${WEBCORE_DIR}/platform/network/win"
"${WEBCORE_DIR}/plugins/win"
"${WEBCORE_DIR}/page/wince"
"${WEBCORE_DIR}/page/win"
"${3RDPARTY_DIR}/libjpeg"
"${3RDPARTY_DIR}/libpng"
"${3RDPARTY_DIR}/libxml2/include"
......@@ -17,64 +11,20 @@ list(APPEND WebCore_INCLUDE_DIRECTORIES
)
list(APPEND WebCore_SOURCES
accessibility/win/AccessibilityObjectWin.cpp
html/HTMLSelectElementWin.cpp
page/win/DragControllerWin.cpp
page/win/EventHandlerWin.cpp
page/win/FrameGdiWin.cpp
page/win/FrameWin.cpp
rendering/RenderThemeWince.cpp
plugins/win/PluginDatabaseWin.cpp
platform/Cursor.cpp
platform/LocalizedStrings.cpp
platform/ScrollAnimatorNone.cpp
platform/win/BitmapInfo.cpp
platform/win/ClipboardUtilitiesWin.cpp
platform/win/ContextMenuItemWin.cpp
platform/win/ContextMenuWin.cpp
platform/win/CursorWin.cpp
platform/win/DragDataWin.cpp
platform/win/DragImageWin.cpp
platform/win/EventLoopWin.cpp
platform/win/FileSystemWin.cpp
platform/win/KeyEventWin.cpp
platform/win/LanguageWin.cpp
platform/win/LocalizedStringsWin.cpp
platform/win/MIMETypeRegistryWin.cpp
platform/win/PasteboardWin.cpp
platform/win/PopupMenuWin.cpp
platform/win/PlatformMouseEventWin.cpp
platform/win/PlatformScreenWin.cpp
platform/win/RunLoopWin.cpp
platform/win/SSLKeyGeneratorWin.cpp
platform/win/ScrollbarThemeWin.cpp
platform/win/SearchPopupMenuWin.cpp
platform/win/SharedBufferWin.cpp
platform/win/SharedTimerWin.cpp
platform/win/SoundWin.cpp
platform/win/SystemInfo.cpp
platform/win/WCDataObject.cpp
platform/win/WebCoreInstanceHandle.cpp
platform/win/WidgetWin.cpp
platform/win/WheelEventWin.cpp
platform/network/NetworkStorageSessionStub.cpp
platform/network/win/CredentialStorageWin.cpp
platform/network/win/CookieJarWin.cpp
platform/network/win/NetworkStateNotifierWin.cpp
platform/network/win/ProxyServerWin.cpp
platform/network/win/ResourceHandleWin.cpp
platform/network/win/SocketStreamHandleWin.cpp
platform/graphics/opentype/OpenTypeUtilities.cpp
platform/graphics/win/DIBPixelData.cpp
platform/graphics/win/GDIExtras.cpp
platform/graphics/win/IconWin.cpp
......@@ -112,11 +62,3 @@ list(APPEND WebCore_LIBRARIES
iphlpapi
wininet
)
if (ENABLE_NETSCAPE_PLUGIN_API)
list(APPEND WebCore_SOURCES
plugins/win/PluginMessageThrottlerWin.cpp
plugins/win/PluginPackageWin.cpp
plugins/win/PluginViewWin.cpp
)
endif ()
include(OptionsWindows)
set(PORT_FALLBACK Win)
set(WTF_USE_WCHAR_UNICODE 1)
add_definitions(-D_CE_CRT_ALLOW_WIN_MINMAX)
......
......@@ -181,6 +181,9 @@ macro(MAKE_HASH_TOOLS _source)
endmacro()
macro(WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS)
if (PORT_FALLBACK)
INCLUDE_IF_EXISTS(${CMAKE_CURRENT_SOURCE_DIR}/Platform${PORT_FALLBACK}.cmake)
endif ()
INCLUDE_IF_EXISTS(${CMAKE_CURRENT_SOURCE_DIR}/Platform${PORT}.cmake)
endmacro()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment