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 17package { 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 26cc_fuzz { 27 name: "libaaudio_fuzzer", 28 defaults: [ 29 "latest_android_media_audio_common_types_cpp_static", 30 ], 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", 42 "libaudio_aidl_conversion_common_cpp", 43 "libutils", 44 ], 45 static_libs: [ 46 "liblog", 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: [ 71 "android-media-fuzzing-reports@google.com", 72 ], 73 componentid: 155276, 74 }, 75} 76