load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") | |
go_library( | |
name = "validate_lib", | |
srcs = ["main.go"], | |
importpath = "go.skia.org/infra/tool/go/cmd/validate", | |
visibility = ["//visibility:private"], | |
deps = ["//tool/go/tool"], | |
) | |
go_binary( | |
name = "validate", | |
embed = [":validate_lib"], | |
visibility = ["//visibility:public"], | |
) |