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 15cc_test { 16 name: "SurfaceFlinger_test", 17 defaults: ["surfaceflinger_defaults"], 18 tags: ["test"], 19 test_suites: ["device-tests"], 20 srcs: [ 21 "InvalidHandles_test.cpp", 22 "Stress_test.cpp", 23 "SurfaceInterceptor_test.cpp", 24 "Transaction_test.cpp", 25 ], 26 data: ["SurfaceFlinger_test.filter"], 27 static_libs: [ 28 "libtrace_proto", 29 ], 30 shared_libs: [ 31 "libandroid", 32 "libbinder", 33 "libcutils", 34 "libEGL", 35 "libGLESv2", 36 "libgui", 37 "liblayers_proto", 38 "liblog", 39 "libprotobuf-cpp-full", 40 "libtimestats_proto", 41 "libui", 42 "libutils", 43 ] 44 45} 46 47subdirs = [ 48 "fakehwc", 49 "hwc2", 50 "unittests", 51 "vsync", 52 "waitforvsync", 53] 54