blob: 56bda89b3def43b51201fc300be7a4f670c0aa90 [file] [log] [blame]
Sungtak Lee9ec33562018-09-04 15:22:46 -07001/*
2 * Copyright (C) 2018 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
17cc_test {
18 name: "VtsVndkHidlBufferpoolV2_0TargetSingleTest",
Ray Essickf867ca72020-04-29 19:41:08 -070019 test_suites: ["device-tests"],
Sungtak Lee9ec33562018-09-04 15:22:46 -070020 defaults: ["VtsHalTargetTestDefaults"],
21 srcs: [
22 "allocator.cpp",
23 "single.cpp",
24 ],
25 static_libs: [
26 "android.hardware.media.bufferpool@2.0",
27 "libcutils",
Sungtak Leeec638f52020-10-26 23:54:43 -070028 "libstagefright_bufferpool@2.0.1",
Sungtak Lee9ec33562018-09-04 15:22:46 -070029 ],
30 shared_libs: [
31 "libfmq",
32 ],
33 compile_multilib: "both",
34}
35
36cc_test {
37 name: "VtsVndkHidlBufferpoolV2_0TargetMultiTest",
Ray Essickf867ca72020-04-29 19:41:08 -070038 test_suites: ["device-tests"],
Sungtak Lee9ec33562018-09-04 15:22:46 -070039 defaults: ["VtsHalTargetTestDefaults"],
40 srcs: [
41 "allocator.cpp",
42 "multi.cpp",
43 ],
44 static_libs: [
45 "android.hardware.media.bufferpool@2.0",
46 "libcutils",
Sungtak Leeec638f52020-10-26 23:54:43 -070047 "libstagefright_bufferpool@2.0.1",
Sungtak Lee9ec33562018-09-04 15:22:46 -070048 ],
49 shared_libs: [
50 "libfmq",
51 ],
52 compile_multilib: "both",
53}
Sungtak Leeec638f52020-10-26 23:54:43 -070054
55cc_test {
56 name: "VtsVndkHidlBufferpoolV2_0TargetCondTest",
57 test_suites: ["device-tests"],
58 defaults: ["VtsHalTargetTestDefaults"],
59 srcs: [
60 "allocator.cpp",
61 "cond.cpp",
62 ],
63 static_libs: [
64 "android.hardware.media.bufferpool@2.0",
65 "libcutils",
66 "libstagefright_bufferpool@2.0.1",
67 ],
68 shared_libs: [
69 "libhidlbase",
70 "libfmq",
71 ],
72 compile_multilib: "both",
73}