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