BUILD 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. "go_test",
  6. )
  7. go_library(
  8. name = "go_default_library",
  9. srcs = [
  10. "dao.cache.go",
  11. "mc.cache.go",
  12. "roomNotice.go",
  13. ],
  14. importpath = "go-common/app/service/live/xuserex/dao/notice",
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. deps = [
  18. "//app/service/live/resource/sdk:go_default_library",
  19. "//app/service/live/xuser/api/grpc/v1:go_default_library",
  20. "//app/service/live/xuserex/api/grpc/v1:go_default_library",
  21. "//app/service/live/xuserex/conf:go_default_library",
  22. "//app/service/live/xuserex/model/roomNotice:go_default_library",
  23. "//library/cache/memcache:go_default_library",
  24. "//library/database/hbase.v2:go_default_library",
  25. "//library/ecode:go_default_library",
  26. "//library/log:go_default_library",
  27. "//library/net/http/blademaster:go_default_library",
  28. "//library/stat/prom:go_default_library",
  29. ],
  30. )
  31. filegroup(
  32. name = "package-srcs",
  33. srcs = glob(["**"]),
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:private"],
  36. )
  37. filegroup(
  38. name = "all-srcs",
  39. srcs = [":package-srcs"],
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:public"],
  42. )
  43. go_test(
  44. name = "go_default_test",
  45. srcs = [
  46. "dao.cache_test.go",
  47. "mc.cache_test.go",
  48. "roomNotice_test.go",
  49. ],
  50. embed = [":go_default_library"],
  51. tags = ["automanaged"],
  52. deps = [
  53. "//app/service/live/xuserex/conf:go_default_library",
  54. "//app/service/live/xuserex/model/roomNotice:go_default_library",
  55. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  56. ],
  57. )