blob: 00f30a67b26c52a301df994390c44f33725c7c95 [file] [log] [blame]
Dan Willemsen871dda32016-08-25 17:05:22 -07001//
2// Copyright (C) 2014 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: "Region_test",
19 shared_libs: ["libui"],
20 srcs: ["Region_test.cpp"],
Chih-Hung Hsiehd66be0a2017-10-05 13:51:32 -070021 cflags: ["-Wall", "-Werror"],
Dan Willemsen871dda32016-08-25 17:05:22 -070022}
23
24cc_test {
Romain Guycaf2ca42016-11-10 11:45:58 -080025 name: "colorspace_test",
26 shared_libs: ["libui"],
27 srcs: ["colorspace_test.cpp"],
Chih-Hung Hsiehd66be0a2017-10-05 13:51:32 -070028 cflags: ["-Wall", "-Werror"],
Romain Guycaf2ca42016-11-10 11:45:58 -080029}
Jiwen 'Steve' Cai44addfe2018-03-13 21:37:11 -070030
31cc_test {
Jiwen 'Steve' Cai2daf5182018-10-16 00:14:03 -070032 name: "GraphicBuffer_test",
33 header_libs: [
34 "libbufferhub_headers",
35 "libdvr_headers",
36 "libnativewindow_headers",
37 ],
38 shared_libs: [
39 "libpdx_default_transport",
40 "libui",
41 "libutils",
42 ],
43 srcs: ["GraphicBuffer_test.cpp"],
44 cflags: ["-Wall", "-Werror"],
45}
46
47cc_test {
Jiwen 'Steve' Cai0e7ee222018-10-12 17:20:40 -070048 name: "BufferHubBuffer_test",
Jiwen 'Steve' Caid9f2abe2018-10-20 17:03:13 -070049 header_libs: [
50 "libbufferhub_headers",
Fan Xu93c94902018-11-01 12:22:05 -070051 "libdvr_headers",
52 "libnativewindow_headers",
Jiwen 'Steve' Caid9f2abe2018-10-20 17:03:13 -070053 ],
54 shared_libs: [
55 "android.frameworks.bufferhub@1.0",
Fan Xu467e08f2018-11-09 15:58:51 -080056 "libcutils",
Jiwen 'Steve' Caid9f2abe2018-10-20 17:03:13 -070057 "libhidlbase",
58 "libhwbinder",
59 "libpdx_default_transport",
60 "libui",
61 "libutils"
62 ],
Jiwen 'Steve' Cai0e7ee222018-10-12 17:20:40 -070063 srcs: ["BufferHubBuffer_test.cpp"],
64 cflags: ["-Wall", "-Werror"],
65}
66
67cc_test {
Jiwen 'Steve' Cai8f51ec62018-08-07 21:50:51 -070068 name: "BufferHubMetadata_test",
69 header_libs: ["libbufferhub_headers", "libdvr_headers"],
70 shared_libs: ["libpdx_default_transport", "libui", "libutils"],
71 srcs: ["BufferHubMetadata_test.cpp"],
72 cflags: ["-Wall", "-Werror"],
73}