BUILD 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. "account.go",
  10. "config.go",
  11. "databus.go",
  12. "event.go",
  13. "eventmsg.go",
  14. "factor.go",
  15. "factor_group.go",
  16. "params.go",
  17. "punishment.go",
  18. "qcloud.go",
  19. "risk.go",
  20. "rpc.go",
  21. "service.go",
  22. "spy.go",
  23. "stat.go",
  24. "user_event_history.go",
  25. "user_info.go",
  26. ],
  27. importpath = "go-common/app/service/main/spy/model",
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. deps = [
  31. "//app/service/main/account/model:go_default_library",
  32. "//library/time:go_default_library",
  33. ],
  34. )
  35. filegroup(
  36. name = "package-srcs",
  37. srcs = glob(["**"]),
  38. tags = ["automanaged"],
  39. visibility = ["//visibility:private"],
  40. )
  41. filegroup(
  42. name = "all-srcs",
  43. srcs = [":package-srcs"],
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:public"],
  46. )