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

33 lines
776 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"doc.go",
"oauth2.go",
"token.go",
"transport.go",
],
importmap = "go-common/vendor/golang.org/x/oauth2/internal",
importpath = "golang.org/x/oauth2/internal",
visibility = ["//visibility:public"],
deps = [
"@org_golang_x_net//context:go_default_library",
"@org_golang_x_net//context/ctxhttp: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"],
)