BUILD 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. "contribute.go",
  10. "mine.go",
  11. "space.go",
  12. ],
  13. importpath = "go-common/app/interface/main/app-interface/model/space",
  14. tags = ["automanaged"],
  15. visibility = ["//visibility:public"],
  16. deps = [
  17. "//app/interface/main/app-interface/model:go_default_library",
  18. "//app/interface/main/app-interface/model/audio:go_default_library",
  19. "//app/interface/main/app-interface/model/bangumi:go_default_library",
  20. "//app/interface/main/app-interface/model/bplus:go_default_library",
  21. "//app/interface/main/app-interface/model/community:go_default_library",
  22. "//app/interface/main/app-interface/model/elec:go_default_library",
  23. "//app/interface/main/app-interface/model/favorite:go_default_library",
  24. "//app/interface/main/tag/model:go_default_library",
  25. "//app/interface/openplatform/article/model:go_default_library",
  26. "//app/service/main/account/api:go_default_library",
  27. "//app/service/main/account/model:go_default_library",
  28. "//app/service/main/archive/api:go_default_library",
  29. "//library/time: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. )