1# Copyright 2021 Google LLC 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14# 15################################################################################ 16 17load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 18 19http_archive( 20 name = "fuzzing_rules_python", 21 url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz", 22 sha256 = "b6d46438523a3ec0f3cead544190ee13223a52f6a6765a29eae7b7cc24cc83a0", 23) 24 25http_archive( 26 name = "rules_fuzzing", 27 sha256 = "a5734cb42b1b69395c57e0bbd32ade394d5c3d6afbfe782b24816a96da24660d", 28 strip_prefix = "rules_fuzzing-0.1.1", 29 urls = ["https://github.com/bazelbuild/rules_fuzzing/archive/v0.1.1.zip"], 30 repo_mapping = { 31 "@rules_python": "@fuzzing_rules_python", 32 }, 33) 34 35load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies") 36 37rules_fuzzing_dependencies() 38 39load("@rules_fuzzing//fuzzing:init.bzl", "rules_fuzzing_init") 40 41rules_fuzzing_init() 42