blob: 2fdfcf8f9ca135ecadd4c7333e7ad8de7bdab34a [file] [log] [blame]
Louis Huemiller734d8d82011-01-05 18:53:47 -08001# 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 Huemiller365b2c62010-11-22 18:05:30 -080015LOCAL_PATH:= $(call my-dir)
16
17include $(CLEAR_VARS)
Louis Huemiller734d8d82011-01-05 18:53:47 -080018LOCAL_MODULE_TAGS := tests
19LOCAL_MODULE:= libhwcTest
20LOCAL_SRC_FILES:= hwcTestLib.cpp
21LOCAL_C_INCLUDES += system/extras/tests/include \
22 bionic \
23 bionic/libstdc++/include \
24 external/stlport/stlport \
Mathias Agopian622cfad2012-03-05 13:57:02 -080025 $(call include-path-for, opengl-tests-includes)
Louis Huemiller734d8d82011-01-05 18:53:47 -080026
27LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
28
29LOCAL_SHARED_LIBRARIES += libcutils libutils libstlport
30LOCAL_STATIC_LIBRARIES += libglTest
Iliyan Malchev9dde9ef2011-03-14 14:02:13 -070031
Louis Huemiller734d8d82011-01-05 18:53:47 -080032
33include $(BUILD_STATIC_LIBRARY)
34
35include $(CLEAR_VARS)
36LOCAL_SRC_FILES:= hwcStress.cpp
Louis Huemiller365b2c62010-11-22 18:05:30 -080037
38LOCAL_SHARED_LIBRARIES := \
39 libcutils \
40 libEGL \
41 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -080042 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -070043 liblog \
Louis Huemiller365b2c62010-11-22 18:05:30 -080044 libui \
45 libhardware \
46
47LOCAL_STATIC_LIBRARIES := \
48 libtestUtil \
Louis Huemiller734d8d82011-01-05 18:53:47 -080049 libglTest \
50 libhwcTest \
Louis Huemiller365b2c62010-11-22 18:05:30 -080051
52LOCAL_C_INCLUDES += \
53 system/extras/tests/include \
54 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -080055 $(call include-path-for, opengl-tests-includes)
Louis Huemiller365b2c62010-11-22 18:05:30 -080056
Louis Huemiller734d8d82011-01-05 18:53:47 -080057LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
58
59LOCAL_MODULE:= hwcStress
Louis Huemiller365b2c62010-11-22 18:05:30 -080060LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativestresstest
61
62LOCAL_MODULE_TAGS := tests
63
64LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
65
66include $(BUILD_NATIVE_TEST)
Louis Huemiller734d8d82011-01-05 18:53:47 -080067
68include $(CLEAR_VARS)
69LOCAL_SRC_FILES:= hwcRects.cpp
70
71LOCAL_SHARED_LIBRARIES := \
72 libcutils \
73 libEGL \
74 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -080075 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -070076 liblog \
Louis Huemiller734d8d82011-01-05 18:53:47 -080077 libui \
78 libhardware \
79
80LOCAL_STATIC_LIBRARIES := \
81 libtestUtil \
82 libglTest \
83 libhwcTest \
84
85LOCAL_C_INCLUDES += \
86 system/extras/tests/include \
87 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -080088 $(call include-path-for, opengl-tests-includes)
Louis Huemiller734d8d82011-01-05 18:53:47 -080089
90LOCAL_MODULE:= hwcRects
91LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil
92
93LOCAL_MODULE_TAGS := tests
94
95LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
96
97include $(BUILD_NATIVE_TEST)
98
99include $(CLEAR_VARS)
100LOCAL_SRC_FILES:= hwcColorEquiv.cpp
101
102LOCAL_SHARED_LIBRARIES := \
103 libcutils \
104 libEGL \
105 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -0800106 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -0700107 liblog \
Louis Huemiller734d8d82011-01-05 18:53:47 -0800108 libui \
109 libhardware \
110
111LOCAL_STATIC_LIBRARIES := \
112 libtestUtil \
113 libglTest \
114 libhwcTest \
115
116LOCAL_C_INCLUDES += \
117 system/extras/tests/include \
118 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -0800119 $(call include-path-for, opengl-tests-includes)
Louis Huemiller734d8d82011-01-05 18:53:47 -0800120
121LOCAL_MODULE:= hwcColorEquiv
122LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil
123
124LOCAL_MODULE_TAGS := tests
125
126LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
127
128include $(BUILD_NATIVE_TEST)
Louis Huemiller653f8102011-01-09 10:59:31 -0800129
130include $(CLEAR_VARS)
131LOCAL_SRC_FILES:= hwcCommit.cpp
132
133LOCAL_SHARED_LIBRARIES := \
134 libcutils \
135 libEGL \
136 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -0800137 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -0700138 liblog \
Louis Huemiller653f8102011-01-09 10:59:31 -0800139 libui \
140 libhardware \
141
142LOCAL_STATIC_LIBRARIES := \
143 libtestUtil \
144 libglTest \
145 libhwcTest \
146
147LOCAL_C_INCLUDES += \
148 system/extras/tests/include \
149 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -0800150 $(call include-path-for, opengl-tests-includes)
Louis Huemiller653f8102011-01-09 10:59:31 -0800151
152LOCAL_MODULE:= hwcCommit
153LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativebenchmark
154
155LOCAL_MODULE_TAGS := tests
156
157LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
158
159include $(BUILD_NATIVE_TEST)