forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
62 lines (60 loc) · 1.5 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "extension",
srcs = [
"extensions.go",
"function.go",
"manifest.go",
"registry.go",
"session.go",
"util.go",
],
importpath = "github.com/pingcap/tidb/extension",
visibility = ["//visibility:public"],
deps = [
"//parser",
"//parser/ast",
"//parser/auth",
"//parser/mysql",
"//sessionctx/stmtctx",
"//sessionctx/variable",
"//types",
"//util/chunk",
"@com_github_ngaut_pools//:pools",
"@com_github_pingcap_errors//:errors",
"@io_etcd_go_etcd_client_v3//:client",
],
)
go_test(
name = "extension_test",
timeout = "short",
srcs = [
"bootstrap_test.go",
"event_listener_test.go",
"function_test.go",
"main_test.go",
"registry_test.go",
],
embed = [":extension"],
flaky = True,
deps = [
"//expression",
"//parser/ast",
"//parser/auth",
"//parser/mysql",
"//privilege/privileges",
"//server",
"//sessionctx",
"//sessionctx/sessionstates",
"//sessionctx/stmtctx",
"//sessionctx/variable",
"//testkit",
"//testkit/testsetup",
"//types",
"//util/chunk",
"//util/sem",
"@com_github_pingcap_errors//:errors",
"@com_github_stretchr_testify//require",
"@org_uber_go_goleak//:goleak",
],
)