BUILD 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "archive.go",
  10. "bws.go",
  11. "http.go",
  12. "kfc.go",
  13. "likes.go",
  14. "match.go",
  15. "subject.go",
  16. ],
  17. importpath = "go-common/app/admin/main/activity/http",
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:public"],
  20. deps = [
  21. "//app/admin/main/activity/conf:go_default_library",
  22. "//app/admin/main/activity/model:go_default_library",
  23. "//app/admin/main/activity/model/kfc:go_default_library",
  24. "//app/admin/main/activity/service:go_default_library",
  25. "//app/admin/main/activity/service/kfc:go_default_library",
  26. "//library/ecode:go_default_library",
  27. "//library/log:go_default_library",
  28. "//library/net/http/blademaster:go_default_library",
  29. "//library/net/http/blademaster/middleware/permit:go_default_library",
  30. ],
  31. )
  32. filegroup(
  33. name = "package-srcs",
  34. srcs = glob(["**"]),
  35. tags = ["automanaged"],
  36. visibility = ["//visibility:private"],
  37. )
  38. filegroup(
  39. name = "all-srcs",
  40. srcs = [":package-srcs"],
  41. tags = ["automanaged"],
  42. visibility = ["//visibility:public"],
  43. )