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: "g711alaw_dec_fuzzer",
32    host_supported: true,
33    srcs: [
34        "g711_dec_fuzzer.cpp",
35    ],
36    static_libs: [
37        "codecs_g711dec",
38    ],
39    cflags: [
40        "-DALAW",
41    ],
42    fuzz_config: {
43        cc: [
44            "android-media-fuzzing-reports@google.com",
45        ],
46        componentid: 155276,
47        hotlists: [
48            "4593311",
49        ],
50        description: "The fuzzer targets the APIs of codecs_g711dec library with a special focus on Alaw APIs",
51        vector: "remote",
52        service_privilege: "constrained",
53        users: "multi_user",
54        fuzzed_code_usage: "shipped",
55    },
56}
57
58cc_fuzz {
59    name: "g711mlaw_dec_fuzzer",
60    host_supported: true,
61    srcs: [
62        "g711_dec_fuzzer.cpp",
63    ],
64    static_libs: [
65        "codecs_g711dec",
66    ],
67    fuzz_config: {
68        cc: [
69            "android-media-fuzzing-reports@google.com",
70        ],
71        componentid: 155276,
72        hotlists: [
73            "4593311",
74        ],
75        description: "The fuzzer targets the APIs of codecs_g711dec library with a special focus on Mlaw APIs",
76        vector: "remote",
77        service_privilege: "constrained",
78        users: "multi_user",
79        fuzzed_code_usage: "shipped",
80    },
81}
82