| # Copyright 2020 Google LLC |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # https://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| workspace(name = "rules_fuzzing") |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| # Load all external library dependencies. |
| |
| load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies") |
| |
| rules_fuzzing_dependencies(jazzer = True) |
| |
| load("@rules_fuzzing//fuzzing:init.bzl", "rules_fuzzing_init") |
| |
| rules_fuzzing_init() |
| |
| load("@fuzzing_py_deps//:requirements.bzl", "install_deps") |
| |
| install_deps() |
| |
| load("@jazzer//:repositories.bzl", "jazzer_dependencies") |
| |
| jazzer_dependencies() |
| |
| load("@jazzer//:init.bzl", "jazzer_init") |
| |
| jazzer_init() |
| |
| # The support for running the examples and unit tests. |
| |
| http_archive( |
| name = "re2", |
| sha256 = "f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f", |
| strip_prefix = "re2-2022-06-01", |
| url = "https://github.com/google/re2/archive/2022-06-01.tar.gz", |
| ) |
| |
| http_archive( |
| name = "com_google_googletest", |
| sha256 = "763e20249e76417bed7ebc44aa85fedf5fbac6f9fb6d30bddb628ab07ebf04f5", |
| strip_prefix = "googletest-389cb68b87193358358ae87cc56d257fd0d80189", |
| urls = ["https://github.com/google/googletest/archive/389cb68b87193358358ae87cc56d257fd0d80189.zip"], |
| ) |
| |
| # Stardoc dependencies. |
| |
| http_archive( |
| name = "io_bazel_stardoc", |
| sha256 = "9b09b3ee6181aa4b56c8bc863b1f1c922725298047d243cf19bc69e455ffa7c3", |
| strip_prefix = "stardoc-5986d24c478e81242627c6d688fdc547567bc93c", |
| url = "https://github.com/bazelbuild/stardoc/archive/5986d24c478e81242627c6d688fdc547567bc93c.zip", |
| ) |
| |
| load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") |
| |
| stardoc_repositories() |