BUILD 799 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = ["style_test.go"],
  10. embed = [":go_default_library"],
  11. rundir = ".",
  12. tags = ["automanaged"],
  13. )
  14. go_library(
  15. name = "go_default_library",
  16. srcs = [
  17. "param.go",
  18. "style.go",
  19. ],
  20. importpath = "go-common/app/tool/protoc-gen-bm/util",
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:public"],
  23. )
  24. filegroup(
  25. name = "package-srcs",
  26. srcs = glob(["**"]),
  27. tags = ["automanaged"],
  28. visibility = ["//visibility:private"],
  29. )
  30. filegroup(
  31. name = "all-srcs",
  32. srcs = [":package-srcs"],
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:public"],
  35. )