blob: fa387dfb5e1dfb333e95cbb429d6f4c7d2e7e5a2 [file] [log] [blame]
Corbin Souffrant84f5c0f2020-06-26 00:42:43 -07001//
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
17cc_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
31cc_fuzz {
32 name: "binder_binderFuzz",
33 defaults: ["binder_fuzz_defaults"],
34 srcs: ["BinderFuzz.cpp"],
35}
36
37cc_fuzz {
38 name: "binder_bpBinderFuzz",
39 defaults: ["binder_fuzz_defaults"],
40 host_supported: false,
41 srcs: ["BpBinderFuzz.cpp"],
42}
43
44cc_fuzz {
45 name: "binder_persistableBundleFuzz",
46 defaults: ["binder_fuzz_defaults"],
47 srcs: ["PersistableBundleFuzz.cpp"],
48}
49
50cc_fuzz {
51 name: "binder_stabilityFuzz",
52 defaults: ["binder_fuzz_defaults"],
53 srcs: ["StabilityFuzz.cpp"],
54}
55
56cc_fuzz {
57 name: "binder_statusFuzz",
58 defaults: ["binder_fuzz_defaults"],
59 srcs: ["StatusFuzz.cpp"],
60}
61
62cc_fuzz {
63 name: "binder_textOutputFuzz",
64 defaults: ["binder_fuzz_defaults"],
65 srcs: ["TextOutputFuzz.cpp"],
66}
Michael Ensing4d90d802020-07-19 16:32:43 -070067
68cc_fuzz {
69 name: "binder_bufferedTextOutputFuzz",
70 include_dirs: [
71 "frameworks/native/libs/binder",
72 ],
73 defaults: ["binder_fuzz_defaults"],
74 srcs: ["BufferedTextOutputFuzz.cpp"],
75}
76
77cc_fuzz {
78 name: "binder_memoryDealerFuzz",
79 defaults: ["binder_fuzz_defaults"],
80 srcs: ["MemoryDealerFuzz.cpp"],
81}