@@ -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
@@ -540,12 +542,14 @@ def _macos_bundle_impl(ctx):
540542 entitlements = entitlements_support .process_entitlements (
541543 actions = actions ,
542544 apple_mac_toolchain_info = apple_mac_toolchain_info ,
545+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
543546 bundle_id = bundle_id ,
544547 entitlements_file = ctx .file .entitlements ,
545548 platform_prerequisites = platform_prerequisites ,
546549 product_type = rule_descriptor .product_type ,
547550 provisioning_profile = provisioning_profile ,
548551 rule_label = label ,
552+ secure_features = ctx .attr .secure_features ,
549553 validation_mode = ctx .attr .entitlements_validation ,
550554 )
551555
@@ -788,12 +792,14 @@ def _macos_extension_impl(ctx):
788792 entitlements = entitlements_support .process_entitlements (
789793 actions = actions ,
790794 apple_mac_toolchain_info = apple_mac_toolchain_info ,
795+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
791796 bundle_id = bundle_id ,
792797 entitlements_file = ctx .file .entitlements ,
793798 platform_prerequisites = platform_prerequisites ,
794799 product_type = rule_descriptor .product_type ,
795800 provisioning_profile = provisioning_profile ,
796801 rule_label = label ,
802+ secure_features = ctx .attr .secure_features ,
797803 validation_mode = ctx .attr .entitlements_validation ,
798804 )
799805
@@ -1070,12 +1076,14 @@ def _macos_quick_look_plugin_impl(ctx):
10701076 entitlements = entitlements_support .process_entitlements (
10711077 actions = actions ,
10721078 apple_mac_toolchain_info = apple_mac_toolchain_info ,
1079+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
10731080 bundle_id = bundle_id ,
10741081 entitlements_file = ctx .file .entitlements ,
10751082 platform_prerequisites = platform_prerequisites ,
10761083 product_type = rule_descriptor .product_type ,
10771084 provisioning_profile = provisioning_profile ,
10781085 rule_label = label ,
1086+ secure_features = ctx .attr .secure_features ,
10791087 validation_mode = ctx .attr .entitlements_validation ,
10801088 )
10811089
@@ -1317,12 +1325,14 @@ def _macos_kernel_extension_impl(ctx):
13171325 entitlements = entitlements_support .process_entitlements (
13181326 actions = actions ,
13191327 apple_mac_toolchain_info = apple_mac_toolchain_info ,
1328+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
13201329 bundle_id = bundle_id ,
13211330 entitlements_file = ctx .file .entitlements ,
13221331 platform_prerequisites = platform_prerequisites ,
13231332 product_type = rule_descriptor .product_type ,
13241333 provisioning_profile = provisioning_profile ,
13251334 rule_label = label ,
1335+ secure_features = ctx .attr .secure_features ,
13261336 validation_mode = ctx .attr .entitlements_validation ,
13271337 )
13281338
@@ -1568,12 +1578,14 @@ def _macos_spotlight_importer_impl(ctx):
15681578 entitlements = entitlements_support .process_entitlements (
15691579 actions = actions ,
15701580 apple_mac_toolchain_info = apple_mac_toolchain_info ,
1581+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
15711582 bundle_id = bundle_id ,
15721583 entitlements_file = ctx .file .entitlements ,
15731584 platform_prerequisites = platform_prerequisites ,
15741585 product_type = rule_descriptor .product_type ,
15751586 provisioning_profile = provisioning_profile ,
15761587 rule_label = label ,
1588+ secure_features = ctx .attr .secure_features ,
15771589 validation_mode = ctx .attr .entitlements_validation ,
15781590 )
15791591
@@ -1809,12 +1821,14 @@ def _macos_xpc_service_impl(ctx):
18091821 entitlements = entitlements_support .process_entitlements (
18101822 actions = actions ,
18111823 apple_mac_toolchain_info = apple_mac_toolchain_info ,
1824+ apple_xplat_toolchain_info = apple_xplat_toolchain_info ,
18121825 bundle_id = bundle_id ,
18131826 entitlements_file = ctx .file .entitlements ,
18141827 platform_prerequisites = platform_prerequisites ,
18151828 product_type = rule_descriptor .product_type ,
18161829 provisioning_profile = provisioning_profile ,
18171830 rule_label = label ,
1831+ secure_features = ctx .attr .secure_features ,
18181832 validation_mode = ctx .attr .entitlements_validation ,
18191833 )
18201834
@@ -2729,7 +2743,6 @@ Targets created with `macos_command_line_application` can be executed using
27292743 platform_type = "macos" ,
27302744 ),
27312745 rule_attrs .signing_attrs (
2732- supports_capabilities = False ,
27332746 profile_extension = ".provisionprofile" ,
27342747 ),
27352748 {
@@ -2786,7 +2799,6 @@ macos_dylib = rule_factory.create_apple_rule(
27862799 platform_type = "macos" ,
27872800 ),
27882801 rule_attrs .signing_attrs (
2789- supports_capabilities = False ,
27902802 profile_extension = ".provisionprofile" ,
27912803 ),
27922804 {
0 commit comments