blob: cfcbf326c4acc716a6a0810cadf43d7a546b68f2 [file] [log] [blame]
load("@rules_proto//proto/private:dependencies.bzl", "protoc_binary")
protoc_binary(
name = "protoc",
srcs = select({
":windows": ["bin/protoc.exe"],
"//conditions:default": ["bin/protoc"],
}),
executable = "protoc.exe",
visibility = ["//visibility:public"],
)
config_setting(
name = "windows",
constraint_values = [
"@platforms//os:windows",
],
)