2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-25 17:31:30 +00:00
rules_cc/cc/toolchains/capabilities/BUILD
Armando Montanez b8045d5626 Properly support target-specific capabilities
Changes supports_pic and supports_dynamic_linker features to
cc_target_capability rules since the capability is tied to target
platform capabilities rather than tool capabilities.
2024-11-07 11:57:29 -08:00

21 lines
439 B
Python

load("//cc/toolchains:target_capability.bzl", "cc_target_capability")
load("//cc/toolchains:tool_capability.bzl", "cc_tool_capability")
package(default_visibility = ["//visibility:public"])
cc_tool_capability(
name = "supports_start_end_lib",
)
cc_tool_capability(
name = "supports_interface_shared_libraries",
)
cc_target_capability(
name = "supports_dynamic_linker",
)
cc_target_capability(
name = "supports_pic",
)