WORKSPACE 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. workspace(name = "com_google_protobuf")
  2. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
  3. new_local_repository(
  4. name = "submodule_gmock",
  5. build_file = "@//:third_party/googletest/BUILD.bazel",
  6. path = "third_party/googletest",
  7. )
  8. http_archive(
  9. name = "six_archive",
  10. build_file = "@//:six.BUILD",
  11. sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
  12. urls = ["https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55"],
  13. )
  14. http_archive(
  15. name = "bazel_skylib",
  16. sha256 = "bbccf674aa441c266df9894182d80de104cabd19be98be002f6d478aaa31574d",
  17. strip_prefix = "bazel-skylib-2169ae1c374aab4a09aa90e65efe1a3aad4e279b",
  18. urls = ["https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz"],
  19. )
  20. http_archive(
  21. name = "net_zlib",
  22. build_file = "//:third_party/zlib.BUILD",
  23. sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
  24. strip_prefix = "zlib-1.2.11",
  25. urls = ["https://zlib.net/zlib-1.2.11.tar.gz"],
  26. )
  27. bind(
  28. name = "python_headers",
  29. actual = "//util/python:python_headers",
  30. )
  31. bind(
  32. name = "gtest",
  33. actual = "@submodule_gmock//:gtest",
  34. )
  35. bind(
  36. name = "gtest_main",
  37. actual = "@submodule_gmock//:gtest_main",
  38. )
  39. bind(
  40. name = "six",
  41. actual = "@six_archive//:six",
  42. )
  43. maven_jar(
  44. name = "guava_maven",
  45. artifact = "com.google.guava:guava:18.0",
  46. )
  47. bind(
  48. name = "guava",
  49. actual = "@guava_maven//jar",
  50. )
  51. maven_jar(
  52. name = "gson_maven",
  53. artifact = "com.google.code.gson:gson:2.7",
  54. )
  55. bind(
  56. name = "gson",
  57. actual = "@gson_maven//jar",
  58. )
  59. bind(
  60. name = "zlib",
  61. actual = "@net_zlib//:zlib",
  62. )