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 // See: http://go/android-license-faq 23 // A large-scale-change added 'default_applicable_licenses' to import 24 // all of the 'license_kinds' from "frameworks_av_license" 25 // to get the below license kinds: 26 // SPDX-license-identifier-Apache-2.0 27 default_applicable_licenses: ["frameworks_av_license"], 28} 29 30cc_fuzz { 31 name: "oboeservice_fuzzer", 32 srcs: [ 33 "oboeservice_fuzzer.cpp", 34 ], 35 shared_libs: [ 36 "libaaudio_internal", 37 "libaudioclient", 38 "libaudioflinger", 39 "libaudioutils", 40 "libmedia_helper", 41 "libmediametrics", 42 "libmediautils", 43 "libbase", 44 "libbinder", 45 "libcutils", 46 "liblog", 47 "libutils", 48 "aaudio-aidl-cpp", 49 "framework-permission-aidl-cpp", 50 "libaudioclient_aidl_conversion", 51 ], 52 static_libs: [ 53 "libaaudioservice", 54 ], 55 include_dirs: [ 56 "frameworks/av/services/oboeservice", 57 ], 58 header_libs: [ 59 "libaudiohal_headers", 60 ], 61 cflags: [ 62 "-Wall", 63 "-Werror", 64 "-Wno-unused-parameter", 65 ], 66 fuzz_config: { 67 cc: [ 68 "android-media-fuzzing-reports@google.com", 69 ], 70 componentid: 155276, 71 }, 72} 73