blob: 5fb274d435bd35e895608cc69c215fad54f8ac5d [file] [log] [blame]
# 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",
"honggfuzz_dependencies",
"oss_fuzz_dependencies",
"rules_fuzzing_dependencies",
)
rules_fuzzing_dependencies()
honggfuzz_dependencies()
oss_fuzz_dependencies()
# Initialize Bazel Skylib.
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
# The support for running the examples and unit tests.
http_archive(
name = "re2",
sha256 = "8903cc66c9d34c72e2bc91722288ebc7e3ec37787ecfef44d204b2d6281954d7",
strip_prefix = "re2-2020-11-01",
url = "https://github.com/google/re2/archive/2020-11-01.tar.gz",
)
http_archive(
name = "com_google_googletest",
sha256 = "763e20249e76417bed7ebc44aa85fedf5fbac6f9fb6d30bddb628ab07ebf04f5",
strip_prefix = "googletest-389cb68b87193358358ae87cc56d257fd0d80189",
urls = ["https://github.com/google/googletest/archive/389cb68b87193358358ae87cc56d257fd0d80189.zip"],
)
# Python dependencies.
load("@rules_python//python:pip.bzl", "pip_install")
load("@rules_python//python:repositories.bzl", "py_repositories")
py_repositories()
pip_install(
name = "fuzzing_py_deps",
requirements = "@rules_fuzzing//fuzzing:requirements.txt",
)
# 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()