| 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) | 
| Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 18 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 19 |  | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 20 | LOCAL_MODULE_TAGS := tests | 
|  | 21 | LOCAL_MODULE:= libhwcTest | 
| Aurimas Liutikas | d1d1699 | 2016-02-23 17:10:37 -0800 | [diff] [blame] | 22 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 23 | LOCAL_CXX_STL := libc++ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 24 | LOCAL_SRC_FILES:= hwcTestLib.cpp | 
|  | 25 | LOCAL_C_INCLUDES += system/extras/tests/include \ | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 26 | $(call include-path-for, opengl-tests-includes) \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 27 |  | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 28 | include $(BUILD_STATIC_LIBRARY) | 
|  | 29 |  | 
|  | 30 | include $(CLEAR_VARS) | 
| Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 31 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 32 |  | 
|  | 33 | LOCAL_MODULE:= hwcStress | 
|  | 34 | LOCAL_MODULE_TAGS := tests | 
| Aurimas Liutikas | d1d1699 | 2016-02-23 17:10:37 -0800 | [diff] [blame] | 35 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 36 | LOCAL_CXX_STL := libc++ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 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 \ | 
| Mathias Agopian | 84b470d | 2013-03-06 21:34:39 -0800 | [diff] [blame] | 43 | libutils \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 44 | liblog \ | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 45 | libui \ | 
|  | 46 | libhardware \ | 
|  | 47 |  | 
|  | 48 | LOCAL_STATIC_LIBRARIES := \ | 
|  | 49 | libtestUtil \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 50 | libglTest \ | 
|  | 51 | libhwcTest \ | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 52 |  | 
|  | 53 | LOCAL_C_INCLUDES += \ | 
|  | 54 | system/extras/tests/include \ | 
|  | 55 | hardware/libhardware/include \ | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 56 | $(call include-path-for, opengl-tests-includes) \ | 
| Louis Huemiller | 365b2c6 | 2010-11-22 18:05:30 -0800 | [diff] [blame] | 57 |  | 
|  | 58 | include $(BUILD_NATIVE_TEST) | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 59 |  | 
|  | 60 | include $(CLEAR_VARS) | 
| Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 61 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 62 |  | 
|  | 63 | LOCAL_MODULE:= hwcRects | 
|  | 64 | LOCAL_MODULE_TAGS := tests | 
| Aurimas Liutikas | d1d1699 | 2016-02-23 17:10:37 -0800 | [diff] [blame] | 65 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 66 | LOCAL_CXX_STL := libc++ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 67 | LOCAL_SRC_FILES:= hwcRects.cpp | 
|  | 68 |  | 
|  | 69 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 70 | libcutils \ | 
|  | 71 | libEGL \ | 
|  | 72 | libGLESv2 \ | 
| Mathias Agopian | 84b470d | 2013-03-06 21:34:39 -0800 | [diff] [blame] | 73 | libutils \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 74 | liblog \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 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 \ | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 86 | $(call include-path-for, opengl-tests-includes) \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 87 |  | 
|  | 88 | include $(BUILD_NATIVE_TEST) | 
|  | 89 |  | 
|  | 90 | include $(CLEAR_VARS) | 
| Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 91 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 92 |  | 
|  | 93 | LOCAL_MODULE:= hwcColorEquiv | 
|  | 94 | LOCAL_MODULE_TAGS := tests | 
| Aurimas Liutikas | d1d1699 | 2016-02-23 17:10:37 -0800 | [diff] [blame] | 95 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 96 | LOCAL_CXX_STL := libc++ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 97 | LOCAL_SRC_FILES:= hwcColorEquiv.cpp | 
|  | 98 |  | 
|  | 99 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 100 | libcutils \ | 
|  | 101 | libEGL \ | 
|  | 102 | libGLESv2 \ | 
| Mathias Agopian | 84b470d | 2013-03-06 21:34:39 -0800 | [diff] [blame] | 103 | libutils \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 104 | liblog \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 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 \ | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 116 | $(call include-path-for, opengl-tests-includes) \ | 
| Louis Huemiller | 734d8d8 | 2011-01-05 18:53:47 -0800 | [diff] [blame] | 117 |  | 
|  | 118 | include $(BUILD_NATIVE_TEST) | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 119 |  | 
|  | 120 | include $(CLEAR_VARS) | 
| Dan Albert | b79dfe6 | 2014-09-11 18:45:33 -0700 | [diff] [blame] | 121 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 122 |  | 
|  | 123 | LOCAL_MODULE:= hwcCommit | 
|  | 124 | LOCAL_MODULE_TAGS := tests | 
| Aurimas Liutikas | d1d1699 | 2016-02-23 17:10:37 -0800 | [diff] [blame] | 125 | LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 126 | LOCAL_CXX_STL := libc++ | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 127 | LOCAL_SRC_FILES:= hwcCommit.cpp | 
|  | 128 |  | 
|  | 129 | LOCAL_SHARED_LIBRARIES := \ | 
|  | 130 | libcutils \ | 
|  | 131 | libEGL \ | 
|  | 132 | libGLESv2 \ | 
| Mathias Agopian | 84b470d | 2013-03-06 21:34:39 -0800 | [diff] [blame] | 133 | libutils \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 134 | liblog \ | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 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 \ | 
| Dan Albert | bcc1ae0 | 2014-11-04 17:25:12 -0800 | [diff] [blame] | 146 | $(call include-path-for, opengl-tests-includes) \ | 
| Louis Huemiller | 653f810 | 2011-01-09 10:59:31 -0800 | [diff] [blame] | 147 |  | 
|  | 148 | include $(BUILD_NATIVE_TEST) |