blob: 48427ee532e319899c8ce5ce23a7fc222481ede0 [file] [log] [blame]
Zhaoming Yin838c4c12020-01-16 10:29:12 -08001//
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
17cc_defaults {
18 name: "android.hardware.automotive.evs@fuzz-defaults",
19 defaults: ["VtsHalTargetTestDefaults"],
20 shared_libs: [
21 "libui",
22 "libcamera_metadata",
23 ],
24 static_libs: [
25 "android.hardware.automotive.evs@1.0",
26 "android.hardware.automotive.evs@1.1",
27 "android.hardware.automotive.evs@common-default-lib",
28 "android.hardware.graphics.common@1.0",
29 "android.hardware.graphics.common@1.1",
30 "android.hardware.graphics.common@1.2",
31 "android.hardware.camera.device@3.2",
32 ],
33 cflags: [
34 "-O0",
35 "-g",
36 ],
37}
38
39cc_fuzz {
40 name: "VtsHalEvsV1_1CameraOpenFuzz",
41 defaults: ["android.hardware.automotive.evs@fuzz-defaults"],
42 srcs: [
43 "VtsHalEvsV1_1CameraOpenFuzz.cpp",
44 ],
45 fuzz_config: {
46 // wait for Haiku device ready
47 fuzz_on_haiku_device: false,
48 fuzz_on_haiku_host: false,
49 },
50}