forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
51 lines (49 loc) · 1.23 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
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "tablecodec",
srcs = ["tablecodec.go"],
importpath = "github.com/pingcap/tidb/tablecodec",
visibility = ["//visibility:public"],
deps = [
"//errno",
"//kv",
"//parser/charset",
"//parser/model",
"//parser/mysql",
"//parser/terror",
"//sessionctx/stmtctx",
"//structure",
"//types",
"//util/codec",
"//util/collate",
"//util/dbterror",
"//util/rowcodec",
"//util/stringutil",
"@com_github_pingcap_errors//:errors",
],
)
go_test(
name = "tablecodec_test",
timeout = "short",
srcs = [
"bench_test.go",
"main_test.go",
"tablecodec_test.go",
],
embed = [":tablecodec"],
deps = [
"//kv",
"//parser/mysql",
"//parser/terror",
"//sessionctx/stmtctx",
"//testkit/testsetup",
"//types",
"//util/benchdaily",
"//util/codec",
"//util/collate",
"//util/rowcodec",
"@com_github_pingcap_failpoint//:failpoint",
"@com_github_stretchr_testify//require",
"@org_uber_go_goleak//:goleak",
],
)