blob: 6c0e4abcfe375ca3a47dbaba2cbb0bd2425f745e [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: "test-hwc2",
17 defaults: ["surfaceflinger_defaults"],
18 tags: ["test"],
19 cflags: [
20 "-DEGL_EGLEXT_PROTOTYPES",
21 "-DGL_GLEXT_PROTOTYPES",
22 "-fno-builtin",
23 "-fstack-protector-all",
24 "-g",
25 "-Wextra",
26 ],
27 srcs: [
28 "Hwc2Test.cpp",
29 "Hwc2TestProperties.cpp",
30 "Hwc2TestLayer.cpp",
31 "Hwc2TestLayers.cpp",
32 "Hwc2TestBuffer.cpp",
33 "Hwc2TestClientTarget.cpp",
34 "Hwc2TestVirtualDisplay.cpp",
35 "Hwc2TestPixelComparator.cpp",
36 ],
37 static_libs: [
38 "libadf",
39 "libadfhwc",
40 "libbase",
41 "libmath",
42 ],
43 shared_libs: [
44 "android.hardware.graphics.common@1.0",
Peiyong Lin34beb7a2018-03-28 11:57:12 -070045 "android.hardware.graphics.common@1.1",
Lloyd Pique66ce40d2018-01-23 16:42:19 -080046 "libcutils",
47 "libEGL",
48 "libGLESv2",
49 "libgui",
50 "libhardware",
51 "libhwui",
52 "liblog",
53 "libsync",
54 "libui",
55 "libutils",
56 ],
57}