| 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 \ | 
| Mathias Agopian | 84b470d | 2013-03-06 21:34:39 -0800 | [diff] [blame] | 42 | libutils \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 43 | liblog \ | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 44 | libui \ | 
|  | 45 | libhardware \ | 
|  | 46 |  | 
|  | 47 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 48 | libtestUtil \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 49 | libglTest \ | 
|  | 50 | libhwcTest \ | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 51 |  | 
|  | 52 | LOCAL_C_INCLUDES += \ | 
|  | 53 | system/extras/tests/include \ | 
|  | 54 | hardware/libhardware/include \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 55 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 56 |  | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 57 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 58 |  | 
|  | 59 | LOCAL_MODULE:= hwcStress | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 60 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativestresstest | 
|  | 61 |  | 
|  | 62 | LOCAL_MODULE_TAGS := tests | 
|  | 63 |  | 
|  | 64 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 65 |  | 
|  | 66 | include $(BUILD_NATIVE_TEST) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 67 |  | 
|  | 68 | include $(CLEAR_VARS) | 
|  | 69 | LOCAL_SRC_FILES:= hwcRects.cpp | 
|  | 70 |  | 
|  | 71 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 72 | libcutils \ | 
|  | 73 | libEGL \ | 
|  | 74 | libGLESv2 \ | 
| Mathias Agopian | 84b470d | 2013-03-06 21:34:39 -0800 | [diff] [blame] | 75 | libutils \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 76 | liblog \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 77 | libui \ | 
|  | 78 | libhardware \ | 
|  | 79 |  | 
|  | 80 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 81 | libtestUtil \ | 
|  | 82 | libglTest \ | 
|  | 83 | libhwcTest \ | 
|  | 84 |  | 
|  | 85 | LOCAL_C_INCLUDES += \ | 
|  | 86 | system/extras/tests/include \ | 
|  | 87 | hardware/libhardware/include \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 88 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 89 |  | 
|  | 90 | LOCAL_MODULE:= hwcRects | 
|  | 91 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil | 
|  | 92 |  | 
|  | 93 | LOCAL_MODULE_TAGS := tests | 
|  | 94 |  | 
|  | 95 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 96 |  | 
|  | 97 | include $(BUILD_NATIVE_TEST) | 
|  | 98 |  | 
|  | 99 | include $(CLEAR_VARS) | 
|  | 100 | LOCAL_SRC_FILES:= hwcColorEquiv.cpp | 
|  | 101 |  | 
|  | 102 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 103 | libcutils \ | 
|  | 104 | libEGL \ | 
|  | 105 | libGLESv2 \ | 
| Mathias Agopian | 84b470d | 2013-03-06 21:34:39 -0800 | [diff] [blame] | 106 | libutils \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 107 | liblog \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 108 | libui \ | 
|  | 109 | libhardware \ | 
|  | 110 |  | 
|  | 111 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 112 | libtestUtil \ | 
|  | 113 | libglTest \ | 
|  | 114 | libhwcTest \ | 
|  | 115 |  | 
|  | 116 | LOCAL_C_INCLUDES += \ | 
|  | 117 | system/extras/tests/include \ | 
|  | 118 | hardware/libhardware/include \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 119 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 120 |  | 
|  | 121 | LOCAL_MODULE:= hwcColorEquiv | 
|  | 122 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil | 
|  | 123 |  | 
|  | 124 | LOCAL_MODULE_TAGS := tests | 
|  | 125 |  | 
|  | 126 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 127 |  | 
|  | 128 | include $(BUILD_NATIVE_TEST) | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 129 |  | 
|  | 130 | include $(CLEAR_VARS) | 
|  | 131 | LOCAL_SRC_FILES:= hwcCommit.cpp | 
|  | 132 |  | 
|  | 133 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 134 | libcutils \ | 
|  | 135 | libEGL \ | 
|  | 136 | libGLESv2 \ | 
| Mathias Agopian | 84b470d | 2013-03-06 21:34:39 -0800 | [diff] [blame] | 137 | libutils \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 138 | liblog \ | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 139 | libui \ | 
|  | 140 | libhardware \ | 
|  | 141 |  | 
|  | 142 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 143 | libtestUtil \ | 
|  | 144 | libglTest \ | 
|  | 145 | libhwcTest \ | 
|  | 146 |  | 
|  | 147 | LOCAL_C_INCLUDES += \ | 
|  | 148 | system/extras/tests/include \ | 
|  | 149 | hardware/libhardware/include \ | 
| Mathias Agopian | 622cfad | 2012-03-05 13:57:02 -0800 | [diff] [blame] | 150 | $(call include-path-for, opengl-tests-includes) | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 151 |  | 
|  | 152 | LOCAL_MODULE:= hwcCommit | 
|  | 153 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativebenchmark | 
|  | 154 |  | 
|  | 155 | LOCAL_MODULE_TAGS := tests | 
|  | 156 |  | 
|  | 157 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 158 |  | 
|  | 159 | include $(BUILD_NATIVE_TEST) |