diff options
Diffstat (limited to 'contrib/libcbor/examples/bazel/WORKSPACE')
-rw-r--r-- | contrib/libcbor/examples/bazel/WORKSPACE | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/libcbor/examples/bazel/WORKSPACE b/contrib/libcbor/examples/bazel/WORKSPACE new file mode 100644 index 000000000000..c7601f3035ff --- /dev/null +++ b/contrib/libcbor/examples/bazel/WORKSPACE @@ -0,0 +1,19 @@ +workspace(name = "libcbor_bazel_example") + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +# Google Test +http_archive( + name = "gtest", + sha256 = "94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91", + strip_prefix = "googletest-release-1.10.0", + url = "https://github.com/google/googletest/archive/release-1.10.0.zip", +) + +# libcbor +new_local_repository( + name = "libcbor", + build_file = "//third_party:libcbor.BUILD", + path = "../../src", +) + |