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