Title: [284218] trunk/Tools
Revision
284218
Author
[email protected]
Date
2021-10-14 17:20:21 -0700 (Thu, 14 Oct 2021)

Log Message

Fix some iOS builds after r284203
https://bugs.webkit.org/show_bug.cgi?id=231718

* TestWebKitAPI/cocoa/DaemonTestUtilities.h:
* TestWebKitAPI/cocoa/DaemonTestUtilities.mm:
Linker couldn't find OSLaunchdJob.  It's only used on macOS, so only build it on macOS.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (284217 => 284218)


--- trunk/Tools/ChangeLog	2021-10-15 00:18:33 UTC (rev 284217)
+++ trunk/Tools/ChangeLog	2021-10-15 00:20:21 UTC (rev 284218)
@@ -1,5 +1,14 @@
 2021-10-14  Alex Christensen  <[email protected]>
 
+        Fix some iOS builds after r284203
+        https://bugs.webkit.org/show_bug.cgi?id=231718
+
+        * TestWebKitAPI/cocoa/DaemonTestUtilities.h:
+        * TestWebKitAPI/cocoa/DaemonTestUtilities.mm:
+        Linker couldn't find OSLaunchdJob.  It's only used on macOS, so only build it on macOS.
+
+2021-10-14  Alex Christensen  <[email protected]>
+
         Reduce memory use of AdAttributionDaemon
         https://bugs.webkit.org/show_bug.cgi?id=231523
 

Modified: trunk/Tools/TestWebKitAPI/cocoa/DaemonTestUtilities.h (284217 => 284218)


--- trunk/Tools/TestWebKitAPI/cocoa/DaemonTestUtilities.h	2021-10-15 00:18:33 UTC (rev 284217)
+++ trunk/Tools/TestWebKitAPI/cocoa/DaemonTestUtilities.h	2021-10-15 00:20:21 UTC (rev 284218)
@@ -35,10 +35,13 @@
 
 RetainPtr<NSURL> currentExecutableDirectory();
 
+// FIXME: Get this working in the iOS simulator.
+#if PLATFORM(MAC)
 #if HAVE(OS_LAUNCHD_JOB)
 void registerPlistWithLaunchD(RetainPtr<xpc_object_t>&&);
 #else
 void registerPlistWithLaunchD(RetainPtr<NSDictionary>&&, NSURL *tempDir);
 #endif
+#endif
 
 } // namespace TestWebKitAPI

Modified: trunk/Tools/TestWebKitAPI/cocoa/DaemonTestUtilities.mm (284217 => 284218)


--- trunk/Tools/TestWebKitAPI/cocoa/DaemonTestUtilities.mm	2021-10-15 00:18:33 UTC (rev 284217)
+++ trunk/Tools/TestWebKitAPI/cocoa/DaemonTestUtilities.mm	2021-10-15 00:20:21 UTC (rev 284218)
@@ -48,6 +48,8 @@
     return [currentExecutableLocation() URLByDeletingLastPathComponent];
 }
 
+// FIXME: Get this working in the iOS simulator.
+#if PLATFORM(MAC)
 #if HAVE(OS_LAUNCHD_JOB)
 
 void registerPlistWithLaunchD(RetainPtr<xpc_object_t>&& plist)
@@ -75,5 +77,6 @@
 }
 
 #endif // HAVE(OS_LAUNCHD_JOB)
+#endif // PLATFORM(MAC)
 
 } // namespace TestWebKitAPI
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to