blob: a215c0b11c2d9a786c3931670d3c68e716b8f803 [file] [log] [blame]
Ayushi Khopkar818d9b62023-05-24 12:00:29 +00001/*
Ronish Kaliab5dd44b2024-02-14 14:32:32 +00002package {
3 default_team: "trendy_team_media_framework_audio",
4}
5
Ayushi Khopkar818d9b62023-05-24 12:00:29 +00006 * Copyright (C) 2022 The Android Open Source Project
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20
21cc_defaults {
22 name: "libaudioclient_aidl_fuzzer_defaults",
23 static_libs: [
24 "android.hardware.audio.common@7.0-enums",
Atneya Nair9f91a5e2024-05-09 16:25:05 -070025 "audiopermissioncontroller",
Shraddha Basantwanic4996b32024-01-30 06:31:38 +000026 "libaudiomockhal",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000027 "libcgrouprc",
28 "libcgrouprc_format",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000029 "libfakeservicemanager",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000030 "libjsoncpp",
Andy Hunga159e4b2024-03-15 11:48:57 -070031 "libmediametricsservice",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000032 "libprocessgroup",
T.J. Mercier0bac57e2024-10-08 23:44:04 +000033 "libprocessgroup_util",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000034 "shared-file-region-aidl-cpp",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000035 ],
36 shared_libs: [
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000037 "android.hardware.audio.common-util",
Andy Hunga159e4b2024-03-15 11:48:57 -070038 "libaudioflinger",
Andy Hunga159e4b2024-03-15 11:48:57 -070039 "libaudiopolicyservice",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000040 "libdl",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000041 "libvndksupport",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000042 "mediametricsservice-aidl-cpp",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000043 ],
44 header_libs: [
Andy Hunga159e4b2024-03-15 11:48:57 -070045 "libaudiopolicymanager_interface_headers",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000046 "libmedia_headers",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000047 ],
Ronish Kaliab5dd44b2024-02-14 14:32:32 +000048 fuzz_config: {
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000049 cc: [
Akshata Kadam5e5bf362024-05-07 16:43:43 +053050 "android-audio-fuzzing-reports@google.com",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000051 ],
52 componentid: 155276,
53 hotlists: ["4593311"],
54 description: "The fuzzer targets the APIs of libaudioflinger",
55 vector: "local_no_privileges_required",
56 service_privilege: "privileged",
57 users: "multi_user",
58 fuzzed_code_usage: "shipped",
59 },
60}
61
62cc_fuzz {
63 name: "audioflinger_aidl_fuzzer",
64 srcs: ["audioflinger_aidl_fuzzer.cpp"],
Pawan Waghed062942023-07-12 20:47:13 +000065 defaults: [
Shraddha Basantwanic4996b32024-01-30 06:31:38 +000066 "latest_android_hardware_audio_core_ndk_shared",
67 "latest_android_hardware_audio_core_sounddose_ndk_shared",
68 "latest_android_hardware_audio_effect_ndk_shared",
Andy Hunga159e4b2024-03-15 11:48:57 -070069 "libaudioclient_aidl_fuzzer_defaults",
Andy Hung85c06c92024-08-14 20:56:59 -070070 "libaudioflinger_dependencies",
Andy Hunga8c101d2024-07-31 17:07:24 -070071 "libaudiopolicyservice_dependencies",
Ronish Kaliab5dd44b2024-02-14 14:32:32 +000072 "service_fuzzer_defaults",
Pawan Waghed062942023-07-12 20:47:13 +000073 ],
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000074}