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 \ |
| 25 | frameworks/base/opengl/tests \ |
| 26 | frameworks/base/opengl/tests/include \ |
| 27 | |
| 28 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 29 | |
| 30 | LOCAL_SHARED_LIBRARIES += libcutils libutils libstlport |
| 31 | LOCAL_STATIC_LIBRARIES += libglTest |
Iliyan Malchev | 9dde9ef | 2011-03-14 14:02:13 -0700 | [diff] [blame] | 32 | |
Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 33 | |
| 34 | include $(BUILD_STATIC_LIBRARY) |
| 35 | |
| 36 | include $(CLEAR_VARS) |
| 37 | LOCAL_SRC_FILES:= hwcStress.cpp |
Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 38 | |
| 39 | LOCAL_SHARED_LIBRARIES := \ |
| 40 | libcutils \ |
| 41 | libEGL \ |
| 42 | libGLESv2 \ |
| 43 | libui \ |
| 44 | libhardware \ |
| 45 | |
| 46 | LOCAL_STATIC_LIBRARIES := \ |
| 47 | libtestUtil \ |
Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 48 | libglTest \ |
| 49 | libhwcTest \ |
Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 50 | |
| 51 | LOCAL_C_INCLUDES += \ |
| 52 | system/extras/tests/include \ |
| 53 | hardware/libhardware/include \ |
Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 54 | frameworks/base/opengl/tests \ |
| 55 | frameworks/base/opengl/tests/include \ |
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 \ |
| 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 | frameworks/base/opengl/tests \ |
| 87 | frameworks/base/opengl/tests/include \ |
| 88 | |
| 89 | LOCAL_MODULE:= hwcRects |
| 90 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil |
| 91 | |
| 92 | LOCAL_MODULE_TAGS := tests |
| 93 | |
| 94 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 95 | |
| 96 | include $(BUILD_NATIVE_TEST) |
| 97 | |
| 98 | include $(CLEAR_VARS) |
| 99 | LOCAL_SRC_FILES:= hwcColorEquiv.cpp |
| 100 | |
| 101 | LOCAL_SHARED_LIBRARIES := \ |
| 102 | libcutils \ |
| 103 | libEGL \ |
| 104 | libGLESv2 \ |
| 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 | frameworks/base/opengl/tests \ |
| 117 | frameworks/base/opengl/tests/include \ |
| 118 | |
| 119 | LOCAL_MODULE:= hwcColorEquiv |
| 120 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil |
| 121 | |
| 122 | LOCAL_MODULE_TAGS := tests |
| 123 | |
| 124 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 125 | |
| 126 | include $(BUILD_NATIVE_TEST) |
Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 127 | |
| 128 | include $(CLEAR_VARS) |
| 129 | LOCAL_SRC_FILES:= hwcCommit.cpp |
| 130 | |
| 131 | LOCAL_SHARED_LIBRARIES := \ |
| 132 | libcutils \ |
| 133 | libEGL \ |
| 134 | libGLESv2 \ |
| 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 | frameworks/base/opengl/tests \ |
| 147 | frameworks/base/opengl/tests/include \ |
| 148 | |
| 149 | LOCAL_MODULE:= hwcCommit |
| 150 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativebenchmark |
| 151 | |
| 152 | LOCAL_MODULE_TAGS := tests |
| 153 | |
| 154 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
| 155 | |
| 156 | include $(BUILD_NATIVE_TEST) |