BUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "app.go",
  10. "appIndex.go",
  11. "dao.go",
  12. "info.go",
  13. "pendant.go",
  14. "recommend.go",
  15. "status.go",
  16. "uid2roomid.go",
  17. ],
  18. importpath = "go-common/app/interface/live/app-interface/dao/room",
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. deps = [
  22. "//app/interface/live/app-interface/conf:go_default_library",
  23. "//app/interface/live/app-interface/dao:go_default_library",
  24. "//app/service/live/room/api/liverpc/v1:go_default_library",
  25. "//app/service/live/room/api/liverpc/v2:go_default_library",
  26. "//library/ecode:go_default_library",
  27. "//library/log:go_default_library",
  28. "//library/net/rpc/liverpc/context:go_default_library",
  29. "//vendor/github.com/pkg/errors:go_default_library",
  30. ],
  31. )
  32. filegroup(
  33. name = "package-srcs",
  34. srcs = glob(["**"]),
  35. tags = ["automanaged"],
  36. visibility = ["//visibility:private"],
  37. )
  38. filegroup(
  39. name = "all-srcs",
  40. srcs = [":package-srcs"],
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:public"],
  43. )