1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- load("@io_bazel_rules_go//go:def.bzl", "go_library")
- go_library(
- name = "go_default_library",
- srcs = [
- "decoder.go",
- "errors.go",
- "mmap_unix.go",
- "mmap_windows.go",
- "reader.go",
- "reader_other.go",
- "traverse.go",
- "verifier.go",
- ],
- importmap = "go-common/vendor/github.com/oschwald/maxminddb-golang",
- importpath = "github.com/oschwald/maxminddb-golang",
- visibility = ["//visibility:public"],
- deps = select({
- "@io_bazel_rules_go//go/platform:android": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:darwin": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:dragonfly": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:freebsd": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:linux": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:nacl": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:netbsd": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:openbsd": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:plan9": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:solaris": [
- "//vendor/golang.org/x/sys/unix:go_default_library",
- ],
- "@io_bazel_rules_go//go/platform:windows": [
- "//vendor/golang.org/x/sys/windows: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"],
- )
|