127 lines
4.5 KiB
Python
127 lines
4.5 KiB
Python
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_test",
|
|
"go_library",
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"archive_test.go",
|
|
"extra_func_test.go",
|
|
"flow_test.go",
|
|
"history_test.go",
|
|
"monitor_test.go",
|
|
"pgc_test.go",
|
|
"search_test.go",
|
|
"service_test.go",
|
|
"task_qa_video_test.go",
|
|
"task_test.go",
|
|
"track_test.go",
|
|
"util_test.go",
|
|
"video_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//app/admin/main/videoup/conf:go_default_library",
|
|
"//app/admin/main/videoup/model/archive:go_default_library",
|
|
"//app/admin/main/videoup/model/monitor:go_default_library",
|
|
"//app/admin/main/videoup/model/search:go_default_library",
|
|
"//app/admin/main/videoup/model/utils:go_default_library",
|
|
"//library/net/http/blademaster:go_default_library",
|
|
"//library/queue/databus/report:go_default_library",
|
|
"//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"archive.go",
|
|
"databus.go",
|
|
"extra_func.go",
|
|
"flow.go",
|
|
"history.go",
|
|
"log.go",
|
|
"monitor.go",
|
|
"mult_sync.go",
|
|
"oper.go",
|
|
"oversea.go",
|
|
"pgc.go",
|
|
"porder.go",
|
|
"search.go",
|
|
"service.go",
|
|
"staff.go",
|
|
"stats.go",
|
|
"task.go",
|
|
"task_consumer.go",
|
|
"task_dispatch.go",
|
|
"task_qa_video.go",
|
|
"task_role.go",
|
|
"task_weight.go",
|
|
"track.go",
|
|
"tx.go",
|
|
"util.go",
|
|
"video.go",
|
|
],
|
|
importpath = "go-common/app/admin/main/videoup/service",
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//app/admin/main/videoup/conf:go_default_library",
|
|
"//app/admin/main/videoup/dao/archive:go_default_library",
|
|
"//app/admin/main/videoup/dao/data:go_default_library",
|
|
"//app/admin/main/videoup/dao/databus:go_default_library",
|
|
"//app/admin/main/videoup/dao/manager:go_default_library",
|
|
"//app/admin/main/videoup/dao/monitor:go_default_library",
|
|
"//app/admin/main/videoup/dao/music:go_default_library",
|
|
"//app/admin/main/videoup/dao/oversea:go_default_library",
|
|
"//app/admin/main/videoup/dao/search:go_default_library",
|
|
"//app/admin/main/videoup/dao/staff:go_default_library",
|
|
"//app/admin/main/videoup/dao/tag:go_default_library",
|
|
"//app/admin/main/videoup/dao/task:go_default_library",
|
|
"//app/admin/main/videoup/dao/track:go_default_library",
|
|
"//app/admin/main/videoup/model/archive:go_default_library",
|
|
"//app/admin/main/videoup/model/manager:go_default_library",
|
|
"//app/admin/main/videoup/model/message:go_default_library",
|
|
"//app/admin/main/videoup/model/monitor:go_default_library",
|
|
"//app/admin/main/videoup/model/music:go_default_library",
|
|
"//app/admin/main/videoup/model/oversea:go_default_library",
|
|
"//app/admin/main/videoup/model/search:go_default_library",
|
|
"//app/admin/main/videoup/model/track:go_default_library",
|
|
"//app/admin/main/videoup/model/up:go_default_library",
|
|
"//app/admin/main/videoup/model/utils:go_default_library",
|
|
"//app/interface/main/tag/model:go_default_library",
|
|
"//app/service/main/account/api:go_default_library",
|
|
"//app/service/main/up/api/v1:go_default_library",
|
|
"//library/database/elastic:go_default_library",
|
|
"//library/database/sql:go_default_library",
|
|
"//library/ecode:go_default_library",
|
|
"//library/log:go_default_library",
|
|
"//library/net/http/blademaster:go_default_library",
|
|
"//library/net/http/blademaster/middleware/permit:go_default_library",
|
|
"//library/queue/databus:go_default_library",
|
|
"//library/queue/databus/report:go_default_library",
|
|
"//library/sync/errgroup:go_default_library",
|
|
"//library/time:go_default_library",
|
|
"//library/xstr:go_default_library",
|
|
"//vendor/github.com/jinzhu/gorm:go_default_library",
|
|
"//vendor/github.com/pkg/errors:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|