42 lines
1.2 KiB
Python
Raw Permalink Normal View History

2019-04-22 02:59:20 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"appengine.go",
"appengine_vm.go",
"errors.go",
"identity.go",
"namespace.go",
"timeout.go",
],
importmap = "go-common/vendor/google.golang.org/appengine",
importpath = "google.golang.org/appengine",
visibility = ["//visibility:public"],
deps = [
"//vendor/google.golang.org/appengine/internal:go_default_library",
"//vendor/google.golang.org/appengine/internal/app_identity:go_default_library",
"//vendor/google.golang.org/appengine/internal/modules:go_default_library",
"@com_github_golang_protobuf//proto:go_default_library",
"@org_golang_x_net//context:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//vendor/google.golang.org/appengine/internal:all-srcs",
"//vendor/google.golang.org/appengine/urlfetch:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)