BUILD 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. "asset.go",
  10. "http.go",
  11. "trade.go",
  12. ],
  13. importpath = "go-common/app/service/main/ugcpay/server/http",
  14. tags = ["automanaged"],
  15. visibility = ["//visibility:public"],
  16. deps = [
  17. "//app/service/main/ugcpay/api/http:go_default_library",
  18. "//app/service/main/ugcpay/conf:go_default_library",
  19. "//app/service/main/ugcpay/model:go_default_library",
  20. "//app/service/main/ugcpay/server/grpc:go_default_library",
  21. "//app/service/main/ugcpay/service:go_default_library",
  22. "//library/ecode:go_default_library",
  23. "//library/net/http/blademaster:go_default_library",
  24. "//library/net/http/blademaster/middleware/verify:go_default_library",
  25. ],
  26. )
  27. filegroup(
  28. name = "package-srcs",
  29. srcs = glob(["**"]),
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:private"],
  32. )
  33. filegroup(
  34. name = "all-srcs",
  35. srcs = [":package-srcs"],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )