BUILD 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 = ["const.go"],
  9. importpath = "go-common/app/interface/main/app-resource/model",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = ["//app/interface/main/app-resource/model/tab:go_default_library"],
  13. )
  14. filegroup(
  15. name = "package-srcs",
  16. srcs = glob(["**"]),
  17. tags = ["automanaged"],
  18. visibility = ["//visibility:private"],
  19. )
  20. filegroup(
  21. name = "all-srcs",
  22. srcs = [
  23. ":package-srcs",
  24. "//app/interface/main/app-resource/model/abtest:all-srcs",
  25. "//app/interface/main/app-resource/model/broadcast:all-srcs",
  26. "//app/interface/main/app-resource/model/domain:all-srcs",
  27. "//app/interface/main/app-resource/model/experiment:all-srcs",
  28. "//app/interface/main/app-resource/model/guide:all-srcs",
  29. "//app/interface/main/app-resource/model/module:all-srcs",
  30. "//app/interface/main/app-resource/model/notice:all-srcs",
  31. "//app/interface/main/app-resource/model/param:all-srcs",
  32. "//app/interface/main/app-resource/model/plugin:all-srcs",
  33. "//app/interface/main/app-resource/model/show:all-srcs",
  34. "//app/interface/main/app-resource/model/sidebar:all-srcs",
  35. "//app/interface/main/app-resource/model/splash:all-srcs",
  36. "//app/interface/main/app-resource/model/static:all-srcs",
  37. "//app/interface/main/app-resource/model/tab:all-srcs",
  38. "//app/interface/main/app-resource/model/version:all-srcs",
  39. ],
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:public"],
  42. )