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