33 lines
933 B
Python
33 lines
933 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "loaddata",
|
|
srcs = [
|
|
"dispatcher.go",
|
|
"job.go",
|
|
"proto.go",
|
|
"scheduler.go",
|
|
"subtask_executor.go",
|
|
"wrapper.go",
|
|
],
|
|
importpath = "github.com/pingcap/tidb/disttask/loaddata",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//br/pkg/lightning/backend",
|
|
"//br/pkg/lightning/backend/kv",
|
|
"//br/pkg/lightning/checkpoints",
|
|
"//br/pkg/lightning/common",
|
|
"//br/pkg/lightning/mydump",
|
|
"//disttask/framework/dispatcher",
|
|
"//disttask/framework/proto",
|
|
"//disttask/framework/scheduler",
|
|
"//disttask/framework/storage",
|
|
"//executor/asyncloaddata",
|
|
"//executor/importer",
|
|
"//table/tables",
|
|
"//util/logutil",
|
|
"@com_github_pingcap_errors//:errors",
|
|
"@org_uber_go_zap//:zap",
|
|
],
|
|
)
|