Title: [100701] trunk/Source/_javascript_Core
Revision
100701
Author
par...@webkit.org
Date
2011-11-17 16:47:21 -0800 (Thu, 17 Nov 2011)

Log Message

[CMake] Move FAST_MALLOC specific lines from Platform*.cmake to CMakeLists.txt
https://bugs.webkit.org/show_bug.cgi?id=72644

Reviewed by Brent Fulgham.

All ports need to do the same determination about fast malloc. Move the CMake code from
platform specific files into the generic one, so that additional ports can reuse it.

* wtf/CMakeLists.txt:
* wtf/PlatformEfl.cmake:
* wtf/PlatformWinCE.cmake:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (100700 => 100701)


--- trunk/Source/_javascript_Core/ChangeLog	2011-11-18 00:46:03 UTC (rev 100700)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-11-18 00:47:21 UTC (rev 100701)
@@ -1,3 +1,17 @@
+2011-11-17  Patrick Gansterer  <par...@webkit.org>
+
+        [CMake] Move FAST_MALLOC specific lines from Platform*.cmake to CMakeLists.txt
+        https://bugs.webkit.org/show_bug.cgi?id=72644
+
+        Reviewed by Brent Fulgham.
+
+        All ports need to do the same determination about fast malloc. Move the CMake code from
+        platform specific files into the generic one, so that additional ports can reuse it.
+
+        * wtf/CMakeLists.txt:
+        * wtf/PlatformEfl.cmake:
+        * wtf/PlatformWinCE.cmake:
+
 2011-11-17  Mark Hahnenberg  <mhahnenb...@apple.com>
 
         Add finalizer to JSActivation

Modified: trunk/Source/_javascript_Core/wtf/CMakeLists.txt (100700 => 100701)


--- trunk/Source/_javascript_Core/wtf/CMakeLists.txt	2011-11-18 00:46:03 UTC (rev 100700)
+++ trunk/Source/_javascript_Core/wtf/CMakeLists.txt	2011-11-18 00:47:21 UTC (rev 100701)
@@ -210,6 +210,16 @@
 SET(WTF_LIBRARIES
 )
 
+
+IF (ENABLE_FAST_MALLOC)
+    LIST(APPEND WTF_SOURCES
+        TCSystemAlloc.cpp
+    )
+ELSE ()
+    ADD_DEFINITIONS(-DUSE_SYSTEM_MALLOC=1)
+ENDIF()
+
+
 SET(WTF_PORT_FLAGS )
 INCLUDE_IF_EXISTS(${_javascript_CORE_DIR}/wtf/Platform${PORT}.cmake)
 

Modified: trunk/Source/_javascript_Core/wtf/PlatformEfl.cmake (100700 => 100701)


--- trunk/Source/_javascript_Core/wtf/PlatformEfl.cmake	2011-11-18 00:46:03 UTC (rev 100700)
+++ trunk/Source/_javascript_Core/wtf/PlatformEfl.cmake	2011-11-18 00:47:21 UTC (rev 100701)
@@ -1,11 +1,3 @@
-IF (ENABLE_FAST_MALLOC)
-  LIST(APPEND WTF_SOURCES
-    TCSystemAlloc.cpp
-  )
-ELSE ()
-  ADD_DEFINITIONS(-DUSE_SYSTEM_MALLOC=1)
-ENDIF()
-
 LIST(APPEND WTF_SOURCES
     efl/MainThreadEfl.cpp
     efl/OwnPtrEfl.cpp

Modified: trunk/Source/_javascript_Core/wtf/PlatformWinCE.cmake (100700 => 100701)


--- trunk/Source/_javascript_Core/wtf/PlatformWinCE.cmake	2011-11-18 00:46:03 UTC (rev 100700)
+++ trunk/Source/_javascript_Core/wtf/PlatformWinCE.cmake	2011-11-18 00:47:21 UTC (rev 100701)
@@ -8,7 +8,6 @@
 LIST(APPEND WTF_SOURCES
     NullPtr.cpp
     OSAllocatorWin.cpp
-    TCSystemAlloc.cpp
     ThreadingWin.cpp
     ThreadSpecificWin.cpp
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to