1# Copyright (C) 2010 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 15LOCAL_PATH:= $(call my-dir) 16 17include $(CLEAR_VARS) 18LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 19 20LOCAL_MODULE_TAGS := tests 21LOCAL_MODULE:= libhwcTest 22LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror 23LOCAL_CXX_STL := libc++ 24LOCAL_SRC_FILES:= hwcTestLib.cpp 25LOCAL_C_INCLUDES += system/extras/tests/include \ 26 $(call include-path-for, opengl-tests-includes) \ 27 28LOCAL_STATIC_LIBRARIES := libarect 29 30include $(BUILD_STATIC_LIBRARY) 31 32include $(CLEAR_VARS) 33LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 34 35LOCAL_MODULE:= hwcStress 36LOCAL_MODULE_TAGS := tests 37LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror 38LOCAL_CXX_STL := libc++ 39LOCAL_SRC_FILES:= hwcStress.cpp 40 41LOCAL_SHARED_LIBRARIES := \ 42 libcutils \ 43 libEGL \ 44 libGLESv2 \ 45 libutils \ 46 liblog \ 47 libui \ 48 libhardware \ 49 50LOCAL_STATIC_LIBRARIES := \ 51 libtestUtil \ 52 libglTest \ 53 libhwcTest \ 54 55LOCAL_C_INCLUDES += \ 56 system/extras/tests/include \ 57 hardware/libhardware/include \ 58 $(call include-path-for, opengl-tests-includes) \ 59 60include $(BUILD_NATIVE_TEST) 61 62include $(CLEAR_VARS) 63LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 64 65LOCAL_MODULE:= hwcRects 66LOCAL_MODULE_TAGS := tests 67LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror 68LOCAL_CXX_STL := libc++ 69LOCAL_SRC_FILES:= hwcRects.cpp 70 71LOCAL_SHARED_LIBRARIES := \ 72 libcutils \ 73 libEGL \ 74 libGLESv2 \ 75 libutils \ 76 liblog \ 77 libui \ 78 libhardware \ 79 80LOCAL_STATIC_LIBRARIES := \ 81 libtestUtil \ 82 libglTest \ 83 libhwcTest \ 84 85LOCAL_C_INCLUDES += \ 86 system/extras/tests/include \ 87 hardware/libhardware/include \ 88 $(call include-path-for, opengl-tests-includes) \ 89 90include $(BUILD_NATIVE_TEST) 91 92include $(CLEAR_VARS) 93LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 94 95LOCAL_MODULE:= hwcColorEquiv 96LOCAL_MODULE_TAGS := tests 97LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror 98LOCAL_CXX_STL := libc++ 99LOCAL_SRC_FILES:= hwcColorEquiv.cpp 100 101LOCAL_SHARED_LIBRARIES := \ 102 libcutils \ 103 libEGL \ 104 libGLESv2 \ 105 libutils \ 106 liblog \ 107 libui \ 108 libhardware \ 109 110LOCAL_STATIC_LIBRARIES := \ 111 libtestUtil \ 112 libglTest \ 113 libhwcTest \ 114 115LOCAL_C_INCLUDES += \ 116 system/extras/tests/include \ 117 hardware/libhardware/include \ 118 $(call include-path-for, opengl-tests-includes) \ 119 120include $(BUILD_NATIVE_TEST) 121 122include $(CLEAR_VARS) 123LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 124 125LOCAL_MODULE:= hwcCommit 126LOCAL_MODULE_TAGS := tests 127LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror 128LOCAL_CXX_STL := libc++ 129LOCAL_SRC_FILES:= hwcCommit.cpp 130 131LOCAL_SHARED_LIBRARIES := \ 132 libcutils \ 133 libEGL \ 134 libGLESv2 \ 135 libutils \ 136 liblog \ 137 libui \ 138 libhardware \ 139 140LOCAL_STATIC_LIBRARIES := \ 141 libtestUtil \ 142 libglTest \ 143 libhwcTest \ 144 145LOCAL_C_INCLUDES += \ 146 system/extras/tests/include \ 147 hardware/libhardware/include \ 148 $(call include-path-for, opengl-tests-includes) \ 149 150include $(BUILD_NATIVE_TEST) 151