blob: 8b37d368fdb6ac435bdb8c1642099443e1ab342c [file] [log] [blame]
Akshata Kadamf6aadb92023-07-04 10:58:29 +05301/******************************************************************************
2 *
3 * Copyright (C) 2023 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at:
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 ******************************************************************************/
18
Aditya Choudharyb2eeb462024-01-31 11:07:15 +000019package {
20 default_team: "trendy_team_android_media_audio_framework",
21}
22
Akshata Kadamf6aadb92023-07-04 10:58:29 +053023cc_defaults {
24 name: "audiopolicy_aidl_fuzzer_defaults",
25 shared_libs: [
26 "audiopolicy-aidl-cpp",
27 "audiopolicy-types-aidl-cpp",
28 "framework-permission-aidl-cpp",
29 "libaudiopolicy",
30 "libaudiopolicymanagerdefault",
31 "libactivitymanager_aidl",
32 "libaudiohal",
33 "libaudiopolicyservice",
34 "libaudioflinger",
35 "libaudioclient",
36 "libaudioprocessing",
37 "libhidlbase",
38 "liblog",
39 "libmediautils",
40 "libnblog",
41 "libnbaio",
42 "libpowermanager",
43 "libvibrator",
44 "packagemanager_aidl-cpp",
45 ],
46 static_libs: [
47 "libfakeservicemanager",
48 "libmediaplayerservice",
49 ],
50 header_libs: [
51 "libaudiohal_headers",
52 "libaudioflinger_headers",
53 "libaudiopolicymanager_interface_headers",
54 "libbinder_headers",
55 "libmedia_headers",
56 ],
57 fuzz_config: {
58 cc: [
59 "android-media-fuzzing-reports@google.com",
60 ],
61 componentid: 155276,
62 hotlists: ["4593311"],
63 description: "The fuzzer targets the APIs of libaudiopolicy",
64 vector: "local_no_privileges_required",
65 service_privilege: "privileged",
66 users: "multi_user",
67 fuzzed_code_usage: "shipped",
68 },
69}
70
71cc_fuzz {
72 name: "audiopolicy_aidl_fuzzer",
73 srcs: ["audiopolicy_aidl_fuzzer.cpp"],
74 defaults: [
75 "audiopolicy_aidl_fuzzer_defaults",
76 "service_fuzzer_defaults",
77 ],
78}