BUILD 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. "cache.go",
  9. "conf.go",
  10. "homepage.go",
  11. "search_sug.go",
  12. "zone.go",
  13. ],
  14. importpath = "go-common/app/interface/main/tv/conf",
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. deps = [
  18. "//app/interface/main/tv/model:go_default_library",
  19. "//library/cache/memcache:go_default_library",
  20. "//library/cache/redis:go_default_library",
  21. "//library/conf:go_default_library",
  22. "//library/database/sql:go_default_library",
  23. "//library/ecode/tip:go_default_library",
  24. "//library/log:go_default_library",
  25. "//library/net/http/blademaster:go_default_library",
  26. "//library/net/http/blademaster/middleware/auth:go_default_library",
  27. "//library/net/http/blademaster/middleware/verify:go_default_library",
  28. "//library/net/rpc:go_default_library",
  29. "//library/net/rpc/warden:go_default_library",
  30. "//library/net/trace:go_default_library",
  31. "//library/time:go_default_library",
  32. "//vendor/github.com/BurntSushi/toml: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. )