| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 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 |  | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 15 | LOCAL_PATH:= $(call my-dir) | 
|  | 16 |  | 
|  | 17 | include $(CLEAR_VARS) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 18 | LOCAL_MODULE_TAGS := tests | 
|  | 19 | LOCAL_MODULE:= libhwcTest | 
|  | 20 | LOCAL_SRC_FILES:= hwcTestLib.cpp | 
|  | 21 | LOCAL_C_INCLUDES += system/extras/tests/include \ | 
|  | 22 | bionic \ | 
|  | 23 | bionic/libstdc++/include \ | 
|  | 24 | external/stlport/stlport \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 25 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 26 |  | 
|  | 27 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 28 |  | 
|  | 29 | LOCAL_SHARED_LIBRARIES += libcutils libutils libstlport | 
|  | 30 | LOCAL_STATIC_LIBRARIES += libglTest | 
| Iliyan Malchev | 9dde9ef | 2011-03-14 14:02:13 -0700 | [diff] [blame] | 31 |  | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 32 |  | 
|  | 33 | include $(BUILD_STATIC_LIBRARY) | 
|  | 34 |  | 
|  | 35 | include $(CLEAR_VARS) | 
|  | 36 | LOCAL_SRC_FILES:= hwcStress.cpp | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 37 |  | 
|  | 38 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 39 | libcutils \ | 
|  | 40 | libEGL \ | 
|  | 41 | libGLESv2 \ | 
|  | 42 | libui \ | 
|  | 43 | libhardware \ | 
|  | 44 |  | 
|  | 45 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 46 | libtestUtil \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 47 | libglTest \ | 
|  | 48 | libhwcTest \ | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 49 |  | 
|  | 50 | LOCAL_C_INCLUDES += \ | 
|  | 51 | system/extras/tests/include \ | 
|  | 52 | hardware/libhardware/include \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 53 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 54 |  | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 55 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 56 |  | 
|  | 57 | LOCAL_MODULE:= hwcStress | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 58 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativestresstest | 
|  | 59 |  | 
|  | 60 | LOCAL_MODULE_TAGS := tests | 
|  | 61 |  | 
|  | 62 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 63 |  | 
|  | 64 | include $(BUILD_NATIVE_TEST) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 65 |  | 
|  | 66 | include $(CLEAR_VARS) | 
|  | 67 | LOCAL_SRC_FILES:= hwcRects.cpp | 
|  | 68 |  | 
|  | 69 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 70 | libcutils \ | 
|  | 71 | libEGL \ | 
|  | 72 | libGLESv2 \ | 
|  | 73 | libui \ | 
|  | 74 | libhardware \ | 
|  | 75 |  | 
|  | 76 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 77 | libtestUtil \ | 
|  | 78 | libglTest \ | 
|  | 79 | libhwcTest \ | 
|  | 80 |  | 
|  | 81 | LOCAL_C_INCLUDES += \ | 
|  | 82 | system/extras/tests/include \ | 
|  | 83 | hardware/libhardware/include \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 84 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 85 |  | 
|  | 86 | LOCAL_MODULE:= hwcRects | 
|  | 87 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil | 
|  | 88 |  | 
|  | 89 | LOCAL_MODULE_TAGS := tests | 
|  | 90 |  | 
|  | 91 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 92 |  | 
|  | 93 | include $(BUILD_NATIVE_TEST) | 
|  | 94 |  | 
|  | 95 | include $(CLEAR_VARS) | 
|  | 96 | LOCAL_SRC_FILES:= hwcColorEquiv.cpp | 
|  | 97 |  | 
|  | 98 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 99 | libcutils \ | 
|  | 100 | libEGL \ | 
|  | 101 | libGLESv2 \ | 
|  | 102 | libui \ | 
|  | 103 | libhardware \ | 
|  | 104 |  | 
|  | 105 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 106 | libtestUtil \ | 
|  | 107 | libglTest \ | 
|  | 108 | libhwcTest \ | 
|  | 109 |  | 
|  | 110 | LOCAL_C_INCLUDES += \ | 
|  | 111 | system/extras/tests/include \ | 
|  | 112 | hardware/libhardware/include \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 113 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 114 |  | 
|  | 115 | LOCAL_MODULE:= hwcColorEquiv | 
|  | 116 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil | 
|  | 117 |  | 
|  | 118 | LOCAL_MODULE_TAGS := tests | 
|  | 119 |  | 
|  | 120 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 121 |  | 
|  | 122 | include $(BUILD_NATIVE_TEST) | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 123 |  | 
|  | 124 | include $(CLEAR_VARS) | 
|  | 125 | LOCAL_SRC_FILES:= hwcCommit.cpp | 
|  | 126 |  | 
|  | 127 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 128 | libcutils \ | 
|  | 129 | libEGL \ | 
|  | 130 | libGLESv2 \ | 
|  | 131 | libui \ | 
|  | 132 | libhardware \ | 
|  | 133 |  | 
|  | 134 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 135 | libtestUtil \ | 
|  | 136 | libglTest \ | 
|  | 137 | libhwcTest \ | 
|  | 138 |  | 
|  | 139 | LOCAL_C_INCLUDES += \ | 
|  | 140 | system/extras/tests/include \ | 
|  | 141 | hardware/libhardware/include \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 142 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 143 |  | 
|  | 144 | LOCAL_MODULE:= hwcCommit | 
|  | 145 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativebenchmark | 
|  | 146 |  | 
|  | 147 | LOCAL_MODULE_TAGS := tests | 
|  | 148 |  | 
|  | 149 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 150 |  | 
|  | 151 | include $(BUILD_NATIVE_TEST) |