Sungtak Lee | 8878a13 | 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", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 39 | "libnativewindow", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 40 | "libutils", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 41 | "android.hardware.media.bufferpool2-V2-ndk", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 42 | ], |
| 43 | static_libs: [ |
| 44 | "libaidlcommonsupport", |
| 45 | "libstagefright_aidl_bufferpool2" |
| 46 | ], |
| 47 | compile_multilib: "both", |
| 48 | } |
| 49 | |
| 50 | cc_test { |
| 51 | name: "VtsVndkAidlBufferpool2V1_0TargetMultiTest", |
| 52 | test_suites: ["device-tests"], |
| 53 | defaults: ["VtsHalTargetTestDefaults"], |
| 54 | srcs: [ |
| 55 | "allocator.cpp", |
| 56 | "multi.cpp", |
| 57 | ], |
| 58 | shared_libs: [ |
| 59 | "libbinder_ndk", |
| 60 | "libcutils", |
| 61 | "libfmq", |
| 62 | "liblog", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 63 | "libnativewindow", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 64 | "libutils", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 65 | "android.hardware.media.bufferpool2-V2-ndk", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 66 | ], |
| 67 | static_libs: [ |
| 68 | "libaidlcommonsupport", |
| 69 | "libstagefright_aidl_bufferpool2" |
| 70 | ], |
| 71 | compile_multilib: "both", |
| 72 | } |
| 73 | |
| 74 | cc_test { |
| 75 | name: "VtsVndkAidlBufferpool2V1_0TargetCondTest", |
| 76 | test_suites: ["device-tests"], |
| 77 | defaults: ["VtsHalTargetTestDefaults"], |
| 78 | srcs: [ |
| 79 | "allocator.cpp", |
| 80 | "cond.cpp", |
| 81 | ], |
| 82 | shared_libs: [ |
| 83 | "libbinder_ndk", |
| 84 | "libcutils", |
| 85 | "libfmq", |
| 86 | "liblog", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 87 | "libnativewindow", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 88 | "libutils", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 89 | "android.hardware.media.bufferpool2-V2-ndk", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 90 | ], |
| 91 | static_libs: [ |
| 92 | "libaidlcommonsupport", |
| 93 | "libstagefright_aidl_bufferpool2" |
| 94 | ], |
| 95 | compile_multilib: "both", |
| 96 | } |