BUILD 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "dm.go",
  10. "http.go",
  11. ],
  12. importpath = "go-common/app/interface/live/app-room/server/http",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//app/interface/live/app-room/api/http/v1:go_default_library",
  17. "//app/interface/live/app-room/conf:go_default_library",
  18. "//app/interface/live/app-room/service:go_default_library",
  19. "//app/interface/live/app-room/service/v1:go_default_library",
  20. "//app/interface/live/app-room/service/v1/dm:go_default_library",
  21. "//library/ecode:go_default_library",
  22. "//library/log:go_default_library",
  23. "//library/net/http/blademaster:go_default_library",
  24. "//library/net/http/blademaster/middleware/auth:go_default_library",
  25. ],
  26. )
  27. filegroup(
  28. name = "package-srcs",
  29. srcs = glob(["**"]),
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:private"],
  32. )
  33. filegroup(
  34. name = "all-srcs",
  35. srcs = [":package-srcs"],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )