blob: 86e1d46bb13d00740bfe68fe878bde7e17e201a7 [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 -080060
61LOCAL_MODULE_TAGS := tests
62
63LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
64
65include $(BUILD_NATIVE_TEST)
Louis Huemiller734d8d82011-01-05 18:53:47 -080066
67include $(CLEAR_VARS)
68LOCAL_SRC_FILES:= hwcRects.cpp
69
70LOCAL_SHARED_LIBRARIES := \
71 libcutils \
72 libEGL \
73 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -080074 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -070075 liblog \
Louis Huemiller734d8d82011-01-05 18:53:47 -080076 libui \
77 libhardware \
78
79LOCAL_STATIC_LIBRARIES := \
80 libtestUtil \
81 libglTest \
82 libhwcTest \
83
84LOCAL_C_INCLUDES += \
85 system/extras/tests/include \
86 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -080087 $(call include-path-for, opengl-tests-includes)
Louis Huemiller734d8d82011-01-05 18:53:47 -080088
89LOCAL_MODULE:= hwcRects
Louis Huemiller734d8d82011-01-05 18:53:47 -080090
91LOCAL_MODULE_TAGS := tests
92
93LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
94
95include $(BUILD_NATIVE_TEST)
96
97include $(CLEAR_VARS)
98LOCAL_SRC_FILES:= hwcColorEquiv.cpp
99
100LOCAL_SHARED_LIBRARIES := \
101 libcutils \
102 libEGL \
103 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -0800104 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -0700105 liblog \
Louis Huemiller734d8d82011-01-05 18:53:47 -0800106 libui \
107 libhardware \
108
109LOCAL_STATIC_LIBRARIES := \
110 libtestUtil \
111 libglTest \
112 libhwcTest \
113
114LOCAL_C_INCLUDES += \
115 system/extras/tests/include \
116 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -0800117 $(call include-path-for, opengl-tests-includes)
Louis Huemiller734d8d82011-01-05 18:53:47 -0800118
119LOCAL_MODULE:= hwcColorEquiv
Louis Huemiller734d8d82011-01-05 18:53:47 -0800120
121LOCAL_MODULE_TAGS := tests
122
123LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
124
125include $(BUILD_NATIVE_TEST)
Louis Huemiller653f8102011-01-09 10:59:31 -0800126
127include $(CLEAR_VARS)
128LOCAL_SRC_FILES:= hwcCommit.cpp
129
130LOCAL_SHARED_LIBRARIES := \
131 libcutils \
132 libEGL \
133 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -0800134 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -0700135 liblog \
Louis Huemiller653f8102011-01-09 10:59:31 -0800136 libui \
137 libhardware \
138
139LOCAL_STATIC_LIBRARIES := \
140 libtestUtil \
141 libglTest \
142 libhwcTest \
143
144LOCAL_C_INCLUDES += \
145 system/extras/tests/include \
146 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -0800147 $(call include-path-for, opengl-tests-includes)
Louis Huemiller653f8102011-01-09 10:59:31 -0800148
149LOCAL_MODULE:= hwcCommit
Louis Huemiller653f8102011-01-09 10:59:31 -0800150
151LOCAL_MODULE_TAGS := tests
152
153LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
154
155include $(BUILD_NATIVE_TEST)