Corbin Souffrant | 84f5c0f | 2020-06-26 00:42:43 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2020 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 | // |
| 16 | |
| 17 | cc_defaults { |
| 18 | name: "binder_fuzz_defaults", |
| 19 | host_supported: true, |
| 20 | cflags: [ |
| 21 | "-Wall", |
| 22 | "-Werror", |
| 23 | ], |
| 24 | shared_libs: [ |
| 25 | "libbinder", |
| 26 | "libutils", |
| 27 | "libbase", |
| 28 | ], |
| 29 | } |
| 30 | |
| 31 | cc_fuzz { |
| 32 | name: "binder_binderFuzz", |
| 33 | defaults: ["binder_fuzz_defaults"], |
| 34 | srcs: ["BinderFuzz.cpp"], |
| 35 | } |
| 36 | |
| 37 | cc_fuzz { |
| 38 | name: "binder_bpBinderFuzz", |
| 39 | defaults: ["binder_fuzz_defaults"], |
| 40 | host_supported: false, |
| 41 | srcs: ["BpBinderFuzz.cpp"], |
| 42 | } |
| 43 | |
| 44 | cc_fuzz { |
| 45 | name: "binder_persistableBundleFuzz", |
| 46 | defaults: ["binder_fuzz_defaults"], |
| 47 | srcs: ["PersistableBundleFuzz.cpp"], |
| 48 | } |
| 49 | |
| 50 | cc_fuzz { |
| 51 | name: "binder_stabilityFuzz", |
| 52 | defaults: ["binder_fuzz_defaults"], |
| 53 | srcs: ["StabilityFuzz.cpp"], |
| 54 | } |
| 55 | |
| 56 | cc_fuzz { |
| 57 | name: "binder_statusFuzz", |
| 58 | defaults: ["binder_fuzz_defaults"], |
| 59 | srcs: ["StatusFuzz.cpp"], |
| 60 | } |
| 61 | |
| 62 | cc_fuzz { |
| 63 | name: "binder_textOutputFuzz", |
| 64 | defaults: ["binder_fuzz_defaults"], |
| 65 | srcs: ["TextOutputFuzz.cpp"], |
| 66 | } |