43 lines
1.0 KiB
Python
43 lines
1.0 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"basetypes.go",
|
|
"config.go",
|
|
"doc.go",
|
|
"export.go",
|
|
"sampling.go",
|
|
"spanbucket.go",
|
|
"spanstore.go",
|
|
"status_codes.go",
|
|
"trace.go",
|
|
"trace_go11.go",
|
|
"trace_nongo11.go",
|
|
],
|
|
importmap = "k8s.io/test-infra/vendor/go.opencensus.io/trace",
|
|
importpath = "go.opencensus.io/trace",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/go.opencensus.io/internal:go_default_library",
|
|
"//vendor/go.opencensus.io/trace/internal:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//vendor/go.opencensus.io/trace/internal:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|