Open audio/video sandbox services for minimal simulator
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 May 2018 23:00:19 +0000 (23:00 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 May 2018 23:00:19 +0000 (23:00 +0000)
https://bugs.webkit.org/show_bug.cgi?id=185217
<rdar://problem/39918909>

Reviewed by Per Arne Vollan.

* WebKit.xcodeproj/project.pbxproj:
* WebProcess/com.apple.WebProcess.sb.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231277 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

index 6e164cb..6ee4814 100644 (file)
@@ -1,3 +1,14 @@
+2018-05-02  Jer Noble  <jer.noble@apple.com>
+
+        Open audio/video sandbox services for minimal simulator
+        https://bugs.webkit.org/show_bug.cgi?id=185217
+        <rdar://problem/39918909>
+
+        Reviewed by Per Arne Vollan.
+
+        * WebKit.xcodeproj/project.pbxproj:
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2018-05-02  Daniel Bates  <dabates@apple.com>
 
         Cleanup NetworkResourceLoader::didReceiveResponse()
index a1bdba9..01df8f4 100644 (file)
 #endif
 )
 
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
+#if !PLATFORM(MAC) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
 (deny mach-lookup (xpc-service-name-prefix ""))
 (allow mach-lookup
     (xpc-service-name "com.apple.PerformanceAnalysis.animationperfd")
        (global-name "com.apple.SystemConfiguration.configd")
        (global-name "com.apple.SystemConfiguration.PPPController")
        (global-name "com.apple.audio.SystemSoundServer-OSX")
-#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
+#if !PLATFORM(MAC) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
        (global-name "com.apple.analyticsd")
        (global-name "com.apple.audio.AudioComponentRegistrar")
 #endif