• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: "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.1",
45        "libcutils",
46        "libEGL",
47        "libGLESv2",
48        "libgui",
49        "libhardware",
50        "libhwui",
51        "liblog",
52        "libsync",
53        "libui",
54        "libutils",
55    ],
56}
57