BUILD 983 B

123456789101112131415161718192021222324252627282930313233343536
  1. load(
  2. "@io_bazel_rules_go//go:def.bzl",
  3. "go_library",
  4. )
  5. go_library(
  6. name = "go_default_library",
  7. srcs = ["conf.go"],
  8. importpath = "go-common/app/job/main/passport-encrypt/conf",
  9. tags = ["automanaged"],
  10. visibility = ["//visibility:public"],
  11. deps = [
  12. "//library/conf:go_default_library",
  13. "//library/database/sql:go_default_library",
  14. "//library/log:go_default_library",
  15. "//library/net/http/blademaster:go_default_library",
  16. "//library/net/trace:go_default_library",
  17. "//library/queue/databus:go_default_library",
  18. "//library/time:go_default_library",
  19. "//vendor/github.com/BurntSushi/toml:go_default_library",
  20. ],
  21. )
  22. filegroup(
  23. name = "package-srcs",
  24. srcs = glob(["**"]),
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:private"],
  27. )
  28. filegroup(
  29. name = "all-srcs",
  30. srcs = [":package-srcs"],
  31. tags = ["automanaged"],
  32. visibility = ["//visibility:public"],
  33. )