BUILD 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "consumer.go",
  10. "http.go",
  11. "prehandler.go",
  12. "qa_video.go",
  13. "report.go",
  14. "review.go",
  15. "task.go",
  16. "weight.go",
  17. ],
  18. importpath = "go-common/app/admin/main/videoup-task/http",
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:public"],
  21. deps = [
  22. "//app/admin/main/videoup-task/conf:go_default_library",
  23. "//app/admin/main/videoup-task/model:go_default_library",
  24. "//app/admin/main/videoup-task/service: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/net/http/blademaster/binding:go_default_library",
  29. "//library/net/http/blademaster/middleware/permit:go_default_library",
  30. "//library/net/http/blademaster/middleware/verify:go_default_library",
  31. "//library/net/http/blademaster/render:go_default_library",
  32. ],
  33. )
  34. filegroup(
  35. name = "package-srcs",
  36. srcs = glob(["**"]),
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:private"],
  39. )
  40. filegroup(
  41. name = "all-srcs",
  42. srcs = [":package-srcs"],
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. )