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 17package { 18 default_team: "trendy_team_android_media_codec_framework", 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 "frameworks_av_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_test { 28 name: "VtsVndkAidlBufferpool2V1_0TargetSingleTest", 29 test_suites: ["device-tests"], 30 defaults: ["VtsHalTargetTestDefaults"], 31 srcs: [ 32 "allocator.cpp", 33 "single.cpp", 34 ], 35 shared_libs: [ 36 "libbinder_ndk", 37 "libcutils", 38 "libfmq", 39 "liblog", 40 "libnativewindow", 41 "libutils", 42 "android.hardware.media.bufferpool2-V2-ndk", 43 ], 44 static_libs: [ 45 "libaidlcommonsupport", 46 "libstagefright_aidl_bufferpool2", 47 ], 48 compile_multilib: "both", 49} 50 51cc_test { 52 name: "VtsVndkAidlBufferpool2V1_0TargetMultiTest", 53 test_suites: ["device-tests"], 54 defaults: ["VtsHalTargetTestDefaults"], 55 srcs: [ 56 "allocator.cpp", 57 "multi.cpp", 58 ], 59 shared_libs: [ 60 "libbinder_ndk", 61 "libcutils", 62 "libfmq", 63 "liblog", 64 "libnativewindow", 65 "libutils", 66 "android.hardware.media.bufferpool2-V2-ndk", 67 ], 68 static_libs: [ 69 "libaidlcommonsupport", 70 "libstagefright_aidl_bufferpool2", 71 ], 72 compile_multilib: "both", 73} 74 75cc_test { 76 name: "VtsVndkAidlBufferpool2V1_0TargetCondTest", 77 test_suites: ["device-tests"], 78 defaults: ["VtsHalTargetTestDefaults"], 79 srcs: [ 80 "allocator.cpp", 81 "cond.cpp", 82 ], 83 shared_libs: [ 84 "libbinder_ndk", 85 "libcutils", 86 "libfmq", 87 "liblog", 88 "libnativewindow", 89 "libutils", 90 "android.hardware.media.bufferpool2-V2-ndk", 91 ], 92 static_libs: [ 93 "libaidlcommonsupport", 94 "libstagefright_aidl_bufferpool2", 95 ], 96 compile_multilib: "both", 97} 98