xref: /aosp_15_r20/hardware/interfaces/automotive/sv/1.0/default/tests/fuzzer/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1/*
2 * Copyright (C) 2022 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 */
17
18package {
19    default_team: "trendy_team_automotive",
20    // See: http://go/android-license-faq
21    // A large-scale-change added 'default_applicable_licenses' to import
22    // all of the 'license_kinds' from "hardware_interfaces_license"
23    // to get the below license kinds:
24    //   SPDX-license-identifier-Apache-2.0
25    default_applicable_licenses: ["hardware_interfaces_license"],
26}
27
28cc_fuzz {
29    name: "automotiveSvV1.0_fuzzer",
30    srcs: [
31        "AutomotiveSvV1_0Fuzzer.cpp",
32        "SurroundViewStream.cpp",
33        ":automotiveSvV1.0_sources",
34    ],
35    header_libs: [
36        "automotiveSvV1.0_headers",
37    ],
38    shared_libs: [
39        "[email protected]",
40        "[email protected]",
41        "libhidlbase",
42        "libutils",
43        "libhidlmemory",
44        "liblog",
45    ],
46    fuzz_config: {
47        cc: [
48            "[email protected]",
49        ],
50        componentid: 533764,
51        hotlists: [
52            "4593311",
53        ],
54        description: "The fuzzer targets the APIs of [email protected]",
55        vector: "local_no_privileges_required",
56        service_privilege: "privileged",
57        users: "multi_user",
58        fuzzed_code_usage: "shipped",
59    },
60}
61