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: [ |
Andy Hung | a159e4b | 2024-03-15 11:48:57 -0700 | [diff] [blame] | 39 | "com.android.media.aaudio-aconfig-cc", |
| 40 | "libaudio_aidl_conversion_common_cpp", |
| 41 | "libaudioclient_aidl_conversion", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 42 | "libaudiomanager", |
| 43 | "libaudiopolicy", |
Andy Hung | a159e4b | 2024-03-15 11:48:57 -0700 | [diff] [blame] | 44 | "libbinder", |
Pirama Arumuga Nainar | 261b883 | 2022-04-19 21:53:58 +0000 | [diff] [blame] | 45 | "libutils", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 46 | ], |
| 47 | static_libs: [ |
Andy Hung | a159e4b | 2024-03-15 11:48:57 -0700 | [diff] [blame] | 48 | "aaudio-aidl-cpp", |
| 49 | "audioclient-types-aidl-cpp", |
| 50 | "audioflinger-aidl-cpp", |
Atneya Nair | 9f91a5e | 2024-05-09 16:25:05 -0700 | [diff] [blame] | 51 | "audio-permission-aidl-cpp", |
Andy Hung | a159e4b | 2024-03-15 11:48:57 -0700 | [diff] [blame] | 52 | "audiopolicy-aidl-cpp", |
| 53 | "audiopolicy-types-aidl-cpp", |
| 54 | "av-types-aidl-cpp", |
| 55 | "framework-permission-aidl-cpp", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 56 | "libaaudio", |
Andy Hung | a159e4b | 2024-03-15 11:48:57 -0700 | [diff] [blame] | 57 | "libaaudio_internal", |
| 58 | "libaudioclient", |
| 59 | "libaudioutils", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 60 | "libbase_ndk", |
| 61 | "libcgrouprc", |
Andy Hung | a159e4b | 2024-03-15 11:48:57 -0700 | [diff] [blame] | 62 | "libcgrouprc_format", |
| 63 | "libcutils", |
| 64 | "libjsoncpp", |
| 65 | "liblog", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 66 | "libmedia_helper", |
| 67 | "libmediametrics", |
| 68 | "libprocessgroup", |
T.J. Mercier | 0bac57e | 2024-10-08 23:44:04 +0000 | [diff] [blame^] | 69 | "libprocessgroup_util", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 70 | "mediametricsservice-aidl-cpp", |
Andy Hung | a159e4b | 2024-03-15 11:48:57 -0700 | [diff] [blame] | 71 | "shared-file-region-aidl-cpp", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 72 | ], |
| 73 | fuzz_config: { |
| 74 | cc: [ |
Harish Mahendrakar | c14d893 | 2023-10-04 18:09:01 +0000 | [diff] [blame] | 75 | "android-audio-fuzzing-reports@google.com", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 76 | ], |
| 77 | componentid: 155276, |
Ayushi Khopkar | 2cd9d86 | 2023-03-17 17:59:14 +0530 | [diff] [blame] | 78 | 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 Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 86 | }, |
| 87 | } |