blob: 487ed4c593ee931e06239aaae843cc66177485fe [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 {
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
26cc_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 Leef36c31c2024-01-12 04:53:17 +000039 "libnativewindow",
Sungtak Lee8878a132022-12-07 11:42:03 +000040 "libutils",
Sungtak Leef36c31c2024-01-12 04:53:17 +000041 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000042 ],
43 static_libs: [
44 "libaidlcommonsupport",
45 "libstagefright_aidl_bufferpool2"
46 ],
47 compile_multilib: "both",
48}
49
50cc_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 Leef36c31c2024-01-12 04:53:17 +000063 "libnativewindow",
Sungtak Lee8878a132022-12-07 11:42:03 +000064 "libutils",
Sungtak Leef36c31c2024-01-12 04:53:17 +000065 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000066 ],
67 static_libs: [
68 "libaidlcommonsupport",
69 "libstagefright_aidl_bufferpool2"
70 ],
71 compile_multilib: "both",
72}
73
74cc_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 Leef36c31c2024-01-12 04:53:17 +000087 "libnativewindow",
Sungtak Lee8878a132022-12-07 11:42:03 +000088 "libutils",
Sungtak Leef36c31c2024-01-12 04:53:17 +000089 "android.hardware.media.bufferpool2-V2-ndk",
Sungtak Lee8878a132022-12-07 11:42:03 +000090 ],
91 static_libs: [
92 "libaidlcommonsupport",
93 "libstagefright_aidl_bufferpool2"
94 ],
95 compile_multilib: "both",
96}