Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 1 | // Copyright (C) 2018 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | cc_test { |
| 16 | name: "SurfaceFlinger_test", |
| 17 | defaults: ["surfaceflinger_defaults"], |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 18 | test_suites: ["device-tests"], |
| 19 | srcs: [ |
Marissa Wall | 713b63f | 2018-10-17 15:42:43 -0700 | [diff] [blame] | 20 | "BufferGenerator.cpp", |
Ana Krulec | 13be8ad | 2018-08-21 02:43:56 +0000 | [diff] [blame] | 21 | "Credentials_test.cpp", |
Robert Carr | c0df312 | 2019-04-11 13:18:21 -0700 | [diff] [blame^] | 22 | "InvalidHandles_test.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 23 | "Stress_test.cpp", |
| 24 | "SurfaceInterceptor_test.cpp", |
| 25 | "Transaction_test.cpp", |
chaviw | 8beb414 | 2019-04-11 13:09:05 -0700 | [diff] [blame] | 26 | "VirtualDisplay_test.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 27 | ], |
| 28 | data: ["SurfaceFlinger_test.filter"], |
| 29 | static_libs: [ |
| 30 | "libtrace_proto", |
| 31 | ], |
| 32 | shared_libs: [ |
| 33 | "libandroid", |
| 34 | "libbinder", |
| 35 | "libcutils", |
| 36 | "libEGL", |
| 37 | "libGLESv2", |
| 38 | "libgui", |
chaviw | 7794ec1 | 2018-03-14 13:28:39 -0700 | [diff] [blame] | 39 | "liblayers_proto", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 40 | "liblog", |
| 41 | "libprotobuf-cpp-full", |
Yiwei Zhang | 0102ad2 | 2018-05-02 17:37:17 -0700 | [diff] [blame] | 42 | "libtimestats_proto", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 43 | "libui", |
| 44 | "libutils", |
| 45 | ] |
| 46 | |
| 47 | } |
| 48 | |
| 49 | subdirs = [ |
| 50 | "fakehwc", |
| 51 | "hwc2", |
Lloyd Pique | f58625d | 2017-12-19 13:22:33 -0800 | [diff] [blame] | 52 | "unittests", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 53 | "vsync", |
| 54 | "waitforvsync", |
| 55 | ] |