BUILD 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "conf.go",
  10. "log_hash.go",
  11. "tool.go",
  12. ],
  13. importpath = "go-common/app/service/live/xuser/conf",
  14. tags = ["automanaged"],
  15. visibility = ["//visibility:public"],
  16. deps = [
  17. "//library/cache/memcache:go_default_library",
  18. "//library/cache/redis:go_default_library",
  19. "//library/conf:go_default_library",
  20. "//library/database/orm:go_default_library",
  21. "//library/database/sql:go_default_library",
  22. "//library/ecode/tip:go_default_library",
  23. "//library/log:go_default_library",
  24. "//library/net/http/blademaster:go_default_library",
  25. "//library/net/http/blademaster/middleware/verify:go_default_library",
  26. "//library/net/rpc:go_default_library",
  27. "//library/net/rpc/liverpc:go_default_library",
  28. "//library/net/rpc/warden:go_default_library",
  29. "//library/net/trace:go_default_library",
  30. "//library/queue/databus:go_default_library",
  31. "//vendor/github.com/BurntSushi/toml:go_default_library",
  32. ],
  33. )
  34. filegroup(
  35. name = "package-srcs",
  36. srcs = glob(["**"]),
  37. tags = ["automanaged"],
  38. visibility = ["//visibility:private"],
  39. )
  40. filegroup(
  41. name = "all-srcs",
  42. srcs = [":package-srcs"],
  43. tags = ["automanaged"],
  44. visibility = ["//visibility:public"],
  45. )