blob: d7d59c6e02b2b6ddb7ac14bbc78fb3911790e4d3 [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)
Dan Albertb79dfe62014-09-11 18:45:33 -070018LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Louis Huemiller734d8d82011-01-05 18:53:47 -080019LOCAL_MODULE_TAGS := tests
20LOCAL_MODULE:= libhwcTest
21LOCAL_SRC_FILES:= hwcTestLib.cpp
22LOCAL_C_INCLUDES += system/extras/tests/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -080023 $(call include-path-for, opengl-tests-includes)
Louis Huemiller734d8d82011-01-05 18:53:47 -080024
25LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
26
Dan Albertb79dfe62014-09-11 18:45:33 -070027include external/stlport/libstlport.mk
Louis Huemiller734d8d82011-01-05 18:53:47 -080028include $(BUILD_STATIC_LIBRARY)
29
30include $(CLEAR_VARS)
Dan Albertb79dfe62014-09-11 18:45:33 -070031LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Louis Huemiller734d8d82011-01-05 18:53:47 -080032LOCAL_SRC_FILES:= hwcStress.cpp
Louis Huemiller365b2c62010-11-22 18:05:30 -080033
34LOCAL_SHARED_LIBRARIES := \
35 libcutils \
36 libEGL \
37 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -080038 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -070039 liblog \
Louis Huemiller365b2c62010-11-22 18:05:30 -080040 libui \
41 libhardware \
42
43LOCAL_STATIC_LIBRARIES := \
44 libtestUtil \
Louis Huemiller734d8d82011-01-05 18:53:47 -080045 libglTest \
46 libhwcTest \
Louis Huemiller365b2c62010-11-22 18:05:30 -080047
48LOCAL_C_INCLUDES += \
49 system/extras/tests/include \
50 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -080051 $(call include-path-for, opengl-tests-includes)
Louis Huemiller365b2c62010-11-22 18:05:30 -080052
Louis Huemiller734d8d82011-01-05 18:53:47 -080053LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
54
55LOCAL_MODULE:= hwcStress
Louis Huemiller365b2c62010-11-22 18:05:30 -080056
57LOCAL_MODULE_TAGS := tests
58
59LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
60
61include $(BUILD_NATIVE_TEST)
Louis Huemiller734d8d82011-01-05 18:53:47 -080062
63include $(CLEAR_VARS)
Dan Albertb79dfe62014-09-11 18:45:33 -070064LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Louis Huemiller734d8d82011-01-05 18:53:47 -080065LOCAL_SRC_FILES:= hwcRects.cpp
66
67LOCAL_SHARED_LIBRARIES := \
68 libcutils \
69 libEGL \
70 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -080071 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -070072 liblog \
Louis Huemiller734d8d82011-01-05 18:53:47 -080073 libui \
74 libhardware \
75
76LOCAL_STATIC_LIBRARIES := \
77 libtestUtil \
78 libglTest \
79 libhwcTest \
80
81LOCAL_C_INCLUDES += \
82 system/extras/tests/include \
83 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -080084 $(call include-path-for, opengl-tests-includes)
Louis Huemiller734d8d82011-01-05 18:53:47 -080085
86LOCAL_MODULE:= hwcRects
Louis Huemiller734d8d82011-01-05 18:53:47 -080087
88LOCAL_MODULE_TAGS := tests
89
90LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
91
92include $(BUILD_NATIVE_TEST)
93
94include $(CLEAR_VARS)
Dan Albertb79dfe62014-09-11 18:45:33 -070095LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Louis Huemiller734d8d82011-01-05 18:53:47 -080096LOCAL_SRC_FILES:= hwcColorEquiv.cpp
97
98LOCAL_SHARED_LIBRARIES := \
99 libcutils \
100 libEGL \
101 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -0800102 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -0700103 liblog \
Louis Huemiller734d8d82011-01-05 18:53:47 -0800104 libui \
105 libhardware \
106
107LOCAL_STATIC_LIBRARIES := \
108 libtestUtil \
109 libglTest \
110 libhwcTest \
111
112LOCAL_C_INCLUDES += \
113 system/extras/tests/include \
114 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -0800115 $(call include-path-for, opengl-tests-includes)
Louis Huemiller734d8d82011-01-05 18:53:47 -0800116
117LOCAL_MODULE:= hwcColorEquiv
Louis Huemiller734d8d82011-01-05 18:53:47 -0800118
119LOCAL_MODULE_TAGS := tests
120
121LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
122
123include $(BUILD_NATIVE_TEST)
Louis Huemiller653f8102011-01-09 10:59:31 -0800124
125include $(CLEAR_VARS)
Dan Albertb79dfe62014-09-11 18:45:33 -0700126LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Louis Huemiller653f8102011-01-09 10:59:31 -0800127LOCAL_SRC_FILES:= hwcCommit.cpp
128
129LOCAL_SHARED_LIBRARIES := \
130 libcutils \
131 libEGL \
132 libGLESv2 \
Mathias Agopian84b470d2013-03-06 21:34:39 -0800133 libutils \
Ying Wang8a0cb4e2013-04-09 21:55:39 -0700134 liblog \
Louis Huemiller653f8102011-01-09 10:59:31 -0800135 libui \
136 libhardware \
137
138LOCAL_STATIC_LIBRARIES := \
139 libtestUtil \
140 libglTest \
141 libhwcTest \
142
143LOCAL_C_INCLUDES += \
144 system/extras/tests/include \
145 hardware/libhardware/include \
Mathias Agopian622cfad2012-03-05 13:57:02 -0800146 $(call include-path-for, opengl-tests-includes)
Louis Huemiller653f8102011-01-09 10:59:31 -0800147
148LOCAL_MODULE:= hwcCommit
Louis Huemiller653f8102011-01-09 10:59:31 -0800149
150LOCAL_MODULE_TAGS := tests
151
152LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
153
154include $(BUILD_NATIVE_TEST)