BUILD 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 = ["monkey_dao.go"],
  9. importpath = "go-common/app/admin/main/apm/dao/mock",
  10. tags = ["automanaged"],
  11. visibility = ["//visibility:public"],
  12. deps = [
  13. "//app/admin/main/apm/dao:go_default_library",
  14. "//app/admin/main/apm/model/canal:go_default_library",
  15. "//app/admin/main/apm/model/ecode:go_default_library",
  16. "//app/admin/main/apm/model/need:go_default_library",
  17. "//app/admin/main/apm/model/pprof:go_default_library",
  18. "//app/admin/main/apm/model/ut:go_default_library",
  19. "//vendor/github.com/bouk/monkey:go_default_library",
  20. ],
  21. )
  22. filegroup(
  23. name = "package-srcs",
  24. srcs = glob(["**"]),
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:private"],
  27. )
  28. filegroup(
  29. name = "all-srcs",
  30. srcs = [":package-srcs"],
  31. tags = ["automanaged"],
  32. visibility = ["//visibility:public"],
  33. )