BUILD 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. "apply.go",
  10. "clientmoni.go",
  11. "cluster.go",
  12. "comment.go",
  13. "file.go",
  14. "grpc.go",
  15. "http.go",
  16. "job.go",
  17. "label.go",
  18. "order.go",
  19. "order_admin.go",
  20. "ptest.go",
  21. "rank.go",
  22. "report.go",
  23. "scene.go",
  24. "script.go",
  25. "tree.go",
  26. "user.go",
  27. ],
  28. importpath = "go-common/app/admin/ep/melloi/http",
  29. tags = ["automanaged"],
  30. visibility = ["//visibility:public"],
  31. deps = [
  32. "//app/admin/ep/melloi/conf:go_default_library",
  33. "//app/admin/ep/melloi/model:go_default_library",
  34. "//app/admin/ep/melloi/service:go_default_library",
  35. "//library/ecode:go_default_library",
  36. "//library/log:go_default_library",
  37. "//library/net/http/blademaster:go_default_library",
  38. "//library/net/http/blademaster/binding:go_default_library",
  39. "//library/net/http/blademaster/middleware/permit:go_default_library",
  40. ],
  41. )
  42. filegroup(
  43. name = "package-srcs",
  44. srcs = glob(["**"]),
  45. tags = ["automanaged"],
  46. visibility = ["//visibility:private"],
  47. )
  48. filegroup(
  49. name = "all-srcs",
  50. srcs = [":package-srcs"],
  51. tags = ["automanaged"],
  52. visibility = ["//visibility:public"],
  53. )