Title: [260603] trunk/Tools
Revision
260603
Author
[email protected]
Date
2020-04-23 15:52:26 -0700 (Thu, 23 Apr 2020)

Log Message

DumpRenderTree should have the JIT entitlement on Mac
https://bugs.webkit.org/show_bug.cgi?id=210887
<rdar://problem/62228740>

Reviewed by Tim Horton.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/Configurations/Base.xcconfig:
* DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
* DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements: Added.
* DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:

Modified Paths

Added Paths

Diff

Modified: trunk/Tools/ChangeLog (260602 => 260603)


--- trunk/Tools/ChangeLog	2020-04-23 22:21:10 UTC (rev 260602)
+++ trunk/Tools/ChangeLog	2020-04-23 22:52:26 UTC (rev 260603)
@@ -1,3 +1,17 @@
+2020-04-23  Saam Barati  <[email protected]>
+
+        DumpRenderTree should have the JIT entitlement on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=210887
+        <rdar://problem/62228740>
+
+        Reviewed by Tim Horton.
+
+        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
+        * DumpRenderTree/mac/Configurations/Base.xcconfig:
+        * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
+        * DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements: Added.
+        * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
+
 2020-04-23  Kate Cheney  <[email protected]>
 
         All ITP database tables should reference the ObservedDomains table on DELETE CASCADE

Modified: trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj (260602 => 260603)


--- trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj	2020-04-23 22:21:10 UTC (rev 260602)
+++ trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj	2020-04-23 22:52:26 UTC (rev 260603)
@@ -323,6 +323,7 @@
 		5185F69F10714A57007AA393 /* HistoryDelegate.mm */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; name = HistoryDelegate.mm; path = mac/HistoryDelegate.mm; sourceTree = "<group>"; };
 		51CACBD715D96FD000EB53A2 /* EvaluateJSWithinNPP_New.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = EvaluateJSWithinNPP_New.cpp; path = TestNetscapePlugIn/Tests/EvaluateJSWithinNPP_New.cpp; sourceTree = SOURCE_ROOT; };
 		520206CE1A0ADA5900AD5154 /* SetMuted.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SetMuted.cpp; sourceTree = "<group>"; };
+		520D64B12451023700D6391F /* DumpRenderTree.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = DumpRenderTree.entitlements; path = mac/Configurations/DumpRenderTree.entitlements; sourceTree = "<group>"; };
 		53CBB830134E42F3001CE6A4 /* CyclicRedundancyCheck.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CyclicRedundancyCheck.cpp; sourceTree = "<group>"; };
 		53CBB831134E42F3001CE6A4 /* CyclicRedundancyCheck.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CyclicRedundancyCheck.h; sourceTree = "<group>"; };
 		5DE8AE4313A2C15800D6A37D /* libWebCoreTestSupport.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libWebCoreTestSupport.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -829,6 +830,7 @@
 				BCB281EE0CFA713D007E533E /* Base.xcconfig */,
 				A16CD20D18907A7D0092363E /* BaseTarget.xcconfig */,
 				BCB282F40CFA7450007E533E /* DebugRelease.xcconfig */,
+				520D64B12451023700D6391F /* DumpRenderTree.entitlements */,
 				BCB281F00CFA713D007E533E /* DumpRenderTree.xcconfig */,
 				A19317FD18928738001C52B1 /* DumpRenderTreeApp.xcconfig */,
 				A134E5391890671C00901D06 /* DumpRenderTreeLibrary.xcconfig */,

Modified: trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig (260602 => 260603)


--- trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig	2020-04-23 22:21:10 UTC (rev 260602)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig	2020-04-23 22:52:26 UTC (rev 260603)
@@ -102,6 +102,7 @@
 WEBCORE_PRIVATE_HEADERS_DIR_engineering = $(BUILT_PRODUCTS_DIR)/WebCore.framework/PrivateHeaders;
 
 AD_HOC_CODE_SIGNING_ALLOWED = YES;
+CODE_SIGN_IDENTITY = -;
 
 SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx appletvos appletvsimulator watchos watchsimulator;
 

Modified: trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig (260602 => 260603)


--- trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig	2020-04-23 22:21:10 UTC (rev 260602)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/DebugRelease.xcconfig	2020-04-23 22:52:26 UTC (rev 260603)
@@ -36,6 +36,11 @@
 MACOSX_DEPLOYMENT_TARGET_macosx_101600 = 10.16;
 MACOSX_DEPLOYMENT_TARGET_macosx_101700 = 10.17;
 
+CODE_SIGN_IDENTITY[sdk=macosx*] = $(CODE_SIGN_IDENTITY_$(USE_INTERNAL_SDK));
+CODE_SIGN_IDENTITY_ = $(CODE_SIGN_IDENTITY_NO);
+CODE_SIGN_IDENTITY_NO = -;
+CODE_SIGN_IDENTITY_YES = $(WK_ENGINEERING_CODE_SIGN_IDENTITY);
+
 SDKROOT = $(SDKROOT_$(USE_INTERNAL_SDK));
 SDKROOT_ = macosx;
 SDKROOT_YES = macosx.internal;

Added: trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements (0 => 260603)


--- trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements	                        (rev 0)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements	2020-04-23 22:52:26 UTC (rev 260603)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>com.apple.security.cs.allow-jit</key>
+	<true/>
+</dict>
+</plist>

Modified: trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig (260602 => 260603)


--- trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig	2020-04-23 22:21:10 UTC (rev 260602)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig	2020-04-23 22:52:26 UTC (rev 260603)
@@ -39,3 +39,5 @@
 INSTALL_PATH_Debug = $(INSTALL_PATH);
 INSTALL_PATH_Production = $(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH);
 INSTALL_PATH_engineering = $(INSTALL_PATH);
+
+CODE_SIGN_ENTITLEMENTS[sdk=macosx*] = mac/Configurations/DumpRenderTree.entitlements;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to