Title: [227230] trunk/Source/WTF
Revision
227230
Author
[email protected]
Date
2018-01-19 13:19:27 -0800 (Fri, 19 Jan 2018)

Log Message

Fix jsc-only build
https://bugs.webkit.org/show_bug.cgi?id=181874

Patch by Alex Christensen <[email protected]> on 2018-01-19
Reviewed by JF Bastien.

This makes "build-webkit --jsc-only" work on Mac!

* wtf/PlatformJSCOnly.cmake:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (227229 => 227230)


--- trunk/Source/WTF/ChangeLog	2018-01-19 21:15:55 UTC (rev 227229)
+++ trunk/Source/WTF/ChangeLog	2018-01-19 21:19:27 UTC (rev 227230)
@@ -1,3 +1,14 @@
+2018-01-19  Alex Christensen  <[email protected]>
+
+        Fix jsc-only build
+        https://bugs.webkit.org/show_bug.cgi?id=181874
+
+        Reviewed by JF Bastien.
+
+        This makes "build-webkit --jsc-only" work on Mac!
+
+        * wtf/PlatformJSCOnly.cmake:
+
 2018-01-19  Keith Miller  <[email protected]>
 
         HaveInternalSDK includes should be "#include?"

Modified: trunk/Source/WTF/wtf/PlatformJSCOnly.cmake (227229 => 227230)


--- trunk/Source/WTF/wtf/PlatformJSCOnly.cmake	2018-01-19 21:15:55 UTC (rev 227229)
+++ trunk/Source/WTF/wtf/PlatformJSCOnly.cmake	2018-01-19 21:19:27 UTC (rev 227230)
@@ -23,9 +23,25 @@
         win/MemoryFootprintWin.cpp
     )
 elseif (APPLE)
+    file(COPY mac/MachExceptions.defs DESTINATION ${DERIVED_SOURCES_WTF_DIR})
+    add_custom_command(
+        OUTPUT
+            ${DERIVED_SOURCES_WTF_DIR}/MachExceptionsServer.h
+            ${DERIVED_SOURCES_WTF_DIR}/mach_exc.h
+            ${DERIVED_SOURCES_WTF_DIR}/mach_excServer.c
+            ${DERIVED_SOURCES_WTF_DIR}/mach_excUser.c
+        MAIN_DEPENDENCY mac/MachExceptions.defs
+        WORKING_DIRECTORY ${DERIVED_SOURCES_WTF_DIR}
+        COMMAND mig -sheader MachExceptionsServer.h MachExceptions.defs
+        VERBATIM)
     list(APPEND WTF_SOURCES
         cocoa/MemoryFootprintCocoa.cpp
+        ${DERIVED_SOURCES_WTF_DIR}/mach_excServer.c
+        ${DERIVED_SOURCES_WTF_DIR}/mach_excUser.c
     )
+    list(APPEND WTF_INCLUDE_DIRECTORIES
+        ${DERIVED_SOURCES_WTF_DIR}
+    )
 else ()
     list(APPEND WTF_SOURCES
         linux/MemoryFootprintLinux.cpp
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to