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"], |
| 18 | tags: ["test"], |
| 19 | test_suites: ["device-tests"], |
| 20 | srcs: [ |
| 21 | "Stress_test.cpp", |
| 22 | "SurfaceInterceptor_test.cpp", |
| 23 | "Transaction_test.cpp", |
| 24 | ], |
| 25 | data: ["SurfaceFlinger_test.filter"], |
| 26 | static_libs: [ |
| 27 | "libtrace_proto", |
| 28 | ], |
| 29 | shared_libs: [ |
| 30 | "libandroid", |
| 31 | "libbinder", |
| 32 | "libcutils", |
| 33 | "libEGL", |
| 34 | "libGLESv2", |
| 35 | "libgui", |
chaviw | 7794ec1 | 2018-03-14 13:28:39 -0700 | [diff] [blame] | 36 | "liblayers_proto", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 37 | "liblog", |
| 38 | "libprotobuf-cpp-full", |
Yiwei Zhang | 0102ad2 | 2018-05-02 17:37:17 -0700 | [diff] [blame^] | 39 | "libtimestats_proto", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 40 | "libui", |
| 41 | "libutils", |
| 42 | ] |
| 43 | |
| 44 | } |
| 45 | |
| 46 | subdirs = [ |
| 47 | "fakehwc", |
| 48 | "hwc2", |
Lloyd Pique | f58625d | 2017-12-19 13:22:33 -0800 | [diff] [blame] | 49 | "unittests", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 50 | "vsync", |
| 51 | "waitforvsync", |
| 52 | ] |