BUILD 1021 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "doc.go",
  6. "topology.go",
  7. ],
  8. importpath = "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology",
  9. visibility = ["//visibility:public"],
  10. deps = [
  11. "//pkg/kubelet/cm/cpuset:go_default_library",
  12. "//vendor/github.com/google/cadvisor/info/v1:go_default_library",
  13. "//vendor/k8s.io/klog:go_default_library",
  14. ],
  15. )
  16. filegroup(
  17. name = "package-srcs",
  18. srcs = glob(["**"]),
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:private"],
  21. )
  22. filegroup(
  23. name = "all-srcs",
  24. srcs = [":package-srcs"],
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. )
  28. go_test(
  29. name = "go_default_test",
  30. srcs = ["topology_test.go"],
  31. embed = [":go_default_library"],
  32. deps = [
  33. "//pkg/kubelet/cm/cpuset:go_default_library",
  34. "//vendor/github.com/google/cadvisor/info/v1:go_default_library",
  35. ],
  36. )