1// 2// Copyright (C) 2019 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 // 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 26cc_fuzz { 27 host_supported: true, 28 name : "FormatConvertFuzzer_copyNV21toRGB32", 29 srcs: [ 30 "FormatConvertFuzzer.cpp", 31 ], 32 static_libs: [ 33 "android.hardware.automotive.evs@common-default-lib" 34 ], 35 cflags: [ 36 "-DCOPY_NV21_TO_RGB32", 37 ], 38} 39 40cc_fuzz { 41 host_supported: true, 42 name : "FormatConvertFuzzer_copyNV21toBGR32", 43 srcs: [ 44 "FormatConvertFuzzer.cpp", 45 ], 46 static_libs: [ 47 "android.hardware.automotive.evs@common-default-lib" 48 ], 49 cflags: [ 50 "-DCOPY_NV21_TO_BGR32", 51 ], 52} 53 54cc_fuzz { 55 host_supported: true, 56 name : "FormatConvertFuzzer_copyYV12toRGB32", 57 srcs: [ 58 "FormatConvertFuzzer.cpp", 59 ], 60 static_libs: [ 61 "android.hardware.automotive.evs@common-default-lib" 62 ], 63 cflags: [ 64 "-DCOPY_YV12_TO_RGB32", 65 ], 66} 67 68cc_fuzz { 69 host_supported: true, 70 name : "FormatConvertFuzzer_copyYV12toBGR32", 71 srcs: [ 72 "FormatConvertFuzzer.cpp", 73 ], 74 static_libs: [ 75 "android.hardware.automotive.evs@common-default-lib" 76 ], 77 cflags: [ 78 "-DCOPY_YV12_TO_BGR32", 79 ], 80} 81 82cc_fuzz { 83 host_supported: true, 84 name : "FormatConvertFuzzer_copyYUYVtoRGB32", 85 srcs: [ 86 "FormatConvertFuzzer.cpp", 87 ], 88 static_libs: [ 89 "android.hardware.automotive.evs@common-default-lib" 90 ], 91 cflags: [ 92 "-DCOPY_YUYV_TO_RGB32", 93 ], 94} 95 96cc_fuzz { 97 host_supported: true, 98 name : "FormatConvertFuzzer_copyYUYVtoBGR32", 99 srcs: [ 100 "FormatConvertFuzzer.cpp", 101 ], 102 static_libs: [ 103 "android.hardware.automotive.evs@common-default-lib" 104 ], 105 cflags: [ 106 "-DCOPY_YUYV_TO_BGR32", 107 ], 108} 109