BUILD 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. "cache.go",
  10. "dynamic.go",
  11. "feed.go",
  12. "http.go",
  13. "local.go",
  14. "region.go",
  15. ],
  16. importpath = "go-common/app/interface/main/app-feed/http",
  17. tags = ["automanaged"],
  18. deps = [
  19. "//app/interface/main/app-card/model:go_default_library",
  20. "//app/interface/main/app-card/model/card:go_default_library",
  21. "//app/interface/main/app-card/model/card/ai:go_default_library",
  22. "//app/interface/main/app-card/model/card/operate:go_default_library",
  23. "//app/interface/main/app-feed/conf:go_default_library",
  24. "//app/interface/main/app-feed/model:go_default_library",
  25. "//app/interface/main/app-feed/model/feed:go_default_library",
  26. "//app/interface/main/app-feed/service/external:go_default_library",
  27. "//app/interface/main/app-feed/service/feed:go_default_library",
  28. "//app/interface/main/app-feed/service/ping:go_default_library",
  29. "//app/interface/main/app-feed/service/region:go_default_library",
  30. "//library/ecode:go_default_library",
  31. "//library/log:go_default_library",
  32. "//library/net/http/blademaster:go_default_library",
  33. "//library/net/http/blademaster/middleware/auth:go_default_library",
  34. "//library/net/http/blademaster/middleware/verify:go_default_library",
  35. "//library/net/metadata:go_default_library",
  36. "//library/stat/prom:go_default_library",
  37. ],
  38. )
  39. filegroup(
  40. name = "package-srcs",
  41. srcs = glob(["**"]),
  42. tags = ["automanaged"],
  43. visibility = ["//visibility:private"],
  44. )
  45. filegroup(
  46. name = "all-srcs",
  47. srcs = [":package-srcs"],
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:public"],
  50. )