blob: 003ae7fefa15750325a222f0aee70adc4a031bdc [file] [log] [blame]
Lloyd Pique66ce40d2018-01-23 16:42:19 -08001// 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"],
Lloyd Pique66ce40d2018-01-23 16:42:19 -080018 test_suites: ["device-tests"],
19 srcs: [
Marissa Wall713b63f2018-10-17 15:42:43 -070020 "BufferGenerator.cpp",
Ana Krulec13be8ad2018-08-21 02:43:56 +000021 "Credentials_test.cpp",
Lloyd Pique66ce40d2018-01-23 16:42:19 -080022 "Stress_test.cpp",
23 "SurfaceInterceptor_test.cpp",
24 "Transaction_test.cpp",
chaviw8beb4142019-04-11 13:09:05 -070025 "VirtualDisplay_test.cpp",
Lloyd Pique66ce40d2018-01-23 16:42:19 -080026 ],
27 data: ["SurfaceFlinger_test.filter"],
28 static_libs: [
29 "libtrace_proto",
30 ],
31 shared_libs: [
32 "libandroid",
33 "libbinder",
34 "libcutils",
35 "libEGL",
36 "libGLESv2",
37 "libgui",
chaviw7794ec12018-03-14 13:28:39 -070038 "liblayers_proto",
Lloyd Pique66ce40d2018-01-23 16:42:19 -080039 "liblog",
40 "libprotobuf-cpp-full",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070041 "libtimestats_proto",
Lloyd Pique66ce40d2018-01-23 16:42:19 -080042 "libui",
43 "libutils",
44 ]
45
46}
47
48subdirs = [
49 "fakehwc",
50 "hwc2",
Lloyd Piquef58625d2017-12-19 13:22:33 -080051 "unittests",
Lloyd Pique66ce40d2018-01-23 16:42:19 -080052 "vsync",
53 "waitforvsync",
54]