Title: [211606] trunk/Tools
Revision
211606
Author
a...@apple.com
Date
2017-02-02 16:09:08 -0800 (Thu, 02 Feb 2017)

Log Message

Remove check for SkipSafariExecutableEntitlementChecks
https://bugs.webkit.org/show_bug.cgi?id=167762
rdar://problem/22480673

Reviewed by Dan Bernstein.

* Scripts/webkitdirs.pm:
(safariPathFromSafariBundle):
(skipSafariExecutableEntitlementChecks): Deleted.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (211605 => 211606)


--- trunk/Tools/ChangeLog	2017-02-03 00:05:00 UTC (rev 211605)
+++ trunk/Tools/ChangeLog	2017-02-03 00:09:08 UTC (rev 211606)
@@ -1,3 +1,15 @@
+2017-02-02  Alexey Proskuryakov  <a...@apple.com>
+
+        Remove check for SkipSafariExecutableEntitlementChecks
+        https://bugs.webkit.org/show_bug.cgi?id=167762
+        rdar://problem/22480673
+
+        Reviewed by Dan Bernstein.
+
+        * Scripts/webkitdirs.pm:
+        (safariPathFromSafariBundle):
+        (skipSafariExecutableEntitlementChecks): Deleted.
+
 2017-02-02  Jonathan Bedard  <jbed...@apple.com>
 
         Undefined subroutine in svn-create-patch

Modified: trunk/Tools/Scripts/webkitdirs.pm (211605 => 211606)


--- trunk/Tools/Scripts/webkitdirs.pm	2017-02-03 00:05:00 UTC (rev 211605)
+++ trunk/Tools/Scripts/webkitdirs.pm	2017-02-03 00:09:08 UTC (rev 211606)
@@ -846,11 +846,6 @@
     $architecture = $passedArchitecture if $passedArchitecture;
 }
 
-sub skipSafariExecutableEntitlementChecks
-{
-    return `defaults read /Library/Preferences/org.webkit.BuildConfiguration SkipSafariExecutableEntitlementChecks 2>/dev/null` eq "1\n";
-}
-
 sub executableHasEntitlements
 {
     my $executablePath = shift;
@@ -864,9 +859,8 @@
     die "Safari path is only relevant on Apple Mac platform\n" unless isAppleMacWebKit();
 
     my $safariPath = "$safariBundle/Contents/MacOS/Safari";
-    return $safariPath if skipSafariExecutableEntitlementChecks();
+    my $safariForWebKitDevelopmentPath = "$safariBundle/Contents/MacOS/SafariForWebKitDevelopment";
 
-    my $safariForWebKitDevelopmentPath = "$safariBundle/Contents/MacOS/SafariForWebKitDevelopment";
     return $safariForWebKitDevelopmentPath if -f $safariForWebKitDevelopmentPath && executableHasEntitlements($safariPath);
 
     return $safariPath;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to