BUILD.bazel 975 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "advapi32.go",
  6. "comctl32.go",
  7. "comdlg32.go",
  8. "constants.go",
  9. "dwmapi.go",
  10. "gdi32.go",
  11. "gdiplus.go",
  12. "idispatch.go",
  13. "istream.go",
  14. "iunknown.go",
  15. "kernel32.go",
  16. "ole32.go",
  17. "oleaut32.go",
  18. "opengl32.go",
  19. "psapi.go",
  20. "shell32.go",
  21. "typedef.go",
  22. "user32.go",
  23. "utils.go",
  24. "vars.go",
  25. ],
  26. importmap = "go-common/vendor/github.com/shirou/w32",
  27. importpath = "github.com/shirou/w32",
  28. visibility = ["//visibility:public"],
  29. )
  30. filegroup(
  31. name = "package-srcs",
  32. srcs = glob(["**"]),
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:private"],
  35. )
  36. filegroup(
  37. name = "all-srcs",
  38. srcs = [":package-srcs"],
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. )