Title: [287100] trunk/Source/WebKit
- Revision
- 287100
- Author
- [email protected]
- Date
- 2021-12-15 13:06:48 -0800 (Wed, 15 Dec 2021)
Log Message
Actually use adattributiond.entitlements when code signing adattributiond
https://bugs.webkit.org/show_bug.cgi?id=234329
<rdar://86425785>
Patch by Alex Christensen <[email protected]> on 2021-12-15
Reviewed by Tim Horton.
r283897 got me so close. I generate the entitlements and the sandbox profile. Now I need to actually sign with the entitlements.
I verified by building two roots that before this change, the codesign invocation looked like this:
/usr/bin/codesign --force --sign - --generate-entitlement-der .../Root/System/Library/Frameworks/WebKit.framework/Daemons/adattributiond
and after this change it looks like this:
/usr/bin/codesign --force --sign - --entitlements .../TempContent/Objects/WebKit.build/adattributiond.build/adattributiond.entitlements
--generate-entitlement-der .../Root/System/Library/Frameworks/WebKit.framework/Daemons/adattributiond
* Configurations/adattributiond.xcconfig:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (287099 => 287100)
--- trunk/Source/WebKit/ChangeLog 2021-12-15 20:55:50 UTC (rev 287099)
+++ trunk/Source/WebKit/ChangeLog 2021-12-15 21:06:48 UTC (rev 287100)
@@ -1,3 +1,20 @@
+2021-12-15 Alex Christensen <[email protected]>
+
+ Actually use adattributiond.entitlements when code signing adattributiond
+ https://bugs.webkit.org/show_bug.cgi?id=234329
+ <rdar://86425785>
+
+ Reviewed by Tim Horton.
+
+ r283897 got me so close. I generate the entitlements and the sandbox profile. Now I need to actually sign with the entitlements.
+ I verified by building two roots that before this change, the codesign invocation looked like this:
+ /usr/bin/codesign --force --sign - --generate-entitlement-der .../Root/System/Library/Frameworks/WebKit.framework/Daemons/adattributiond
+ and after this change it looks like this:
+ /usr/bin/codesign --force --sign - --entitlements .../TempContent/Objects/WebKit.build/adattributiond.build/adattributiond.entitlements
+ --generate-entitlement-der .../Root/System/Library/Frameworks/WebKit.framework/Daemons/adattributiond
+
+ * Configurations/adattributiond.xcconfig:
+
2021-12-15 Per Arne Vollan <[email protected]>
[iOS][WP] Add access to required syscall
Modified: trunk/Source/WebKit/Configurations/adattributiond.xcconfig (287099 => 287100)
--- trunk/Source/WebKit/Configurations/adattributiond.xcconfig 2021-12-15 20:55:50 UTC (rev 287099)
+++ trunk/Source/WebKit/Configurations/adattributiond.xcconfig 2021-12-15 21:06:48 UTC (rev 287100)
@@ -30,5 +30,9 @@
WK_PROCESSED_XCENT_FILE=$(TEMP_FILE_DIR)/$(FULL_PRODUCT_NAME).entitlements
+WK_CODE_SIGN_FLAGS = $(WK_CODE_SIGN_FLAGS_$(WK_PLATFORM_NAME));
+WK_CODE_SIGN_FLAGS_iphoneos = --entitlements $(WK_PROCESSED_XCENT_FILE);
+OTHER_CODE_SIGN_FLAGS = $(WK_CODE_SIGN_FLAGS);
+
INSTALL_PATH[sdk=iphone*] = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Daemons;
INSTALL_PATH[sdk=macosx*] = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/Daemons;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes