BUILD 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "archive.go",
  10. "flow.go",
  11. "http.go",
  12. "local.go",
  13. "netsafe.go",
  14. "pgc.go",
  15. "porder.go",
  16. "reco.go",
  17. "report.go",
  18. "staff.go",
  19. "ugc.go",
  20. "video.go",
  21. ],
  22. importpath = "go-common/app/service/main/videoup/http",
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:public"],
  25. deps = [
  26. "//app/service/main/videoup/conf:go_default_library",
  27. "//app/service/main/videoup/model/archive:go_default_library",
  28. "//app/service/main/videoup/service:go_default_library",
  29. "//library/ecode:go_default_library",
  30. "//library/log:go_default_library",
  31. "//library/net/http/blademaster:go_default_library",
  32. "//library/net/http/blademaster/middleware/antispam:go_default_library",
  33. "//library/net/http/blademaster/middleware/verify:go_default_library",
  34. "//library/sync/errgroup:go_default_library",
  35. "//library/xstr:go_default_library",
  36. ],
  37. )
  38. filegroup(
  39. name = "package-srcs",
  40. srcs = glob(["**"]),
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:private"],
  43. )
  44. filegroup(
  45. name = "all-srcs",
  46. srcs = [":package-srcs"],
  47. tags = ["automanaged"],
  48. visibility = ["//visibility:public"],
  49. )