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