@@ -230,12 +230,14 @@ def _macos_application_impl(ctx):
230230 entitlements = entitlements_support .process_entitlements (
231231 actions = actions ,
232232 apple_mac_toolchain_info = apple_mac_toolchain_info ,
233+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
233234 bundle_id = bundle_id ,
234235 entitlements_file = ctx .file .entitlements ,
235236 platform_prerequisites = platform_prerequisites ,
236237 product_type = rule_descriptor .product_type ,
237238 provisioning_profile = provisioning_profile ,
238239 rule_label = label ,
240+ secure_features = ctx .attr .secure_features ,
239241 validation_mode = ctx .attr .entitlements_validation ,
240242 )
241243
@@ -543,12 +545,14 @@ def _macos_bundle_impl(ctx):
543545 entitlements = entitlements_support .process_entitlements (
544546 actions = actions ,
545547 apple_mac_toolchain_info = apple_mac_toolchain_info ,
548+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
546549 bundle_id = bundle_id ,
547550 entitlements_file = ctx .file .entitlements ,
548551 platform_prerequisites = platform_prerequisites ,
549552 product_type = rule_descriptor .product_type ,
550553 provisioning_profile = provisioning_profile ,
551554 rule_label = label ,
555+ secure_features = ctx .attr .secure_features ,
552556 validation_mode = ctx .attr .entitlements_validation ,
553557 )
554558
@@ -791,12 +795,14 @@ def _macos_extension_impl(ctx):
791795 entitlements = entitlements_support .process_entitlements (
792796 actions = actions ,
793797 apple_mac_toolchain_info = apple_mac_toolchain_info ,
798+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
794799 bundle_id = bundle_id ,
795800 entitlements_file = ctx .file .entitlements ,
796801 platform_prerequisites = platform_prerequisites ,
797802 product_type = rule_descriptor .product_type ,
798803 provisioning_profile = provisioning_profile ,
799804 rule_label = label ,
805+ secure_features = ctx .attr .secure_features ,
800806 validation_mode = ctx .attr .entitlements_validation ,
801807 )
802808
@@ -1073,12 +1079,14 @@ def _macos_quick_look_plugin_impl(ctx):
10731079 entitlements = entitlements_support .process_entitlements (
10741080 actions = actions ,
10751081 apple_mac_toolchain_info = apple_mac_toolchain_info ,
1082+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
10761083 bundle_id = bundle_id ,
10771084 entitlements_file = ctx .file .entitlements ,
10781085 platform_prerequisites = platform_prerequisites ,
10791086 product_type = rule_descriptor .product_type ,
10801087 provisioning_profile = provisioning_profile ,
10811088 rule_label = label ,
1089+ secure_features = ctx .attr .secure_features ,
10821090 validation_mode = ctx .attr .entitlements_validation ,
10831091 )
10841092
@@ -1320,12 +1328,14 @@ def _macos_kernel_extension_impl(ctx):
13201328 entitlements = entitlements_support .process_entitlements (
13211329 actions = actions ,
13221330 apple_mac_toolchain_info = apple_mac_toolchain_info ,
1331+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
13231332 bundle_id = bundle_id ,
13241333 entitlements_file = ctx .file .entitlements ,
13251334 platform_prerequisites = platform_prerequisites ,
13261335 product_type = rule_descriptor .product_type ,
13271336 provisioning_profile = provisioning_profile ,
13281337 rule_label = label ,
1338+ secure_features = ctx .attr .secure_features ,
13291339 validation_mode = ctx .attr .entitlements_validation ,
13301340 )
13311341
@@ -1571,12 +1581,14 @@ def _macos_spotlight_importer_impl(ctx):
15711581 entitlements = entitlements_support .process_entitlements (
15721582 actions = actions ,
15731583 apple_mac_toolchain_info = apple_mac_toolchain_info ,
1584+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
15741585 bundle_id = bundle_id ,
15751586 entitlements_file = ctx .file .entitlements ,
15761587 platform_prerequisites = platform_prerequisites ,
15771588 product_type = rule_descriptor .product_type ,
15781589 provisioning_profile = provisioning_profile ,
15791590 rule_label = label ,
1591+ secure_features = ctx .attr .secure_features ,
15801592 validation_mode = ctx .attr .entitlements_validation ,
15811593 )
15821594
@@ -1812,12 +1824,14 @@ def _macos_xpc_service_impl(ctx):
18121824 entitlements = entitlements_support .process_entitlements (
18131825 actions = actions ,
18141826 apple_mac_toolchain_info = apple_mac_toolchain_info ,
1827+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
18151828 bundle_id = bundle_id ,
18161829 entitlements_file = ctx .file .entitlements ,
18171830 platform_prerequisites = platform_prerequisites ,
18181831 product_type = rule_descriptor .product_type ,
18191832 provisioning_profile = provisioning_profile ,
18201833 rule_label = label ,
1834+ secure_features = ctx .attr .secure_features ,
18211835 validation_mode = ctx .attr .entitlements_validation ,
18221836 )
18231837
@@ -2732,7 +2746,6 @@ Targets created with `macos_command_line_application` can be executed using
27322746 platform_type = "macos" ,
27332747 ),
27342748 rule_attrs .signing_attrs (
2735- supports_capabilities = False ,
27362749 profile_extension = ".provisionprofile" ,
27372750 ),
27382751 {
@@ -2789,7 +2802,6 @@ macos_dylib = rule_factory.create_apple_rule(
27892802 platform_type = "macos" ,
27902803 ),
27912804 rule_attrs .signing_attrs (
2792- supports_capabilities = False ,
27932805 profile_extension = ".provisionprofile" ,
27942806 ),
27952807 {
0 commit comments