blob: 6d94f38ff5c4127a524b6fc4dda9cad2ac6b5338 [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: [
39 "libbinder",
40 "libaudiomanager",
41 "libaudiopolicy",
42 "libaudioclient_aidl_conversion",
Shunkai Yao51202502022-12-12 06:11:46 +000043 "libaudio_aidl_conversion_common_cpp",
Pirama Arumuga Nainar261b8832022-04-19 21:53:58 +000044 "libutils",
Robert Wu101ad252023-11-28 20:29:29 +000045 "com.android.media.aaudio-aconfig-cc",
Anuj Joshi22a95c82021-08-12 12:16:41 +053046 ],
47 static_libs: [
Anuj Joshi22a95c82021-08-12 12:16:41 +053048 "liblog",
Anuj Joshi22a95c82021-08-12 12:16:41 +053049 "libcutils",
50 "libaaudio",
51 "libjsoncpp",
52 "libbase_ndk",
53 "libcgrouprc",
54 "libaudioutils",
55 "libaudioclient",
56 "aaudio-aidl-cpp",
57 "libmedia_helper",
58 "libmediametrics",
59 "libprocessgroup",
60 "av-types-aidl-cpp",
61 "libaaudio_internal",
62 "libcgrouprc_format",
63 "audiopolicy-aidl-cpp",
64 "audioflinger-aidl-cpp",
65 "audiopolicy-types-aidl-cpp",
66 "audioclient-types-aidl-cpp",
67 "shared-file-region-aidl-cpp",
68 "framework-permission-aidl-cpp",
69 "mediametricsservice-aidl-cpp",
70 ],
71 fuzz_config: {
72 cc: [
Harish Mahendrakarc14d8932023-10-04 18:09:01 +000073 "android-audio-fuzzing-reports@google.com",
Anuj Joshi22a95c82021-08-12 12:16:41 +053074 ],
75 componentid: 155276,
Ayushi Khopkar2cd9d862023-03-17 17:59:14 +053076 hotlists: [
77 "4593311",
78 ],
79 description: "The fuzzer targets the APIs of libaaudio",
80 vector: "local_no_privileges_required",
81 service_privilege: "privileged",
82 users: "multi_user",
83 fuzzed_code_usage: "shipped",
Anuj Joshi22a95c82021-08-12 12:16:41 +053084 },
85}