BUILD 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. "act.go",
  10. "bnj.go",
  11. "bws.go",
  12. "http.go",
  13. "kfc.go",
  14. "like.go",
  15. "match.go",
  16. "sports.go",
  17. "timemachine.go",
  18. ],
  19. importpath = "go-common/app/interface/main/activity/http",
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:public"],
  22. deps = [
  23. "//app/interface/main/activity/conf:go_default_library",
  24. "//app/interface/main/activity/model/bws:go_default_library",
  25. "//app/interface/main/activity/model/like:go_default_library",
  26. "//app/interface/main/activity/model/sports:go_default_library",
  27. "//app/interface/main/activity/service/bnj:go_default_library",
  28. "//app/interface/main/activity/service/bws:go_default_library",
  29. "//app/interface/main/activity/service/kfc:go_default_library",
  30. "//app/interface/main/activity/service/like:go_default_library",
  31. "//app/interface/main/activity/service/sports:go_default_library",
  32. "//app/interface/main/activity/service/timemachine:go_default_library",
  33. "//library/ecode:go_default_library",
  34. "//library/log:go_default_library",
  35. "//library/net/http/blademaster:go_default_library",
  36. "//library/net/http/blademaster/middleware/auth:go_default_library",
  37. "//library/net/http/blademaster/middleware/verify:go_default_library",
  38. "//library/net/metadata:go_default_library",
  39. ],
  40. )
  41. filegroup(
  42. name = "package-srcs",
  43. srcs = glob(["**"]),
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:private"],
  46. )
  47. filegroup(
  48. name = "all-srcs",
  49. srcs = [":package-srcs"],
  50. tags = ["automanaged"],
  51. visibility = ["//visibility:public"],
  52. )