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

42 lines
1.3 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"helpers.go",
"raw.go",
],
importmap = "go-common/vendor/github.com/mailru/easyjson",
importpath = "github.com/mailru/easyjson",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/mailru/easyjson/jlexer:go_default_library",
"//vendor/github.com/mailru/easyjson/jwriter:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//vendor/github.com/mailru/easyjson/benchmark:all-srcs",
"//vendor/github.com/mailru/easyjson/bootstrap:all-srcs",
"//vendor/github.com/mailru/easyjson/buffer:all-srcs",
"//vendor/github.com/mailru/easyjson/easyjson:all-srcs",
"//vendor/github.com/mailru/easyjson/gen:all-srcs",
"//vendor/github.com/mailru/easyjson/jlexer:all-srcs",
"//vendor/github.com/mailru/easyjson/jwriter:all-srcs",
"//vendor/github.com/mailru/easyjson/opt:all-srcs",
"//vendor/github.com/mailru/easyjson/parser:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)