blob: 46aa4dad21e679a2d73bb0e4f5739bc3a3a4b1ed [file] [log] [blame]
Sungtak Lee8878a132022-12-07 11:42:03 +00001/*
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 {
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000018 default_team: "trendy_team_android_media_codec_framework",
Sungtak Lee8878a132022-12-07 11:42:03 +000019 // 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",
Sungtak Leef36c31c2024-01-12 04:53:17 +000040 "libnativewindow",
Sungtak Lee8878a132022-12-07 11:42:03 +000041 "libutils",
Sungtak Leef36c31c2024-01-12 04:53:17 +000042 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000043 ],
44 static_libs: [
45 "libaidlcommonsupport",
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000046 "libstagefright_aidl_bufferpool2",
Sungtak Lee8878a132022-12-07 11:42:03 +000047 ],
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",
Sungtak Leef36c31c2024-01-12 04:53:17 +000064 "libnativewindow",
Sungtak Lee8878a132022-12-07 11:42:03 +000065 "libutils",
Sungtak Leef36c31c2024-01-12 04:53:17 +000066 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000067 ],
68 static_libs: [
69 "libaidlcommonsupport",
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000070 "libstagefright_aidl_bufferpool2",
Sungtak Lee8878a132022-12-07 11:42:03 +000071 ],
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",
Sungtak Leef36c31c2024-01-12 04:53:17 +000088 "libnativewindow",
Sungtak Lee8878a132022-12-07 11:42:03 +000089 "libutils",
Sungtak Leef36c31c2024-01-12 04:53:17 +000090 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000091 ],
92 static_libs: [
93 "libaidlcommonsupport",
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000094 "libstagefright_aidl_bufferpool2",
Sungtak Lee8878a132022-12-07 11:42:03 +000095 ],
96 compile_multilib: "both",
97}