BUILD 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = [
  8. "app.go",
  9. "conf.go",
  10. "filter.go",
  11. ],
  12. importpath = "go-common/app/interface/bbq/app-bbq/conf",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//app/interface/bbq/app-bbq/api/http/v1:go_default_library",
  17. "//library/cache/redis:go_default_library",
  18. "//library/conf/paladin:go_default_library",
  19. "//library/database/sql:go_default_library",
  20. "//library/ecode/tip:go_default_library",
  21. "//library/log:go_default_library",
  22. "//library/log/infoc:go_default_library",
  23. "//library/net/http/blademaster:go_default_library",
  24. "//library/net/http/blademaster/middleware/antispam:go_default_library",
  25. "//library/net/http/blademaster/middleware/auth:go_default_library",
  26. "//library/net/http/blademaster/middleware/verify:go_default_library",
  27. "//library/net/rpc/warden:go_default_library",
  28. "//library/net/trace:go_default_library",
  29. "//vendor/github.com/BurntSushi/toml: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. )