blob: 91ae511f31e0c64d5ae82e7dc3d56aab6fdf5173 [file] [log] [blame]
Mufaddal Chakera3fde8702020-11-18 14:08:12 +05301/******************************************************************************
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
Bob Badourd5219cf2021-03-06 17:17:23 -080021package {
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
Mufaddal Chakera3fde8702020-11-18 14:08:12 +053030cc_fuzz {
31 name: "oboeservice_fuzzer",
Robert Wu310037a2022-09-06 21:48:18 +000032 defaults: [
33 "latest_android_media_audio_common_types_cpp_shared",
34 ],
Mufaddal Chakera3fde8702020-11-18 14:08:12 +053035 srcs: [
36 "oboeservice_fuzzer.cpp",
37 ],
38 shared_libs: [
39 "libaaudio_internal",
40 "libaudioclient",
41 "libaudioflinger",
42 "libaudioutils",
43 "libmedia_helper",
44 "libmediametrics",
45 "libmediautils",
46 "libbase",
47 "libbinder",
48 "libcutils",
49 "liblog",
50 "libutils",
51 "aaudio-aidl-cpp",
Svet Ganov3e5f14f2021-05-13 22:51:08 +000052 "framework-permission-aidl-cpp",
Philip P. Moltmannbda45752020-07-17 16:41:18 -070053 "libaudioclient_aidl_conversion",
Mufaddal Chakera3fde8702020-11-18 14:08:12 +053054 ],
55 static_libs: [
56 "libaaudioservice",
57 ],
58 include_dirs: [
59 "frameworks/av/services/oboeservice",
60 ],
61 header_libs: [
62 "libaudiohal_headers",
63 ],
64 cflags: [
65 "-Wall",
66 "-Werror",
67 "-Wno-unused-parameter",
68 ],
69 fuzz_config: {
70 cc: [
71 "android-media-fuzzing-reports@google.com",
72 ],
73 componentid: 155276,
74 },
75}