123456789101112131415161718192021222324252627282930313233 |
- load("@io_bazel_rules_go//go:def.bzl", "go_library")
- go_library(
- name = "go_default_library",
- srcs = [
- "swbemservices.go",
- "wmi.go",
- ],
- importmap = "go-common/vendor/github.com/StackExchange/wmi",
- importpath = "github.com/StackExchange/wmi",
- visibility = ["//visibility:public"],
- deps = select({
- "@io_bazel_rules_go//go/platform:windows": [
- "//vendor/github.com/go-ole/go-ole:go_default_library",
- "//vendor/github.com/go-ole/go-ole/oleutil:go_default_library",
- ],
- "//conditions:default": [],
- }),
- )
- filegroup(
- name = "package-srcs",
- srcs = glob(["**"]),
- tags = ["automanaged"],
- visibility = ["//visibility:private"],
- )
- filegroup(
- name = "all-srcs",
- srcs = [":package-srcs"],
- tags = ["automanaged"],
- visibility = ["//visibility:public"],
- )
|