blob: f4637e319499f2e017a0f5a82a7680d4171963a3 [file] [log] [blame]
Anuj Joshi22a95c82021-08-12 12:16:41 +05301/*
2 * Copyright (C) 2021 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
Bob Badour990ffc22021-11-04 15:10:54 -070017package {
Ronish Kaliab5dd44b2024-02-14 14:32:32 +000018 default_team: "trendy_team_media_framework_audio",
Bob Badour990ffc22021-11-04 15:10:54 -070019 // See: http://go/android-license-faq
20 // A large-scale-change added 'default_applicable_licenses' to import
21 // all of the 'license_kinds' from "frameworks_av_license"
22 // to get the below license kinds:
23 // SPDX-license-identifier-Apache-2.0
24 default_applicable_licenses: ["frameworks_av_license"],
25}
26
Anuj Joshi22a95c82021-08-12 12:16:41 +053027cc_fuzz {
28 name: "libaaudio_fuzzer",
Lorena Torres-Huerta81329892022-08-12 23:08:12 +000029 defaults: [
30 "latest_android_media_audio_common_types_cpp_static",
31 ],
Anuj Joshi22a95c82021-08-12 12:16:41 +053032 srcs: [
33 "libaaudio_fuzzer.cpp",
34 ],
35 header_libs: [
36 "libaaudio_headers",
37 ],
38 shared_libs: [
Andy Hunga159e4b2024-03-15 11:48:57 -070039 "com.android.media.aaudio-aconfig-cc",
40 "libaudio_aidl_conversion_common_cpp",
41 "libaudioclient_aidl_conversion",
Anuj Joshi22a95c82021-08-12 12:16:41 +053042 "libaudiomanager",
43 "libaudiopolicy",
Andy Hunga159e4b2024-03-15 11:48:57 -070044 "libbinder",
Pirama Arumuga Nainar261b8832022-04-19 21:53:58 +000045 "libutils",
Anuj Joshi22a95c82021-08-12 12:16:41 +053046 ],
47 static_libs: [
Andy Hunga159e4b2024-03-15 11:48:57 -070048 "aaudio-aidl-cpp",
Mikhail Naganov7518d292024-06-24 13:42:59 -070049 "audio-permission-aidl-cpp",
Andy Hunga159e4b2024-03-15 11:48:57 -070050 "audioclient-types-aidl-cpp",
51 "audioflinger-aidl-cpp",
52 "audiopolicy-aidl-cpp",
53 "audiopolicy-types-aidl-cpp",
54 "av-types-aidl-cpp",
55 "framework-permission-aidl-cpp",
Anuj Joshi22a95c82021-08-12 12:16:41 +053056 "libaaudio",
Andy Hunga159e4b2024-03-15 11:48:57 -070057 "libaaudio_internal",
58 "libaudioclient",
59 "libaudioutils",
Anuj Joshi22a95c82021-08-12 12:16:41 +053060 "libbase_ndk",
61 "libcgrouprc",
Andy Hunga159e4b2024-03-15 11:48:57 -070062 "libcgrouprc_format",
63 "libcutils",
64 "libjsoncpp",
65 "liblog",
Anuj Joshi22a95c82021-08-12 12:16:41 +053066 "libmedia_helper",
67 "libmediametrics",
68 "libprocessgroup",
T.J. Mercier0bac57e2024-10-08 23:44:04 +000069 "libprocessgroup_util",
Anuj Joshi22a95c82021-08-12 12:16:41 +053070 "mediametricsservice-aidl-cpp",
Andy Hunga159e4b2024-03-15 11:48:57 -070071 "shared-file-region-aidl-cpp",
Anuj Joshi22a95c82021-08-12 12:16:41 +053072 ],
73 fuzz_config: {
74 cc: [
Harish Mahendrakarc14d8932023-10-04 18:09:01 +000075 "android-audio-fuzzing-reports@google.com",
Anuj Joshi22a95c82021-08-12 12:16:41 +053076 ],
77 componentid: 155276,
Ayushi Khopkar2cd9d862023-03-17 17:59:14 +053078 hotlists: [
79 "4593311",
80 ],
81 description: "The fuzzer targets the APIs of libaaudio",
82 vector: "local_no_privileges_required",
83 service_privilege: "privileged",
84 users: "multi_user",
85 fuzzed_code_usage: "shipped",
Anuj Joshi22a95c82021-08-12 12:16:41 +053086 },
87}