Commit 8b4f9604 authored by paroga@webkit.org's avatar paroga@webkit.org

[CMake] Remove conditional source file lists in WTF

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

Reviewed by Laszlo Gombos.

Use the #ifdef in the source file instead of conditional adding
files to the list of source files. This allows us to remove the
information of enabled features from CMake in next step.

* wtf/CMakeLists.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 667afd9c
2013-04-09 Patrick Gansterer <paroga@webkit.org>
[CMake] Remove conditional source file lists in WTF
https://bugs.webkit.org/show_bug.cgi?id=114250
Reviewed by Laszlo Gombos.
Use the #ifdef in the source file instead of conditional adding
files to the list of source files. This allows us to remove the
information of enabled features from CMake in next step.
* wtf/CMakeLists.txt:
2013-04-08 Ryosuke Niwa <rniwa@webkit.org>
Remove WTF.gyp/WTF.gypi
......
......@@ -188,6 +188,7 @@ set(WTF_SOURCES
SHA1.cpp
StackBounds.cpp
StringPrintStream.cpp
TCSystemAlloc.cpp
Threading.cpp
TypeTraits.cpp
WTFThreadData.cpp
......@@ -225,12 +226,6 @@ set(WTF_INCLUDE_DIRECTORIES
"${CMAKE_BINARY_DIR}"
)
if (NOT USE_SYSTEM_MALLOC)
list(APPEND WTF_SOURCES
TCSystemAlloc.cpp
)
endif ()
WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
WEBKIT_WRAP_SOURCELIST(${WTF_SOURCES})
......
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