Title: [260552] trunk/Tools
- Revision
- 260552
- Author
- [email protected]
- Date
- 2020-04-22 20:17:45 -0700 (Wed, 22 Apr 2020)
Log Message
DumpRenderTree should have the JIT entitlement on Mac
https://bugs.webkit.org/show_bug.cgi?id=210887
Reviewed by Tim Horton.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/Configurations/BaseTarget.xcconfig:
* DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements: Added.
* DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
Modified Paths
Added Paths
Diff
Modified: trunk/Tools/ChangeLog (260551 => 260552)
--- trunk/Tools/ChangeLog 2020-04-23 03:11:02 UTC (rev 260551)
+++ trunk/Tools/ChangeLog 2020-04-23 03:17:45 UTC (rev 260552)
@@ -1,3 +1,15 @@
+2020-04-22 Saam Barati <[email protected]>
+
+ DumpRenderTree should have the JIT entitlement on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=210887
+
+ Reviewed by Tim Horton.
+
+ * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
+ * DumpRenderTree/mac/Configurations/BaseTarget.xcconfig:
+ * DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements: Added.
+ * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
+
2020-04-22 Chris Dumez <[email protected]>
[iOS] Expose -_webView:willGoToBackForwardListItem:inPageCache:
Modified: trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj (260551 => 260552)
--- trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj 2020-04-23 03:11:02 UTC (rev 260551)
+++ trunk/Tools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj 2020-04-23 03:17:45 UTC (rev 260552)
@@ -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/BaseTarget.xcconfig (260551 => 260552)
--- trunk/Tools/DumpRenderTree/mac/Configurations/BaseTarget.xcconfig 2020-04-23 03:11:02 UTC (rev 260551)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/BaseTarget.xcconfig 2020-04-23 03:17:45 UTC (rev 260552)
@@ -21,6 +21,15 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#include? "../../../../../Internal/Configurations/HaveInternalSDK.xcconfig"
+
+USE_INTERNAL_SDK = $(USE_INTERNAL_SDK_$(CONFIGURATION));
+USE_INTERNAL_SDK_Production = YES;
+USE_INTERNAL_SDK_Debug = $(HAVE_INTERNAL_SDK);
+USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK);
+
+WK_USE_RESTRICTED_ENTITLEMENTS = $(USE_INTERNAL_SDK);
+
OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Frameworks;
OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS);
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
Added: trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements (0 => 260552)
--- trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements (rev 0)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.entitlements 2020-04-23 03:17:45 UTC (rev 260552)
@@ -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 (260551 => 260552)
--- trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig 2020-04-23 03:11:02 UTC (rev 260551)
+++ trunk/Tools/DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig 2020-04-23 03:17:45 UTC (rev 260552)
@@ -39,3 +39,10 @@
INSTALL_PATH_Debug = $(INSTALL_PATH);
INSTALL_PATH_Production = $(SYSTEM_LIBRARY_DIR)/Frameworks/$(WEBKIT_FRAMEWORK_RESOURCES_PATH);
INSTALL_PATH_engineering = $(INSTALL_PATH);
+
+CODE_SIGN_IDENTITY[sdk=macosx*] = $(CODE_SIGN_IDENTITY_$(WK_USE_RESTRICTED_ENTITLEMENTS))
+CODE_SIGN_IDENTITY_ = $(CODE_SIGN_IDENTITY_NO);
+CODE_SIGN_IDENTITY_NO = -;
+CODE_SIGN_IDENTITY_YES = $(WK_ENGINEERING_CODE_SIGN_IDENTITY);
+
+CODE_SIGN_ENTITLEMENTS[sdk=macosx*] = mac/Configurations/DumpRenderTree.entitlements;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes