BUILD 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. "dao.go",
  10. "fansMedal.go",
  11. "mainAccount.go",
  12. "mainFilter.go",
  13. "relation.go",
  14. "resource.go",
  15. "room.go",
  16. "user.go",
  17. ],
  18. importpath = "go-common/app/interface/live/app-ucenter/dao",
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. deps = [
  22. "//app/interface/live/app-ucenter/conf:go_default_library",
  23. "//app/service/live/fans_medal/api/liverpc:go_default_library",
  24. "//app/service/live/fans_medal/api/liverpc/v1:go_default_library",
  25. "//app/service/live/relation/api/liverpc:go_default_library",
  26. "//app/service/live/relation/api/liverpc/v1:go_default_library",
  27. "//app/service/live/resource/api/grpc/v1:go_default_library",
  28. "//app/service/live/room/api/liverpc:go_default_library",
  29. "//app/service/live/room/api/liverpc/v1:go_default_library",
  30. "//app/service/live/user/api/liverpc:go_default_library",
  31. "//app/service/live/user/api/liverpc/v3:go_default_library",
  32. "//app/service/main/member/api:go_default_library",
  33. "//library/ecode:go_default_library",
  34. "//library/log:go_default_library",
  35. "//library/net/http/blademaster:go_default_library",
  36. "//library/net/metadata:go_default_library",
  37. "//library/net/rpc/liverpc:go_default_library",
  38. "//vendor/github.com/pkg/errors:go_default_library",
  39. ],
  40. )
  41. filegroup(
  42. name = "package-srcs",
  43. srcs = glob(["**"]),
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:private"],
  46. )
  47. filegroup(
  48. name = "all-srcs",
  49. srcs = [":package-srcs"],
  50. tags = ["automanaged"],
  51. visibility = ["//visibility:public"],
  52. )