1// Copyright 2022, The Android Open Source Project 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 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19rust_fuzz { 20 name: "hex_encoding_fuzzer", 21 srcs: ["hex_encoding_fuzzer.rs"], 22 rustlibs: [ 23 "libhex", 24 ], 25 fuzz_config: { 26 cc: [ 27 "aliceywang@google.com", 28 ], 29 fuzz_on_haiku_device: true, 30 fuzz_on_haiku_host: true, 31 }, 32} 33 34rust_fuzz { 35 name: "hex_decoding_fuzzer", 36 srcs: ["hex_decoding_fuzzer.rs"], 37 rustlibs: [ 38 "libhex", 39 ], 40 fuzz_config: { 41 cc: [ 42 "aliceywang@google.com", 43 ], 44 fuzz_on_haiku_device: true, 45 fuzz_on_haiku_host: false, 46 }, 47}