Sungtak Lee | 76937c6 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 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 | |
| 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 "frameworks_av_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 24 | } |
| 25 | |
| 26 | cc_test { |
| 27 | name: "VtsVndkAidlBufferpool2V1_0TargetSingleTest", |
| 28 | test_suites: ["device-tests"], |
| 29 | defaults: ["VtsHalTargetTestDefaults"], |
| 30 | srcs: [ |
| 31 | "allocator.cpp", |
| 32 | "single.cpp", |
| 33 | ], |
| 34 | shared_libs: [ |
| 35 | "libbinder_ndk", |
| 36 | "libcutils", |
| 37 | "libfmq", |
| 38 | "liblog", |
| 39 | "libutils", |
| 40 | "android.hardware.media.bufferpool2-V1-ndk", |
| 41 | ], |
| 42 | static_libs: [ |
| 43 | "libaidlcommonsupport", |
| 44 | "libstagefright_aidl_bufferpool2" |
| 45 | ], |
| 46 | compile_multilib: "both", |
| 47 | } |
| 48 | |
| 49 | cc_test { |
| 50 | name: "VtsVndkAidlBufferpool2V1_0TargetMultiTest", |
| 51 | test_suites: ["device-tests"], |
| 52 | defaults: ["VtsHalTargetTestDefaults"], |
| 53 | srcs: [ |
| 54 | "allocator.cpp", |
| 55 | "multi.cpp", |
| 56 | ], |
| 57 | shared_libs: [ |
| 58 | "libbinder_ndk", |
| 59 | "libcutils", |
| 60 | "libfmq", |
| 61 | "liblog", |
| 62 | "libutils", |
| 63 | "android.hardware.media.bufferpool2-V1-ndk", |
| 64 | ], |
| 65 | static_libs: [ |
| 66 | "libaidlcommonsupport", |
| 67 | "libstagefright_aidl_bufferpool2" |
| 68 | ], |
| 69 | compile_multilib: "both", |
| 70 | } |
| 71 | |
| 72 | cc_test { |
| 73 | name: "VtsVndkAidlBufferpool2V1_0TargetCondTest", |
| 74 | test_suites: ["device-tests"], |
| 75 | defaults: ["VtsHalTargetTestDefaults"], |
| 76 | srcs: [ |
| 77 | "allocator.cpp", |
| 78 | "cond.cpp", |
| 79 | ], |
| 80 | shared_libs: [ |
| 81 | "libbinder_ndk", |
| 82 | "libcutils", |
| 83 | "libfmq", |
| 84 | "liblog", |
| 85 | "libutils", |
| 86 | "android.hardware.media.bufferpool2-V1-ndk", |
| 87 | ], |
| 88 | static_libs: [ |
| 89 | "libaidlcommonsupport", |
| 90 | "libstagefright_aidl_bufferpool2" |
| 91 | ], |
| 92 | compile_multilib: "both", |
| 93 | } |