[Win] Implement memoryFootprint for Windows
[WebKit-https.git] / Source / WTF / wtf / PlatformJSCOnly.cmake
index fc7321d..5d9249e 100644 (file)
@@ -17,6 +17,20 @@ else ()
     )
 endif ()
 
+if (WIN32)
+    list(APPEND WTF_SOURCES
+        win/MemoryFootprintWin.cpp
+    )
+else (APPLE)
+    list(APPEND WTF_SOURCES
+        cocoa/MemoryFootprintCocoa.cpp
+    )
+else ()
+    list(APPEND WTF_SOURCES
+        linux/MemoryFootprintLinux.cpp
+    )
+endif ()
+
 if (LOWERCASE_EVENT_LOOP_TYPE STREQUAL "glib")
     list(APPEND WTF_SOURCES
         glib/GRefPtr.cpp