Skip to content
Snippets Groups Projects
BUILD.bazel 960 B
Newer Older
Serge Bazanski's avatar
Serge Bazanski committed
load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = [
        "bolt_386.go",
        "bolt_amd64.go",
        "bolt_arm.go",
        "bolt_arm64.go",
        "bolt_linux.go",
        "bolt_openbsd.go",
        "bolt_ppc64.go",
        "bolt_ppc64le.go",
        "bolt_s390x.go",
        "bolt_unix.go",
        "bolt_unix_solaris.go",
        "bolt_windows.go",
        "boltsync_unix.go",
        "bucket.go",
        "cursor.go",
        "db.go",
        "doc.go",
        "errors.go",
        "freelist.go",
        "node.go",
        "page.go",
        "tx.go",
    ],
Daniel Czerwonk's avatar
Daniel Czerwonk committed
    importmap = "vendor/github.com/boltdb/bolt",
Serge Bazanski's avatar
Serge Bazanski committed
    importpath = "github.com/boltdb/bolt",
    visibility = ["//visibility:public"],
    deps = select({
        "@io_bazel_rules_go//go/platform:solaris": [
            "//vendor/golang.org/x/sys/unix:go_default_library",
        ],
        "//conditions:default": [],
    }),
)