BUILD 855 B

123456789101112131415161718192021222324252627282930313233
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = ["rpc.go"],
  8. importpath = "go-common/app/service/main/secure/rpc/server",
  9. tags = ["automanaged"],
  10. visibility = ["//visibility:public"],
  11. deps = [
  12. "//app/service/main/secure/conf:go_default_library",
  13. "//app/service/main/secure/model:go_default_library",
  14. "//app/service/main/secure/service:go_default_library",
  15. "//library/net/rpc:go_default_library",
  16. "//library/net/rpc/context:go_default_library",
  17. ],
  18. )
  19. filegroup(
  20. name = "package-srcs",
  21. srcs = glob(["**"]),
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:private"],
  24. )
  25. filegroup(
  26. name = "all-srcs",
  27. srcs = [":package-srcs"],
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. )