Max Spector | 50c3d67 | 2019-10-21 11:40:43 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
Tom Cherry | 3c065b7 | 2020-06-19 14:01:16 -0700 | [diff] [blame] | 16 | |
Bob Badour | 7ca20c1 | 2021-02-03 18:29:06 -0800 | [diff] [blame] | 17 | package { |
| 18 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 19 | } |
| 20 | |
Elliott Hughes | 225e5c6 | 2022-09-16 23:01:59 +0000 | [diff] [blame] | 21 | cc_fuzz { |
| 22 | name: "serialized_log_buffer_fuzzer", |
Max Spector | a8b435d | 2019-10-21 11:40:43 -0700 | [diff] [blame] | 23 | static_libs: [ |
| 24 | "libbase", |
| 25 | "libcutils", |
| 26 | "libselinux", |
| 27 | "liblog", |
| 28 | "liblogd", |
| 29 | "libcutils", |
Tom Cherry | fb150dd | 2020-05-13 09:28:37 -0700 | [diff] [blame] | 30 | "libz", |
| 31 | "libzstd", |
Max Spector | a8b435d | 2019-10-21 11:40:43 -0700 | [diff] [blame] | 32 | ], |
Wenhao Wang | b1f6c6c | 2021-11-19 16:42:43 -0800 | [diff] [blame] | 33 | shared_libs: [ |
| 34 | "libbinder", |
| 35 | "libutils", |
| 36 | ], |
Tom Cherry | 3c065b7 | 2020-06-19 14:01:16 -0700 | [diff] [blame] | 37 | cflags: ["-Wextra"], |
| 38 | host_supported: true, |
Tom Cherry | 3c065b7 | 2020-06-19 14:01:16 -0700 | [diff] [blame] | 39 | srcs: [ |
| 40 | "serialized_log_buffer_fuzzer.cpp", |
| 41 | ], |
Tom Cherry | 682fb3e | 2020-06-24 11:47:49 -0700 | [diff] [blame] | 42 | corpus: [ |
| 43 | "corpus/logentry_use_after_compress", |
Elliott Hughes | 225e5c6 | 2022-09-16 23:01:59 +0000 | [diff] [blame] | 44 | ], |
Max Spector | a8b435d | 2019-10-21 11:40:43 -0700 | [diff] [blame] | 45 | } |