BUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "bucekt.go",
  10. "dir.go",
  11. "file.go",
  12. "http.go",
  13. "sniff.go",
  14. "upload.go",
  15. ],
  16. importpath = "go-common/app/admin/main/upload/http",
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:public"],
  19. deps = [
  20. "//app/admin/main/upload/conf:go_default_library",
  21. "//app/admin/main/upload/model:go_default_library",
  22. "//app/admin/main/upload/service:go_default_library",
  23. "//library/ecode:go_default_library",
  24. "//library/log:go_default_library",
  25. "//library/net/http/blademaster:go_default_library",
  26. "//library/net/http/blademaster/binding:go_default_library",
  27. "//library/net/http/blademaster/middleware/permit:go_default_library",
  28. "//library/net/http/blademaster/middleware/verify:go_default_library",
  29. "//library/net/http/blademaster/render:go_default_library",
  30. ],
  31. )
  32. filegroup(
  33. name = "package-srcs",
  34. srcs = glob(["**"]),
  35. tags = ["automanaged"],
  36. visibility = ["//visibility:private"],
  37. )
  38. filegroup(
  39. name = "all-srcs",
  40. srcs = [":package-srcs"],
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:public"],
  43. )