BUILD 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. "backup.go",
  10. "change-log.go",
  11. "change-src.go",
  12. "check-live.go",
  13. "clear-cache.go",
  14. "clear-retweet.go",
  15. "http.go",
  16. "notify.go",
  17. "official.go",
  18. "screen-shot.go",
  19. "stream.go",
  20. "stream-cut.go",
  21. "stream-info.go",
  22. "stream-mask.go",
  23. "stream-validate.go",
  24. "upstream-rtmp.go",
  25. "upstream-summary.go",
  26. ],
  27. importpath = "go-common/app/service/video/stream-mng/server/http",
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. deps = [
  31. "//app/service/video/stream-mng/common:go_default_library",
  32. "//app/service/video/stream-mng/conf:go_default_library",
  33. "//app/service/video/stream-mng/middleware:go_default_library",
  34. "//app/service/video/stream-mng/model:go_default_library",
  35. "//app/service/video/stream-mng/service:go_default_library",
  36. "//library/ecode:go_default_library",
  37. "//library/log:go_default_library",
  38. "//library/net/http/blademaster:go_default_library",
  39. "//library/net/http/blademaster/middleware/auth:go_default_library",
  40. "//library/net/http/blademaster/middleware/verify:go_default_library",
  41. "//library/net/metadata:go_default_library",
  42. ],
  43. )
  44. filegroup(
  45. name = "package-srcs",
  46. srcs = glob(["**"]),
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:private"],
  49. )
  50. filegroup(
  51. name = "all-srcs",
  52. srcs = [":package-srcs"],
  53. tags = ["automanaged"],
  54. visibility = ["//visibility:public"],
  55. )