BUILD.bazel 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "admin_client.go",
  6. "caches.go",
  7. "client.go",
  8. "rpc.go",
  9. "scanner.go",
  10. ],
  11. importmap = "go-common/vendor/github.com/tsuna/gohbase",
  12. importpath = "github.com/tsuna/gohbase",
  13. visibility = ["//visibility:public"],
  14. deps = [
  15. "//vendor/github.com/cznic/b:go_default_library",
  16. "//vendor/github.com/sirupsen/logrus:go_default_library",
  17. "//vendor/github.com/tsuna/gohbase/hrpc:go_default_library",
  18. "//vendor/github.com/tsuna/gohbase/pb:go_default_library",
  19. "//vendor/github.com/tsuna/gohbase/region:go_default_library",
  20. "//vendor/github.com/tsuna/gohbase/zk:go_default_library",
  21. "//vendor/golang.org/x/time/rate:go_default_library",
  22. "@com_github_golang_protobuf//proto:go_default_library",
  23. ],
  24. )
  25. filegroup(
  26. name = "package-srcs",
  27. srcs = glob(["**"]),
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:private"],
  30. )
  31. filegroup(
  32. name = "all-srcs",
  33. srcs = [
  34. ":package-srcs",
  35. "//vendor/github.com/tsuna/gohbase/filter:all-srcs",
  36. "//vendor/github.com/tsuna/gohbase/hrpc:all-srcs",
  37. "//vendor/github.com/tsuna/gohbase/pb:all-srcs",
  38. "//vendor/github.com/tsuna/gohbase/region:all-srcs",
  39. "//vendor/github.com/tsuna/gohbase/zk:all-srcs",
  40. ],
  41. tags = ["manual"],
  42. visibility = ["//visibility:public"],
  43. )