Dan Willemsen | 871dda3 | 2016-08-25 17:05:22 -0700 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | cc_test { |
| 18 | name: "Region_test", |
| 19 | shared_libs: ["libui"], |
| 20 | srcs: ["Region_test.cpp"], |
Chih-Hung Hsieh | d66be0a | 2017-10-05 13:51:32 -0700 | [diff] [blame] | 21 | cflags: ["-Wall", "-Werror"], |
Dan Willemsen | 871dda3 | 2016-08-25 17:05:22 -0700 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | cc_test { |
Romain Guy | caf2ca4 | 2016-11-10 11:45:58 -0800 | [diff] [blame] | 25 | name: "colorspace_test", |
| 26 | shared_libs: ["libui"], |
| 27 | srcs: ["colorspace_test.cpp"], |
Chih-Hung Hsieh | d66be0a | 2017-10-05 13:51:32 -0700 | [diff] [blame] | 28 | cflags: ["-Wall", "-Werror"], |
Romain Guy | caf2ca4 | 2016-11-10 11:45:58 -0800 | [diff] [blame] | 29 | } |
Jiwen 'Steve' Cai | 44addfe | 2018-03-13 21:37:11 -0700 | [diff] [blame] | 30 | |
| 31 | cc_test { |
Jiwen 'Steve' Cai | 2daf518 | 2018-10-16 00:14:03 -0700 | [diff] [blame] | 32 | 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 | |
| 47 | cc_test { |
Jiwen 'Steve' Cai | 0e7ee22 | 2018-10-12 17:20:40 -0700 | [diff] [blame] | 48 | name: "BufferHubBuffer_test", |
Jiwen 'Steve' Cai | d9f2abe | 2018-10-20 17:03:13 -0700 | [diff] [blame] | 49 | header_libs: [ |
| 50 | "libbufferhub_headers", |
Fan Xu | 93c9490 | 2018-11-01 12:22:05 -0700 | [diff] [blame] | 51 | "libdvr_headers", |
| 52 | "libnativewindow_headers", |
Jiwen 'Steve' Cai | d9f2abe | 2018-10-20 17:03:13 -0700 | [diff] [blame] | 53 | ], |
Tianyu Jiang | 99dacaa | 2018-11-27 18:47:00 -0800 | [diff] [blame] | 54 | static_libs: [ |
| 55 | "libgmock", |
| 56 | ], |
Jiwen 'Steve' Cai | d9f2abe | 2018-10-20 17:03:13 -0700 | [diff] [blame] | 57 | shared_libs: [ |
| 58 | "android.frameworks.bufferhub@1.0", |
Fan Xu | 467e08f | 2018-11-09 15:58:51 -0800 | [diff] [blame] | 59 | "libcutils", |
Jiwen 'Steve' Cai | d9f2abe | 2018-10-20 17:03:13 -0700 | [diff] [blame] | 60 | "libhidlbase", |
| 61 | "libhwbinder", |
Tianyu Jiang | 99dacaa | 2018-11-27 18:47:00 -0800 | [diff] [blame] | 62 | "liblog", |
Jiwen 'Steve' Cai | d9f2abe | 2018-10-20 17:03:13 -0700 | [diff] [blame] | 63 | "libpdx_default_transport", |
| 64 | "libui", |
| 65 | "libutils" |
| 66 | ], |
Tianyu Jiang | 99dacaa | 2018-11-27 18:47:00 -0800 | [diff] [blame] | 67 | srcs: [ |
| 68 | "BufferHubBuffer_test.cpp", |
| 69 | "BufferHubEventFd_test.cpp", |
| 70 | ], |
Jiwen 'Steve' Cai | 0e7ee22 | 2018-10-12 17:20:40 -0700 | [diff] [blame] | 71 | cflags: ["-Wall", "-Werror"], |
| 72 | } |
| 73 | |
| 74 | cc_test { |
Jiwen 'Steve' Cai | 8f51ec6 | 2018-08-07 21:50:51 -0700 | [diff] [blame] | 75 | name: "BufferHubMetadata_test", |
Fan Xu | cfbe074 | 2018-11-21 15:03:32 -0800 | [diff] [blame^] | 76 | header_libs: [ |
| 77 | "libbufferhub_headers", |
| 78 | "libdvr_headers", |
| 79 | "libpdx_headers", |
| 80 | ], |
Fan Xu | aea8e5e | 2018-12-07 13:27:57 -0800 | [diff] [blame] | 81 | shared_libs: [ |
| 82 | "libbase", |
Fan Xu | aea8e5e | 2018-12-07 13:27:57 -0800 | [diff] [blame] | 83 | "libui", |
| 84 | "libutils", |
| 85 | ], |
Jiwen 'Steve' Cai | 8f51ec6 | 2018-08-07 21:50:51 -0700 | [diff] [blame] | 86 | srcs: ["BufferHubMetadata_test.cpp"], |
| 87 | cflags: ["-Wall", "-Werror"], |
| 88 | } |