Marissa Wall | 4d60005 | 2016-12-15 12:16:01 -0800 | [diff] [blame] | 1 | # |
| 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 | |
| 16 | LOCAL_PATH := $(call my-dir) |
| 17 | |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_MODULE := test-hwc2 |
| 21 | LOCAL_MODULE_TAGS := tests |
| 22 | LOCAL_CFLAGS += \ |
| 23 | -fstack-protector-all \ |
| 24 | -g \ |
| 25 | -Wall -Wextra \ |
| 26 | -Werror \ |
Marissa Wall | 5a240aa | 2016-12-15 12:34:06 -0800 | [diff] [blame^] | 27 | -fno-builtin \ |
| 28 | -DEGL_EGLEXT_PROTOTYPES \ |
| 29 | -DGL_GLEXT_PROTOTYPES |
| 30 | LOCAL_SHARED_LIBRARIES := \ |
| 31 | libcutils \ |
| 32 | libutils \ |
| 33 | libhardware \ |
| 34 | libEGL \ |
| 35 | libGLESv2 \ |
| 36 | libui \ |
| 37 | libgui \ |
| 38 | liblog |
| 39 | LOCAL_STATIC_LIBRARIES := \ |
| 40 | libbase \ |
| 41 | libadf \ |
| 42 | libadfhwc |
Marissa Wall | 6bd8bfd | 2016-12-15 12:25:31 -0800 | [diff] [blame] | 43 | LOCAL_SRC_FILES := \ |
| 44 | Hwc2Test.cpp \ |
| 45 | Hwc2TestProperties.cpp \ |
Marissa Wall | 273b1df | 2016-12-15 12:28:47 -0800 | [diff] [blame] | 46 | Hwc2TestLayer.cpp \ |
Marissa Wall | 5a240aa | 2016-12-15 12:34:06 -0800 | [diff] [blame^] | 47 | Hwc2TestLayers.cpp \ |
| 48 | Hwc2TestBuffer.cpp |
Marissa Wall | 4d60005 | 2016-12-15 12:16:01 -0800 | [diff] [blame] | 49 | |
| 50 | include $(BUILD_NATIVE_TEST) |