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 { |
Aditya Choudhary | ad2ba1b | 2024-02-05 15:45:22 +0000 | [diff] [blame^] | 18 | default_team: "trendy_team_android_media_codec_framework", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 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 | |
| 27 | cc_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", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 40 | "libnativewindow", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 41 | "libutils", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 42 | "android.hardware.media.bufferpool2-V2-ndk", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 43 | ], |
| 44 | static_libs: [ |
| 45 | "libaidlcommonsupport", |
Aditya Choudhary | ad2ba1b | 2024-02-05 15:45:22 +0000 | [diff] [blame^] | 46 | "libstagefright_aidl_bufferpool2", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 47 | ], |
| 48 | compile_multilib: "both", |
| 49 | } |
| 50 | |
| 51 | cc_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", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 64 | "libnativewindow", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 65 | "libutils", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 66 | "android.hardware.media.bufferpool2-V2-ndk", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 67 | ], |
| 68 | static_libs: [ |
| 69 | "libaidlcommonsupport", |
Aditya Choudhary | ad2ba1b | 2024-02-05 15:45:22 +0000 | [diff] [blame^] | 70 | "libstagefright_aidl_bufferpool2", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 71 | ], |
| 72 | compile_multilib: "both", |
| 73 | } |
| 74 | |
| 75 | cc_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", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 88 | "libnativewindow", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 89 | "libutils", |
Sungtak Lee | f36c31c | 2024-01-12 04:53:17 +0000 | [diff] [blame] | 90 | "android.hardware.media.bufferpool2-V2-ndk", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 91 | ], |
| 92 | static_libs: [ |
| 93 | "libaidlcommonsupport", |
Aditya Choudhary | ad2ba1b | 2024-02-05 15:45:22 +0000 | [diff] [blame^] | 94 | "libstagefright_aidl_bufferpool2", |
Sungtak Lee | 8878a13 | 2022-12-07 11:42:03 +0000 | [diff] [blame] | 95 | ], |
| 96 | compile_multilib: "both", |
| 97 | } |