26 lines
654 B
Python
26 lines
654 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "testbridge",
|
|
srcs = ["bridge.go"],
|
|
importpath = "github.com/pingcap/tidb/util/testbridge",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@com_github_pingcap_log//:log",
|
|
"@org_uber_go_zap//:zap",
|
|
"@org_uber_go_zap//zapcore",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "testsetup",
|
|
srcs = ["bridge.go"],
|
|
importpath = "github.com/pingcap/tidb/testkit/testsetup",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@com_github_pingcap_log//:log",
|
|
"@org_uber_go_zap//:zap",
|
|
"@org_uber_go_zap//zapcore",
|
|
],
|
|
)
|