1/****************************************************************************** 2 * 3 * Copyright (C) 2020 The Android Open Source Project 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at: 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 ***************************************************************************** 18 * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore 19 */ 20 21package { 22 default_team: "trendy_team_media_framework_audio", 23 // See: http://go/android-license-faq 24 // A large-scale-change added 'default_applicable_licenses' to import 25 // all of the 'license_kinds' from "frameworks_av_license" 26 // to get the below license kinds: 27 // SPDX-license-identifier-Apache-2.0 28 default_applicable_licenses: ["frameworks_av_license"], 29} 30 31cc_fuzz { 32 name: "oboeservice_fuzzer", 33 defaults: [ 34 "latest_android_media_audio_common_types_cpp_shared", 35 ], 36 srcs: [ 37 "oboeservice_fuzzer.cpp", 38 ], 39 shared_libs: [ 40 "aaudio-aidl-cpp", 41 "com.android.media.aaudio-aconfig-cc", 42 "framework-permission-aidl-cpp", 43 "libaaudio_internal", 44 "libaudioclient", 45 "libaudioclient_aidl_conversion", 46 "libaudioflinger", 47 "libaudiofoundation", 48 "libaudioutils", 49 "libbase", 50 "libbinder", 51 "libcutils", 52 "liblog", 53 "libmedia_helper", 54 "libmediametrics", 55 "libmediautils", 56 "libutils", 57 ], 58 static_libs: [ 59 "libaaudioservice", 60 ], 61 include_dirs: [ 62 "frameworks/av/services/oboeservice", 63 ], 64 header_libs: [ 65 "libaudiohal_headers", 66 ], 67 cflags: [ 68 "-Wall", 69 "-Werror", 70 "-Wno-unused-parameter", 71 ], 72 fuzz_config: { 73 cc: [ 74 "[email protected]", 75 ], 76 componentid: 155276, 77 hotlists: [ 78 "4593311", 79 ], 80 description: "The fuzzer targets the APIs of libaaudioservice", 81 vector: "local_no_privileges_required", 82 service_privilege: "privileged", 83 users: "multi_user", 84 fuzzed_code_usage: "shipped", 85 }, 86} 87