134 lines
4.7 KiB
Python
134 lines
4.7 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_test",
|
|
"go_library",
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"advance_test.go",
|
|
"advert_test.go",
|
|
"archive_test.go",
|
|
"dm_history_test.go",
|
|
"dm_manage_test.go",
|
|
"dm_seg_test.go",
|
|
"dm_test.go",
|
|
"dmpost_test.go",
|
|
"filter_test.go",
|
|
"mask_test.go",
|
|
"member_test.go",
|
|
"service_test.go",
|
|
"subject_test.go",
|
|
"subtitle_test.go",
|
|
"thumbup_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//app/interface/main/dm2/conf:go_default_library",
|
|
"//app/interface/main/dm2/model:go_default_library",
|
|
"//app/service/main/account/api:go_default_library",
|
|
"//app/service/main/member/model/block:go_default_library",
|
|
"//library/ecode:go_default_library",
|
|
"//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"account.go",
|
|
"advance.go",
|
|
"advert.go",
|
|
"archive.go",
|
|
"bnj.go",
|
|
"dm.go",
|
|
"dm_history.go",
|
|
"dm_manage.go",
|
|
"dm_seg.go",
|
|
"dm_seg_v2.go",
|
|
"dmpost.go",
|
|
"filter.go",
|
|
"mask.go",
|
|
"member.go",
|
|
"service.go",
|
|
"subject.go",
|
|
"subtitle.go",
|
|
"subtitle_audit.go",
|
|
"subtitle_check.go",
|
|
"subtitle_get.go",
|
|
"subtitle_lan.go",
|
|
"subtitle_report.go",
|
|
"subtitle_save.go",
|
|
"subtitle_search.go",
|
|
"subtitle_subject.go",
|
|
"subtitle_video.go",
|
|
"thumbup.go",
|
|
"view.go",
|
|
"wave_form.go",
|
|
],
|
|
importpath = "go-common/app/interface/main/dm2/service",
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//app/interface/main/dm2/conf:go_default_library",
|
|
"//app/interface/main/dm2/dao:go_default_library",
|
|
"//app/interface/main/dm2/lib/xregex:go_default_library",
|
|
"//app/interface/main/dm2/model:go_default_library",
|
|
"//app/interface/main/dm2/model/oplog:go_default_library",
|
|
"//app/service/main/account/api:go_default_library",
|
|
"//app/service/main/archive/api:go_default_library",
|
|
"//app/service/main/archive/api/gorpc:go_default_library",
|
|
"//app/service/main/archive/model/archive:go_default_library",
|
|
"//app/service/main/assist/model/assist:go_default_library",
|
|
"//app/service/main/assist/rpc/client:go_default_library",
|
|
"//app/service/main/coin/api/gorpc:go_default_library",
|
|
"//app/service/main/coin/model:go_default_library",
|
|
"//app/service/main/figure/model:go_default_library",
|
|
"//app/service/main/figure/rpc/client:go_default_library",
|
|
"//app/service/main/filter/api/grpc/v1:go_default_library",
|
|
"//app/service/main/location/model:go_default_library",
|
|
"//app/service/main/location/rpc/client:go_default_library",
|
|
"//app/service/main/member/api/gorpc:go_default_library",
|
|
"//app/service/main/member/model/block:go_default_library",
|
|
"//app/service/main/relation/model:go_default_library",
|
|
"//app/service/main/relation/rpc/client:go_default_library",
|
|
"//app/service/main/seq-server/model:go_default_library",
|
|
"//app/service/main/seq-server/rpc/client:go_default_library",
|
|
"//app/service/main/spy/model:go_default_library",
|
|
"//app/service/main/spy/rpc/client:go_default_library",
|
|
"//app/service/main/thumbup/api:go_default_library",
|
|
"//app/service/main/ugcpay/api/grpc/v1:go_default_library",
|
|
"//app/service/openplatform/pgc-season/api/grpc/season/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/log/infoc:go_default_library",
|
|
"//library/net/metadata:go_default_library",
|
|
"//library/sync/errgroup:go_default_library",
|
|
"//library/sync/pipeline/fanout:go_default_library",
|
|
"//library/time:go_default_library",
|
|
"//library/xstr:go_default_library",
|
|
"//vendor/github.com/zhenjl/cityhash:go_default_library",
|
|
"//vendor/golang.org/x/sync/singleflight: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"],
|
|
)
|