blob: 14e528fad106371e3b3259a24bdea3b17edbdd98 [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",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000027 "libfakeservicemanager",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000028 "libjsoncpp",
Andy Hunga159e4b2024-03-15 11:48:57 -070029 "libmediametricsservice",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000030 "libprocessgroup",
T.J. Mercier0bac57e2024-10-08 23:44:04 +000031 "libprocessgroup_util",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000032 "shared-file-region-aidl-cpp",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000033 ],
34 shared_libs: [
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000035 "android.hardware.audio.common-util",
Andy Hunga159e4b2024-03-15 11:48:57 -070036 "libaudioflinger",
Andy Hunga159e4b2024-03-15 11:48:57 -070037 "libaudiopolicyservice",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000038 "libdl",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000039 "libvndksupport",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000040 "mediametricsservice-aidl-cpp",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000041 ],
42 header_libs: [
Andy Hunga159e4b2024-03-15 11:48:57 -070043 "libaudiopolicymanager_interface_headers",
Akshata Kadam41a6d9e2023-08-07 09:56:02 +000044 "libmedia_headers",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000045 ],
Ronish Kaliab5dd44b2024-02-14 14:32:32 +000046 fuzz_config: {
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000047 cc: [
Akshata Kadam5e5bf362024-05-07 16:43:43 +053048 "android-audio-fuzzing-reports@google.com",
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000049 ],
50 componentid: 155276,
51 hotlists: ["4593311"],
52 description: "The fuzzer targets the APIs of libaudioflinger",
53 vector: "local_no_privileges_required",
54 service_privilege: "privileged",
55 users: "multi_user",
56 fuzzed_code_usage: "shipped",
57 },
58}
59
60cc_fuzz {
61 name: "audioflinger_aidl_fuzzer",
62 srcs: ["audioflinger_aidl_fuzzer.cpp"],
Pawan Waghed062942023-07-12 20:47:13 +000063 defaults: [
Shraddha Basantwanic4996b32024-01-30 06:31:38 +000064 "latest_android_hardware_audio_core_ndk_shared",
65 "latest_android_hardware_audio_core_sounddose_ndk_shared",
66 "latest_android_hardware_audio_effect_ndk_shared",
Andy Hunga159e4b2024-03-15 11:48:57 -070067 "libaudioclient_aidl_fuzzer_defaults",
Andy Hung85c06c92024-08-14 20:56:59 -070068 "libaudioflinger_dependencies",
Andy Hunga8c101d2024-07-31 17:07:24 -070069 "libaudiopolicyservice_dependencies",
Ronish Kaliab5dd44b2024-02-14 14:32:32 +000070 "service_fuzzer_defaults",
Pawan Waghed062942023-07-12 20:47:13 +000071 ],
Ayushi Khopkar818d9b62023-05-24 12:00:29 +000072}