blob: 6d203497946570e9800e06e1723aaaa59b832da2 [file] [log] [blame]
Marissa Wall4d600052016-12-15 12:16:01 -08001#
2# Copyright (C) 2016 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16LOCAL_PATH := $(call my-dir)
17
18include $(CLEAR_VARS)
19
20LOCAL_MODULE := test-hwc2
21LOCAL_MODULE_TAGS := tests
22LOCAL_CFLAGS += \
23 -fstack-protector-all \
24 -g \
25 -Wall -Wextra \
26 -Werror \
Marissa Wall5a240aa2016-12-15 12:34:06 -080027 -fno-builtin \
28 -DEGL_EGLEXT_PROTOTYPES \
29 -DGL_GLEXT_PROTOTYPES
30LOCAL_SHARED_LIBRARIES := \
31 libcutils \
32 libutils \
33 libhardware \
34 libEGL \
35 libGLESv2 \
36 libui \
37 libgui \
Marissa Wall563030b2017-02-21 14:01:05 -080038 liblog \
David Hanna Jr3f056022017-07-27 19:19:15 -070039 libsync \
40 libskia \
41 android.hardware.graphics.common@1.0
Marissa Wall5a240aa2016-12-15 12:34:06 -080042LOCAL_STATIC_LIBRARIES := \
43 libbase \
44 libadf \
Marissa Walldde19442017-03-14 13:06:04 -070045 libadfhwc \
46 libmath
Marissa Wall6bd8bfd2016-12-15 12:25:31 -080047LOCAL_SRC_FILES := \
48 Hwc2Test.cpp \
49 Hwc2TestProperties.cpp \
Marissa Wall273b1df2016-12-15 12:28:47 -080050 Hwc2TestLayer.cpp \
Marissa Wall5a240aa2016-12-15 12:34:06 -080051 Hwc2TestLayers.cpp \
Marissa Wallf18cfb02017-02-21 14:01:05 -080052 Hwc2TestBuffer.cpp \
Marissa Wallbad1bc72017-02-21 14:33:46 -080053 Hwc2TestClientTarget.cpp \
David Hanna Jr3f056022017-07-27 19:19:15 -070054 Hwc2TestVirtualDisplay.cpp \
55 Hwc2TestPixelComparator.cpp
Marissa Wall4d600052016-12-15 12:16:01 -080056
57include $(BUILD_NATIVE_TEST)