BUILD.bazel 582 B

1234567891011121314151617181920212223242526
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "glog.go",
  6. "glog_file.go",
  7. ],
  8. importmap = "go-common/vendor/github.com/golang/glog",
  9. importpath = "github.com/golang/glog",
  10. visibility = ["//visibility:public"],
  11. )
  12. filegroup(
  13. name = "package-srcs",
  14. srcs = glob(["**"]),
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:private"],
  17. )
  18. filegroup(
  19. name = "all-srcs",
  20. srcs = [":package-srcs"],
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:public"],
  23. )