blob: 97f56a33fbf865d0b7a2d1144138ed5ecaf98569 [file] [log] [blame]
load("//cc/toolchains:args.bzl", "cc_args")
load("//cc/toolchains:feature.bzl", "cc_feature")
package(default_visibility = ["//visibility:public"])
cc_feature(
name = "feature",
args = [":random_seed"],
overrides = "//cc/toolchains/features/legacy:random_seed",
)
cc_args(
name = "random_seed",
actions = ["//cc/toolchains/actions:compile_actions"],
args = ["-frandom-seed={output_file}"],
format = {"output_file": "//cc/toolchains/variables:output_file"},
requires_not_none = "//cc/toolchains/variables:output_file",
)