BUILD.bazel 703 B

12345678910111213141516171819202122232425262728293031
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "config.go",
  6. "filelog.go",
  7. "log4go.go",
  8. "pattlog.go",
  9. "socklog.go",
  10. "termlog.go",
  11. "wrapper.go",
  12. ],
  13. importmap = "go-common/vendor/github.com/alecthomas/log4go",
  14. importpath = "github.com/alecthomas/log4go",
  15. visibility = ["//visibility:public"],
  16. )
  17. filegroup(
  18. name = "package-srcs",
  19. srcs = glob(["**"]),
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:private"],
  22. )
  23. filegroup(
  24. name = "all-srcs",
  25. srcs = [":package-srcs"],
  26. tags = ["automanaged"],
  27. visibility = ["//visibility:public"],
  28. )