BUILD 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = [
  10. "blacklist_test.go",
  11. "cheat_test.go",
  12. "combinemails_test.go",
  13. "data_test.go",
  14. "httpClient_test.go",
  15. "income_test.go",
  16. "recompute_test.go",
  17. "service_test.go",
  18. "tag_test.go",
  19. "tagincome_test.go",
  20. ],
  21. embed = [":go_default_library"],
  22. rundir = ".",
  23. tags = ["automanaged"],
  24. deps = [
  25. "//app/job/main/growup/conf:go_default_library",
  26. "//app/job/main/growup/service/ctrl:go_default_library",
  27. "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
  28. ],
  29. )
  30. go_library(
  31. name = "go_default_library",
  32. srcs = [
  33. "auto.go",
  34. "blacklist.go",
  35. "cheat.go",
  36. "combinemails.go",
  37. "creative_activity.go",
  38. "creative_budget.go",
  39. "data.go",
  40. "databus.go",
  41. "format.go",
  42. "httpClient.go",
  43. "income.go",
  44. "lottery.go",
  45. "recompute.go",
  46. "sendincome.go",
  47. "service.go",
  48. "signedups.go",
  49. "tag.go",
  50. "tagincome.go",
  51. "task_status.go",
  52. "tax.go",
  53. "tool.go",
  54. "topten.go",
  55. "up.go",
  56. "up_bill.go",
  57. "upload.go",
  58. "video.go",
  59. ],
  60. importpath = "go-common/app/job/main/growup/service",
  61. tags = ["automanaged"],
  62. visibility = ["//visibility:public"],
  63. deps = [
  64. "//app/job/main/growup/conf:go_default_library",
  65. "//app/job/main/growup/dao:go_default_library",
  66. "//app/job/main/growup/dao/charge:go_default_library",
  67. "//app/job/main/growup/dao/dataplatform:go_default_library",
  68. "//app/job/main/growup/dao/email:go_default_library",
  69. "//app/job/main/growup/dao/income:go_default_library",
  70. "//app/job/main/growup/dao/tag:go_default_library",
  71. "//app/job/main/growup/model:go_default_library",
  72. "//app/job/main/growup/model/income:go_default_library",
  73. "//app/job/main/growup/service/ctrl:go_default_library",
  74. "//library/database/sql:go_default_library",
  75. "//library/ecode:go_default_library",
  76. "//library/log:go_default_library",
  77. "//library/queue/databus:go_default_library",
  78. "//library/time:go_default_library",
  79. "//library/xstr:go_default_library",
  80. "//vendor/golang.org/x/sync/errgroup:go_default_library",
  81. ],
  82. )
  83. filegroup(
  84. name = "package-srcs",
  85. srcs = glob(["**"]),
  86. tags = ["automanaged"],
  87. visibility = ["//visibility:private"],
  88. )
  89. filegroup(
  90. name = "all-srcs",
  91. srcs = [
  92. ":package-srcs",
  93. "//app/job/main/growup/service/charge:all-srcs",
  94. "//app/job/main/growup/service/ctrl:all-srcs",
  95. "//app/job/main/growup/service/income:all-srcs",
  96. "//app/job/main/growup/service/tag:all-srcs",
  97. ],
  98. tags = ["automanaged"],
  99. visibility = ["//visibility:public"],
  100. )