Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 1 | /* |
| 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 Badour | 990ffc2 | 2021-11-04 15:10:54 -0700 | [diff] [blame] | 17 | package { |
Ronish Kalia | b5dd44b | 2024-02-14 14:32:32 +0000 | [diff] [blame^] | 18 | default_team: "trendy_team_media_framework_audio", |
Bob Badour | 990ffc2 | 2021-11-04 15:10:54 -0700 | [diff] [blame] | 19 | // 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 Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 27 | cc_fuzz { |
| 28 | name: "libaaudio_fuzzer", |
Lorena Torres-Huerta | 8132989 | 2022-08-12 23:08:12 +0000 | [diff] [blame] | 29 | defaults: [ |
| 30 | "latest_android_media_audio_common_types_cpp_static", |
| 31 | ], |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 32 | 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 Yao | 5120250 | 2022-12-12 06:11:46 +0000 | [diff] [blame] | 43 | "libaudio_aidl_conversion_common_cpp", |
Pirama Arumuga Nainar | 261b883 | 2022-04-19 21:53:58 +0000 | [diff] [blame] | 44 | "libutils", |
Robert Wu | 101ad25 | 2023-11-28 20:29:29 +0000 | [diff] [blame] | 45 | "com.android.media.aaudio-aconfig-cc", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 46 | ], |
| 47 | static_libs: [ |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 48 | "liblog", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 49 | "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 Mahendrakar | c14d893 | 2023-10-04 18:09:01 +0000 | [diff] [blame] | 73 | "android-audio-fuzzing-reports@google.com", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 74 | ], |
| 75 | componentid: 155276, |
Ayushi Khopkar | 2cd9d86 | 2023-03-17 17:59:14 +0530 | [diff] [blame] | 76 | 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 Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 84 | }, |
| 85 | } |