BUILD 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package(default_visibility = ["//visibility:public"])
  2. licenses(["notice"])
  3. load(
  4. "@io_bazel_rules_go//go:def.bzl",
  5. "go_library",
  6. "go_test",
  7. )
  8. go_test(
  9. name = "go_default_test",
  10. srcs = [
  11. "directed_acyclic_test.go",
  12. "edgeholder_test.go",
  13. "undirected_test.go",
  14. ],
  15. embed = [":go_default_library"],
  16. deps = ["//third_party/forked/gonum/graph:go_default_library"],
  17. )
  18. go_library(
  19. name = "go_default_library",
  20. srcs = [
  21. "directed_acyclic.go",
  22. "edgeholder.go",
  23. "simple.go",
  24. "undirected.go",
  25. ],
  26. importpath = "k8s.io/kubernetes/third_party/forked/gonum/graph/simple",
  27. deps = [
  28. "//third_party/forked/gonum/graph:go_default_library",
  29. "//vendor/golang.org/x/tools/container/intsets: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. )