blob: acbb7468ad8102b512aa3f5e9ef96b860d620a3c [file] [log] [blame]
Devendra Singhid29be4a2022-06-08 11:06:56 +05301/*
2 * Copyright (C) 2022 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 */
16cc_defaults {
17 name: "libinit_defaults",
18 static_libs: [
19 "libc++fs",
20 "liblmkd_utils",
21 "libmodprobe",
22 "libprotobuf-cpp-lite",
23 "libpropertyinfoparser",
24 "libsnapshot_init",
25 "libinit",
26 ],
27 shared_libs: [
28 "libbase",
29 "libfs_mgr",
30 "libhidl-gen-utils",
31 "libkeyutils",
32 "liblog",
33 "libprocessgroup",
34 "libselinux",
35 ],
36 header_libs: ["libinit_headers"],
37 fuzz_config: {
38 cc: [
39 "android-media-fuzzing-reports@google.com",
40 ],
41 componentid: 155276,
42 },
43}
44
45cc_fuzz {
46 name: "init_parser_fuzzer",
47 srcs: [
48 "init_parser_fuzzer.cpp",
49 ],
50 shared_libs: ["libhidlmetadata",],
51 defaults: [
52 "libinit_defaults",
53 ],
54}
Akshata Kadam2ae76712022-04-26 09:52:28 +053055
56cc_fuzz {
57 name: "init_property_fuzzer",
58 srcs: [
59 "init_property_fuzzer.cpp",
60 ],
61 defaults: ["libinit_defaults"],
62}
kunal rai803b5f42022-03-16 11:20:41 +053063
64cc_fuzz {
65 name: "init_ueventHandler_fuzzer",
66 srcs: [
67 "init_ueventHandler_fuzzer.cpp",
68 ],
69 defaults: [
70 "libinit_defaults",
71 ],
72}