BUILD 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = [
  8. "app.go",
  9. "comment.go",
  10. "data.go",
  11. "feed.go",
  12. "http.go",
  13. "location.go",
  14. "notice.go",
  15. "push.go",
  16. "report.go",
  17. "search.go",
  18. "share.go",
  19. "sv.go",
  20. "topic.go",
  21. "upload.go",
  22. "user.go",
  23. ],
  24. importpath = "go-common/app/interface/bbq/app-bbq/server/http",
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. deps = [
  28. "//app/interface/bbq/app-bbq/api/http/v1:go_default_library",
  29. "//app/interface/bbq/app-bbq/conf:go_default_library",
  30. "//app/interface/bbq/app-bbq/model:go_default_library",
  31. "//app/interface/bbq/app-bbq/service:go_default_library",
  32. "//app/interface/bbq/common/auth:go_default_library",
  33. "//app/interface/bbq/common/http:go_default_library",
  34. "//app/service/bbq/notice-service/api/v1:go_default_library",
  35. "//app/service/bbq/topic/api:go_default_library",
  36. "//app/service/bbq/user/api:go_default_library",
  37. "//app/service/bbq/video/api/grpc/v1:go_default_library",
  38. "//library/ecode:go_default_library",
  39. "//library/log:go_default_library",
  40. "//library/net/http/blademaster:go_default_library",
  41. "//library/net/http/blademaster/middleware/antispam:go_default_library",
  42. "//library/net/http/blademaster/middleware/verify:go_default_library",
  43. "//library/net/metadata:go_default_library",
  44. "//library/net/trace:go_default_library",
  45. "//vendor/github.com/json-iterator/go:go_default_library",
  46. "//vendor/github.com/pkg/errors:go_default_library",
  47. ],
  48. )
  49. filegroup(
  50. name = "package-srcs",
  51. srcs = glob(["**"]),
  52. tags = ["automanaged"],
  53. visibility = ["//visibility:private"],
  54. )
  55. filegroup(
  56. name = "all-srcs",
  57. srcs = [":package-srcs"],
  58. tags = ["automanaged"],
  59. visibility = ["//visibility:public"],
  60. )