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 { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "frameworks_av_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["frameworks_av_license"], |
| 24 | } |
| 25 | |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 26 | cc_fuzz { |
| 27 | name: "libaaudio_fuzzer", |
Lorena Torres-Huerta | 8132989 | 2022-08-12 23:08:12 +0000 | [diff] [blame] | 28 | defaults: [ |
| 29 | "latest_android_media_audio_common_types_cpp_static", |
| 30 | ], |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 31 | srcs: [ |
| 32 | "libaaudio_fuzzer.cpp", |
| 33 | ], |
| 34 | header_libs: [ |
| 35 | "libaaudio_headers", |
| 36 | ], |
| 37 | shared_libs: [ |
| 38 | "libbinder", |
| 39 | "libaudiomanager", |
| 40 | "libaudiopolicy", |
| 41 | "libaudioclient_aidl_conversion", |
Shunkai Yao | 5120250 | 2022-12-12 06:11:46 +0000 | [diff] [blame] | 42 | "libaudio_aidl_conversion_common_cpp", |
Pirama Arumuga Nainar | 261b883 | 2022-04-19 21:53:58 +0000 | [diff] [blame] | 43 | "libutils", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 44 | ], |
| 45 | static_libs: [ |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 46 | "liblog", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 47 | "libcutils", |
| 48 | "libaaudio", |
| 49 | "libjsoncpp", |
| 50 | "libbase_ndk", |
| 51 | "libcgrouprc", |
| 52 | "libaudioutils", |
| 53 | "libaudioclient", |
| 54 | "aaudio-aidl-cpp", |
| 55 | "libmedia_helper", |
| 56 | "libmediametrics", |
| 57 | "libprocessgroup", |
| 58 | "av-types-aidl-cpp", |
| 59 | "libaaudio_internal", |
| 60 | "libcgrouprc_format", |
| 61 | "audiopolicy-aidl-cpp", |
| 62 | "audioflinger-aidl-cpp", |
| 63 | "audiopolicy-types-aidl-cpp", |
| 64 | "audioclient-types-aidl-cpp", |
| 65 | "shared-file-region-aidl-cpp", |
| 66 | "framework-permission-aidl-cpp", |
| 67 | "mediametricsservice-aidl-cpp", |
| 68 | ], |
| 69 | fuzz_config: { |
| 70 | cc: [ |
Harish Mahendrakar | c14d893 | 2023-10-04 18:09:01 +0000 | [diff] [blame^] | 71 | "android-audio-fuzzing-reports@google.com", |
Anuj Joshi | 22a95c8 | 2021-08-12 12:16:41 +0530 | [diff] [blame] | 72 | ], |
| 73 | componentid: 155276, |
| 74 | }, |
| 75 | } |