BUILD.bazel 1000 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "auth.go",
  6. "bucket.go",
  7. "client.go",
  8. "conf.go",
  9. "conn.go",
  10. "const.go",
  11. "crc.go",
  12. "download.go",
  13. "error.go",
  14. "mime.go",
  15. "model.go",
  16. "multicopy.go",
  17. "multipart.go",
  18. "option.go",
  19. "progress.go",
  20. "transport_1_6.go",
  21. "transport_1_7.go",
  22. "type.go",
  23. "upload.go",
  24. "utils.go",
  25. ],
  26. importmap = "go-common/vendor/github.com/aliyun/aliyun-oss-go-sdk/oss",
  27. importpath = "github.com/aliyun/aliyun-oss-go-sdk/oss",
  28. visibility = ["//visibility:public"],
  29. )
  30. filegroup(
  31. name = "package-srcs",
  32. srcs = glob(["**"]),
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:private"],
  35. )
  36. filegroup(
  37. name = "all-srcs",
  38. srcs = [":package-srcs"],
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. )