BUILD 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. load("//build:bindata.bzl", "go_bindata")
  7. go_library(
  8. name = "go_default_library",
  9. srcs = [
  10. "bindata.go",
  11. "gobindata_util.go",
  12. "main.go",
  13. ],
  14. importpath = "k8s.io/kubernetes/test/e2e/generated",
  15. deps = [
  16. "//vendor/k8s.io/klog:go_default_library",
  17. ],
  18. )
  19. # IMPORTANT: if you make any changes here, you must also update hack/generate-bindata.sh.
  20. go_bindata(
  21. name = "bindata",
  22. srcs = [
  23. "//test/e2e/testing-manifests:all-srcs",
  24. "//test/e2e_node/testing-manifests:all-srcs",
  25. "//test/fixtures:all-srcs",
  26. "//test/images:all-srcs",
  27. ],
  28. outs = ["bindata.go"],
  29. compress = True,
  30. include_metadata = False,
  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. )