go-common/vendor/github.com/GRbit/go-pcre/BUILD.bazel
2019-04-22 02:59:20 +00:00

26 lines
593 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["pcre.go"],
cdeps = ["@pcre//:pcre"],
cgo = True,
importmap = "go-common/vendor/github.com/GRbit/go-pcre",
importpath = "github.com/GRbit/go-pcre",
visibility = ["//visibility:public"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)