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", 36 "liblayers_proto", 37 "liblog", 38 "libprotobuf-cpp-full", 39 "libtimestats_proto", 40 "libui", 41 "libutils", 42 ] 43 44 } 45 46 subdirs = [ 47 "fakehwc", 48 "hwc2", 49 "unittests", 50 "vsync", 51 "waitforvsync", 52 ] 53