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. "cardpreview.go",
  10. "cardtype.go",
  11. "common.go",
  12. "log.go",
  13. ],
  14. importpath = "go-common/app/admin/main/feed/service/common",
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:public"],
  17. deps = [
  18. "//app/admin/main/feed/conf:go_default_library",
  19. "//app/admin/main/feed/dao/account:go_default_library",
  20. "//app/admin/main/feed/dao/archive:go_default_library",
  21. "//app/admin/main/feed/dao/pgc:go_default_library",
  22. "//app/admin/main/feed/dao/show:go_default_library",
  23. "//app/admin/main/feed/model/common:go_default_library",
  24. "//app/admin/main/feed/model/show:go_default_library",
  25. "//app/admin/main/search/model:go_default_library",
  26. "//app/service/main/account/model:go_default_library",
  27. "//app/service/main/archive/api:go_default_library",
  28. "//app/service/openplatform/pgc-season/api/grpc/season/v1:go_default_library",
  29. "//library/ecode:go_default_library",
  30. "//library/log:go_default_library",
  31. "//library/net/http/blademaster: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. )