2019-04-22 02:59:20 +00:00

29 lines
853 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["journal.go"],
importmap = "go-common/vendor/github.com/syndtr/goleveldb/leveldb/journal",
importpath = "github.com/syndtr/goleveldb/leveldb/journal",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/syndtr/goleveldb/leveldb/errors:go_default_library",
"//vendor/github.com/syndtr/goleveldb/leveldb/storage:go_default_library",
"//vendor/github.com/syndtr/goleveldb/leveldb/util:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)