1//
2// Copyright 2020 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
17package {
18    default_team: "trendy_team_automotive",
19    // See: http://go/android-license-faq
20    // A large-scale-change added 'default_applicable_licenses' to import
21    // all of the 'license_kinds' from "hardware_interfaces_license"
22    // to get the below license kinds:
23    //   SPDX-license-identifier-Apache-2.0
24    default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
27cc_defaults {
28    name: "android.hardware.automotive.evs@fuzz-defaults",
29    defaults: ["VtsHalTargetTestDefaults"],
30    shared_libs: [
31        "libui",
32        "libcamera_metadata",
33    ],
34    static_libs: [
35        "android.hardware.automotive.evs@1.0",
36        "android.hardware.automotive.evs@1.1",
37        "android.hardware.automotive.evs@common-default-lib",
38        "android.hardware.graphics.common@1.0",
39        "android.hardware.graphics.common@1.1",
40        "android.hardware.graphics.common@1.2",
41        "android.hardware.camera.device@3.2",
42    ],
43    cflags: [
44        "-O0",
45        "-g",
46    ],
47}
48
49cc_fuzz {
50    name: "VtsHalEvsV1_1CameraOpenFuzz",
51    defaults: ["android.hardware.automotive.evs@fuzz-defaults"],
52    srcs: [
53        "VtsHalEvsV1_1CameraOpenFuzz.cpp",
54    ],
55    fuzz_config: {
56        // wait for Haiku device ready
57        fuzz_on_haiku_device: false,
58        fuzz_on_haiku_host: false,
59    },
60}
61