am 8d83d91e: Terminate test process after first OOM in compute_interop tests.
[platform/upstream/VK-GL-CTS.git] / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 delibs_dir := $(LOCAL_PATH)/framework/delibs
5 deqp_dir := $(LOCAL_PATH)/
6
7 LOCAL_MODULE_TAGS := tests
8 LOCAL_MODULE := libdeqp
9 LOCAL_SRC_FILES := \
10         execserver/xsDefs.cpp \
11         execserver/xsExecutionServer.cpp \
12         execserver/xsPosixFileReader.cpp \
13         execserver/xsPosixTestProcess.cpp \
14         execserver/xsProtocol.cpp \
15         execserver/xsTcpServer.cpp \
16         execserver/xsTestDriver.cpp \
17         execserver/xsTestProcess.cpp \
18         executor/xeBatchExecutor.cpp \
19         executor/xeBatchResult.cpp \
20         executor/xeCallQueue.cpp \
21         executor/xeCommLink.cpp \
22         executor/xeContainerFormatParser.cpp \
23         executor/xeDefs.cpp \
24         executor/xeLocalTcpIpLink.cpp \
25         executor/xeTcpIpLink.cpp \
26         executor/xeTestCase.cpp \
27         executor/xeTestCaseListParser.cpp \
28         executor/xeTestCaseResult.cpp \
29         executor/xeTestLogParser.cpp \
30         executor/xeTestLogWriter.cpp \
31         executor/xeTestResultParser.cpp \
32         executor/xeXMLParser.cpp \
33         executor/xeXMLWriter.cpp \
34         framework/common/tcuApp.cpp \
35         framework/common/tcuBilinearImageCompare.cpp \
36         framework/common/tcuCommandLine.cpp \
37         framework/common/tcuCompressedTexture.cpp \
38         framework/common/tcuCPUWarmup.cpp \
39         framework/common/tcuDefs.cpp \
40         framework/common/tcuFactoryRegistry.cpp \
41         framework/common/tcuFloatFormat.cpp \
42         framework/common/tcuFunctionLibrary.cpp \
43         framework/common/tcuFuzzyImageCompare.cpp \
44         framework/common/tcuImageCompare.cpp \
45         framework/common/tcuImageIO.cpp \
46         framework/common/tcuInterval.cpp \
47         framework/common/tcuPlatform.cpp \
48         framework/common/tcuRandomValueIterator.cpp \
49         framework/common/tcuRenderTarget.cpp \
50         framework/common/tcuResource.cpp \
51         framework/common/tcuRGBA.cpp \
52         framework/common/tcuStringTemplate.cpp \
53         framework/common/tcuSurface.cpp \
54         framework/common/tcuTestCase.cpp \
55         framework/common/tcuTestCaseWrapper.cpp \
56         framework/common/tcuTestContext.cpp \
57         framework/common/tcuTestExecutor.cpp \
58         framework/common/tcuTestLog.cpp \
59         framework/common/tcuTestPackage.cpp \
60         framework/common/tcuTexCompareVerifier.cpp \
61         framework/common/tcuTexLookupVerifier.cpp \
62         framework/common/tcuTexture.cpp \
63         framework/common/tcuTextureUtil.cpp \
64         framework/common/tcuTexVerifierUtil.cpp \
65         framework/common/tcuThreadUtil.cpp \
66         framework/delibs/debase/deDefs.c \
67         framework/delibs/debase/deFloat16.c \
68         framework/delibs/debase/deInt32.c \
69         framework/delibs/debase/deInt32Test.c \
70         framework/delibs/debase/deMath.c \
71         framework/delibs/debase/deMemory.c \
72         framework/delibs/debase/deRandom.c \
73         framework/delibs/debase/deString.c \
74         framework/delibs/decpp/deArrayBuffer.cpp \
75         framework/delibs/decpp/deBlockBuffer.cpp \
76         framework/delibs/decpp/deCommandLine.cpp \
77         framework/delibs/decpp/deDefs.cpp \
78         framework/delibs/decpp/deDirectoryIterator.cpp \
79         framework/delibs/decpp/deDynamicLibrary.cpp \
80         framework/delibs/decpp/deFilePath.cpp \
81         framework/delibs/decpp/deMemPool.cpp \
82         framework/delibs/decpp/deMutex.cpp \
83         framework/delibs/decpp/dePoolArray.cpp \
84         framework/delibs/decpp/dePoolString.cpp \
85         framework/delibs/decpp/deProcess.cpp \
86         framework/delibs/decpp/deRandom.cpp \
87         framework/delibs/decpp/deRingBuffer.cpp \
88         framework/delibs/decpp/deSemaphore.cpp \
89         framework/delibs/decpp/deSharedPtr.cpp \
90         framework/delibs/decpp/deSocket.cpp \
91         framework/delibs/decpp/deSTLUtil.cpp \
92         framework/delibs/decpp/deStringUtil.cpp \
93         framework/delibs/decpp/deThread.cpp \
94         framework/delibs/decpp/deThreadLocal.cpp \
95         framework/delibs/decpp/deThreadSafeRingBuffer.cpp \
96         framework/delibs/decpp/deUniquePtr.cpp \
97         framework/delibs/deimage/deImage.c \
98         framework/delibs/deimage/deTarga.c \
99         framework/delibs/depool/deMemPool.c \
100         framework/delibs/depool/dePoolArray.c \
101         framework/delibs/depool/dePoolHashArray.c \
102         framework/delibs/depool/dePoolHash.c \
103         framework/delibs/depool/dePoolHashSet.c \
104         framework/delibs/depool/dePoolHeap.c \
105         framework/delibs/depool/dePoolMultiSet.c \
106         framework/delibs/depool/dePoolSet.c \
107         framework/delibs/depool/dePoolStringBuilder.c \
108         framework/delibs/depool/dePoolTest.c \
109         framework/delibs/destream/deFileStream.c \
110         framework/delibs/destream/deRingbuffer.c \
111         framework/delibs/destream/deStreamCpyThread.c \
112         framework/delibs/destream/deThreadStream.c \
113         framework/delibs/dethread/deAtomic.c \
114         framework/delibs/dethread/deSingleton.c \
115         framework/delibs/dethread/deThreadTest.c \
116         framework/delibs/dethread/unix/deMutexUnix.c \
117         framework/delibs/dethread/unix/deNamedSemaphoreUnix.c \
118         framework/delibs/dethread/unix/deSemaphoreUnix.c \
119         framework/delibs/dethread/unix/deThreadLocalUnix.c \
120         framework/delibs/dethread/unix/deThreadUnix.c \
121         framework/delibs/deutil/deClock.c \
122         framework/delibs/deutil/deCommandLine.c \
123         framework/delibs/deutil/deDynamicLibrary.c \
124         framework/delibs/deutil/deFile.c \
125         framework/delibs/deutil/deProcess.c \
126         framework/delibs/deutil/deSocket.c \
127         framework/delibs/deutil/deTimer.c \
128         framework/delibs/deutil/deTimerTest.c \
129         framework/egl/egluCallLogWrapper.cpp \
130         framework/egl/egluConfigFilter.cpp \
131         framework/egl/egluConfigInfo.cpp \
132         framework/egl/egluDefs.cpp \
133         framework/egl/egluGLContextFactory.cpp \
134         framework/egl/egluGLFunctionLoader.cpp \
135         framework/egl/egluHeaderWrapper.cpp \
136         framework/egl/egluNativeDisplay.cpp \
137         framework/egl/egluNativePixmap.cpp \
138         framework/egl/egluNativeWindow.cpp \
139         framework/egl/egluPlatform.cpp \
140         framework/egl/egluStaticESLibrary.cpp \
141         framework/egl/egluStrUtil.cpp \
142         framework/egl/egluUnique.cpp \
143         framework/egl/egluUtil.cpp \
144         framework/egl/tcuEgl.cpp \
145         framework/opengl/gluCallLogWrapper.cpp \
146         framework/opengl/gluContextFactory.cpp \
147         framework/opengl/gluContextInfo.cpp \
148         framework/opengl/gluDefs.cpp \
149         framework/opengl/gluDrawUtil.cpp \
150         framework/opengl/gluDummyRenderContext.cpp \
151         framework/opengl/gluES3PlusWrapperContext.cpp \
152         framework/opengl/gluFboRenderContext.cpp \
153         framework/opengl/gluObjectWrapper.cpp \
154         framework/opengl/gluPixelTransfer.cpp \
155         framework/opengl/gluPlatform.cpp \
156         framework/opengl/gluProgramInterfaceQuery.cpp \
157         framework/opengl/gluRenderConfig.cpp \
158         framework/opengl/gluRenderContext.cpp \
159         framework/opengl/gluShaderProgram.cpp \
160         framework/opengl/gluShaderUtil.cpp \
161         framework/opengl/gluStateReset.cpp \
162         framework/opengl/gluStrUtil.cpp \
163         framework/opengl/gluTexture.cpp \
164         framework/opengl/gluTextureUtil.cpp \
165         framework/opengl/gluVarType.cpp \
166         framework/opengl/gluVarTypeUtil.cpp \
167         framework/opengl/simplereference/sglrContext.cpp \
168         framework/opengl/simplereference/sglrContextUtil.cpp \
169         framework/opengl/simplereference/sglrContextWrapper.cpp \
170         framework/opengl/simplereference/sglrGLContext.cpp \
171         framework/opengl/simplereference/sglrReferenceContext.cpp \
172         framework/opengl/simplereference/sglrReferenceUtils.cpp \
173         framework/opengl/simplereference/sglrShaderProgram.cpp \
174         framework/opengl/wrapper/glwDefs.cpp \
175         framework/opengl/wrapper/glwFunctions.cpp \
176         framework/opengl/wrapper/glwInitES20Direct.cpp \
177         framework/opengl/wrapper/glwInitES30Direct.cpp \
178         framework/opengl/wrapper/glwInitFunctions.cpp \
179         framework/opengl/wrapper/glwWrapper.cpp \
180         framework/platform/android/tcuAndroidAssets.cpp \
181         framework/platform/android/tcuAndroidExecService.cpp \
182         framework/platform/android/tcuAndroidJNI.cpp \
183         framework/platform/android/tcuAndroidMain.cpp \
184         framework/platform/android/tcuAndroidNativeActivity.cpp \
185         framework/platform/android/tcuAndroidPlatform.cpp \
186         framework/platform/android/tcuAndroidRenderActivity.cpp \
187         framework/platform/android/tcuAndroidTestActivity.cpp \
188         framework/platform/android/tcuAndroidUtil.cpp \
189         framework/platform/android/tcuAndroidWindow.cpp \
190         framework/platform/android/tcuTestLogParserJNI.cpp \
191         framework/qphelper/qpCrashHandler.c \
192         framework/qphelper/qpDebugOut.c \
193         framework/qphelper/qpInfo.c \
194         framework/qphelper/qpTestLog.c \
195         framework/qphelper/qpWatchDog.c \
196         framework/qphelper/qpXmlWriter.c \
197         framework/randomshaders/rsgBinaryOps.cpp \
198         framework/randomshaders/rsgBuiltinFunctions.cpp \
199         framework/randomshaders/rsgDefs.cpp \
200         framework/randomshaders/rsgExecutionContext.cpp \
201         framework/randomshaders/rsgExpression.cpp \
202         framework/randomshaders/rsgExpressionGenerator.cpp \
203         framework/randomshaders/rsgFunctionGenerator.cpp \
204         framework/randomshaders/rsgGeneratorState.cpp \
205         framework/randomshaders/rsgNameAllocator.cpp \
206         framework/randomshaders/rsgParameters.cpp \
207         framework/randomshaders/rsgPrettyPrinter.cpp \
208         framework/randomshaders/rsgProgramExecutor.cpp \
209         framework/randomshaders/rsgProgramGenerator.cpp \
210         framework/randomshaders/rsgSamplers.cpp \
211         framework/randomshaders/rsgShader.cpp \
212         framework/randomshaders/rsgShaderGenerator.cpp \
213         framework/randomshaders/rsgStatement.cpp \
214         framework/randomshaders/rsgTest.cpp \
215         framework/randomshaders/rsgToken.cpp \
216         framework/randomshaders/rsgUtils.cpp \
217         framework/randomshaders/rsgVariable.cpp \
218         framework/randomshaders/rsgVariableManager.cpp \
219         framework/randomshaders/rsgVariableType.cpp \
220         framework/randomshaders/rsgVariableValue.cpp \
221         framework/referencerenderer/rrDefs.cpp \
222         framework/referencerenderer/rrFragmentOperations.cpp \
223         framework/referencerenderer/rrMultisamplePixelBufferAccess.cpp \
224         framework/referencerenderer/rrPrimitivePacket.cpp \
225         framework/referencerenderer/rrRasterizer.cpp \
226         framework/referencerenderer/rrRenderer.cpp \
227         framework/referencerenderer/rrShaders.cpp \
228         framework/referencerenderer/rrShadingContext.cpp \
229         framework/referencerenderer/rrVertexAttrib.cpp \
230         framework/referencerenderer/rrVertexPacket.cpp \
231         modules/gles31/functional/es31fAdvancedBlendTests.cpp \
232         modules/gles31/functional/es31fAtomicCounterTests.cpp \
233         modules/gles31/functional/es31fBasicComputeShaderTests.cpp \
234         modules/gles31/functional/es31fBuiltinPrecisionTests.cpp \
235         modules/gles31/functional/es31fComputeShaderBuiltinVarTests.cpp \
236         modules/gles31/functional/es31fDebugTests.cpp \
237         modules/gles31/functional/es31fDrawTests.cpp \
238         modules/gles31/functional/es31fFboColorbufferTests.cpp \
239         modules/gles31/functional/es31fFboNoAttachmentTests.cpp \
240         modules/gles31/functional/es31fFboTestCase.cpp \
241         modules/gles31/functional/es31fFboTestUtil.cpp \
242         modules/gles31/functional/es31fFunctionalTests.cpp \
243         modules/gles31/functional/es31fGeometryShaderTests.cpp \
244         modules/gles31/functional/es31fIndirectComputeDispatchTests.cpp \
245         modules/gles31/functional/es31fIntegerStateQueryTests.cpp \
246         modules/gles31/functional/es31fInternalFormatQueryTests.cpp \
247         modules/gles31/functional/es31fLayoutBindingTests.cpp \
248         modules/gles31/functional/es31fMultisampleShaderRenderCase.cpp \
249         modules/gles31/functional/es31fMultisampleTests.cpp \
250         modules/gles31/functional/es31fNegativeBufferApiTests.cpp \
251         modules/gles31/functional/es31fNegativeFragmentApiTests.cpp \
252         modules/gles31/functional/es31fNegativeShaderApiTests.cpp \
253         modules/gles31/functional/es31fNegativeStateApiTests.cpp \
254         modules/gles31/functional/es31fNegativeTestShared.cpp \
255         modules/gles31/functional/es31fNegativeTextureApiTests.cpp \
256         modules/gles31/functional/es31fNegativeVertexArrayApiTests.cpp \
257         modules/gles31/functional/es31fOpaqueTypeIndexingTests.cpp \
258         modules/gles31/functional/es31fProgramInterfaceDefinition.cpp \
259         modules/gles31/functional/es31fProgramInterfaceDefinitionUtil.cpp \
260         modules/gles31/functional/es31fProgramInterfaceQueryTestCase.cpp \
261         modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp \
262         modules/gles31/functional/es31fProgramUniformTests.cpp \
263         modules/gles31/functional/es31fSampleShadingTests.cpp \
264         modules/gles31/functional/es31fSampleVariableTests.cpp \
265         modules/gles31/functional/es31fSeparateShaderTests.cpp \
266         modules/gles31/functional/es31fShaderAtomicOpTests.cpp \
267         modules/gles31/functional/es31fShaderBuiltinConstantTests.cpp \
268         modules/gles31/functional/es31fShaderCommonFunctionTests.cpp \
269         modules/gles31/functional/es31fShaderHelperInvocationTests.cpp \
270         modules/gles31/functional/es31fShaderImageLoadStoreTests.cpp \
271         modules/gles31/functional/es31fShaderIntegerFunctionTests.cpp \
272         modules/gles31/functional/es31fShaderMultisampleInterpolationStateQueryTests.cpp \
273         modules/gles31/functional/es31fShaderMultisampleInterpolationTests.cpp \
274         modules/gles31/functional/es31fShaderPackingFunctionTests.cpp \
275         modules/gles31/functional/es31fShaderSharedVarTests.cpp \
276         modules/gles31/functional/es31fShaderStateQueryTests.cpp \
277         modules/gles31/functional/es31fShaderTextureSizeTests.cpp \
278         modules/gles31/functional/es31fSSBOArrayLengthTests.cpp \
279         modules/gles31/functional/es31fSSBOLayoutCase.cpp \
280         modules/gles31/functional/es31fSSBOLayoutTests.cpp \
281         modules/gles31/functional/es31fStencilTexturingTests.cpp \
282         modules/gles31/functional/es31fSynchronizationTests.cpp \
283         modules/gles31/functional/es31fTessellationGeometryInteractionTests.cpp \
284         modules/gles31/functional/es31fTessellationTests.cpp \
285         modules/gles31/functional/es31fTextureBufferTests.cpp \
286         modules/gles31/functional/es31fTextureFilteringTests.cpp \
287         modules/gles31/functional/es31fTextureFormatTests.cpp \
288         modules/gles31/functional/es31fTextureGatherTests.cpp \
289         modules/gles31/functional/es31fTextureLevelStateQueryTests.cpp \
290         modules/gles31/functional/es31fTextureMultisampleTests.cpp \
291         modules/gles31/functional/es31fTextureSpecificationTests.cpp \
292         modules/gles31/functional/es31fUniformBlockTests.cpp \
293         modules/gles31/functional/es31fUniformLocationTests.cpp \
294         modules/gles31/functional/es31fVertexAttributeBindingStateQueryTests.cpp \
295         modules/gles31/functional/es31fVertexAttributeBindingTests.cpp \
296         modules/gles31/stress/es31sDrawTests.cpp \
297         modules/gles31/stress/es31sStressTests.cpp \
298         modules/gles31/stress/es31sTessellationGeometryInteractionTests.cpp \
299         modules/gles31/stress/es31sVertexAttributeBindingTests.cpp \
300         modules/gles31/tes31Context.cpp \
301         modules/gles31/tes31InfoTests.cpp \
302         modules/gles31/tes31TestCase.cpp \
303         modules/gles31/tes31TestCaseWrapper.cpp \
304         modules/gles31/tes31TestPackage.cpp \
305         modules/gles31/tes31TestPackageEntry.cpp \
306         modules/gles3/accuracy/es3aAccuracyTests.cpp \
307         modules/gles3/accuracy/es3aTextureFilteringTests.cpp \
308         modules/gles3/accuracy/es3aTextureMipmapTests.cpp \
309         modules/gles3/accuracy/es3aVaryingInterpolationTests.cpp \
310         modules/gles3/functional/es3fApiCase.cpp \
311         modules/gles3/functional/es3fASTCDecompressionCases.cpp \
312         modules/gles3/functional/es3fAttribLocationTests.cpp \
313         modules/gles3/functional/es3fBlendTests.cpp \
314         modules/gles3/functional/es3fBooleanStateQueryTests.cpp \
315         modules/gles3/functional/es3fBufferCopyTests.cpp \
316         modules/gles3/functional/es3fBufferMapTests.cpp \
317         modules/gles3/functional/es3fBufferObjectQueryTests.cpp \
318         modules/gles3/functional/es3fBufferWriteTests.cpp \
319         modules/gles3/functional/es3fBuiltinPrecisionTests.cpp \
320         modules/gles3/functional/es3fClippingTests.cpp \
321         modules/gles3/functional/es3fColorClearTest.cpp \
322         modules/gles3/functional/es3fCompressedTextureTests.cpp \
323         modules/gles3/functional/es3fDefaultVertexAttributeTests.cpp \
324         modules/gles3/functional/es3fDepthStencilClearTests.cpp \
325         modules/gles3/functional/es3fDepthStencilTests.cpp \
326         modules/gles3/functional/es3fDepthTests.cpp \
327         modules/gles3/functional/es3fDitheringTests.cpp \
328         modules/gles3/functional/es3fDrawTests.cpp \
329         modules/gles3/functional/es3fFboApiTests.cpp \
330         modules/gles3/functional/es3fFboColorbufferTests.cpp \
331         modules/gles3/functional/es3fFboCompletenessTests.cpp \
332         modules/gles3/functional/es3fFboDepthbufferTests.cpp \
333         modules/gles3/functional/es3fFboInvalidateTests.cpp \
334         modules/gles3/functional/es3fFboMultisampleTests.cpp \
335         modules/gles3/functional/es3fFboRenderTest.cpp \
336         modules/gles3/functional/es3fFboStateQueryTests.cpp \
337         modules/gles3/functional/es3fFboStencilbufferTests.cpp \
338         modules/gles3/functional/es3fFboTestCase.cpp \
339         modules/gles3/functional/es3fFboTestUtil.cpp \
340         modules/gles3/functional/es3fFloatStateQueryTests.cpp \
341         modules/gles3/functional/es3fFlushFinishTests.cpp \
342         modules/gles3/functional/es3fFragDepthTests.cpp \
343         modules/gles3/functional/es3fFragmentOutputTests.cpp \
344         modules/gles3/functional/es3fFragOpInteractionTests.cpp \
345         modules/gles3/functional/es3fFramebufferBlitTests.cpp \
346         modules/gles3/functional/es3fFunctionalTests.cpp \
347         modules/gles3/functional/es3fImplementationLimitTests.cpp \
348         modules/gles3/functional/es3fIndexedStateQueryTests.cpp \
349         modules/gles3/functional/es3fInstancedRenderingTests.cpp \
350         modules/gles3/functional/es3fInteger64StateQueryTests.cpp \
351         modules/gles3/functional/es3fIntegerStateQueryTests.cpp \
352         modules/gles3/functional/es3fInternalFormatQueryTests.cpp \
353         modules/gles3/functional/es3fLifetimeTests.cpp \
354         modules/gles3/functional/es3fMultisampleTests.cpp \
355         modules/gles3/functional/es3fNegativeBufferApiTests.cpp \
356         modules/gles3/functional/es3fNegativeFragmentApiTests.cpp \
357         modules/gles3/functional/es3fNegativeShaderApiTests.cpp \
358         modules/gles3/functional/es3fNegativeStateApiTests.cpp \
359         modules/gles3/functional/es3fNegativeTextureApiTests.cpp \
360         modules/gles3/functional/es3fNegativeVertexArrayApiTests.cpp \
361         modules/gles3/functional/es3fOcclusionQueryTests.cpp \
362         modules/gles3/functional/es3fPixelBufferObjectTests.cpp \
363         modules/gles3/functional/es3fPolygonOffsetTests.cpp \
364         modules/gles3/functional/es3fPrerequisiteTests.cpp \
365         modules/gles3/functional/es3fPrimitiveRestartTests.cpp \
366         modules/gles3/functional/es3fRandomFragmentOpTests.cpp \
367         modules/gles3/functional/es3fRandomShaderTests.cpp \
368         modules/gles3/functional/es3fRasterizationTests.cpp \
369         modules/gles3/functional/es3fRasterizerDiscardTests.cpp \
370         modules/gles3/functional/es3fRboStateQueryTests.cpp \
371         modules/gles3/functional/es3fReadPixelsTests.cpp \
372         modules/gles3/functional/es3fSamplerObjectTests.cpp \
373         modules/gles3/functional/es3fSamplerStateQueryTests.cpp \
374         modules/gles3/functional/es3fScissorTests.cpp \
375         modules/gles3/functional/es3fShaderApiTests.cpp \
376         modules/gles3/functional/es3fShaderBuiltinVarTests.cpp \
377         modules/gles3/functional/es3fShaderCommonFunctionTests.cpp \
378         modules/gles3/functional/es3fShaderConstExprTests.cpp \
379         modules/gles3/functional/es3fShaderDerivateTests.cpp \
380         modules/gles3/functional/es3fShaderDiscardTests.cpp \
381         modules/gles3/functional/es3fShaderFragDataTests.cpp \
382         modules/gles3/functional/es3fShaderIndexingTests.cpp \
383         modules/gles3/functional/es3fShaderInvarianceTests.cpp \
384         modules/gles3/functional/es3fShaderLoopTests.cpp \
385         modules/gles3/functional/es3fShaderMatrixTests.cpp \
386         modules/gles3/functional/es3fShaderOperatorTests.cpp \
387         modules/gles3/functional/es3fShaderPackingFunctionTests.cpp \
388         modules/gles3/functional/es3fShaderPrecisionTests.cpp \
389         modules/gles3/functional/es3fShaderReturnTests.cpp \
390         modules/gles3/functional/es3fShaderStateQueryTests.cpp \
391         modules/gles3/functional/es3fShaderStructTests.cpp \
392         modules/gles3/functional/es3fShaderSwitchTests.cpp \
393         modules/gles3/functional/es3fShaderTextureFunctionTests.cpp \
394         modules/gles3/functional/es3fStencilTests.cpp \
395         modules/gles3/functional/es3fStringQueryTests.cpp \
396         modules/gles3/functional/es3fSyncTests.cpp \
397         modules/gles3/functional/es3fTextureFilteringTests.cpp \
398         modules/gles3/functional/es3fTextureFormatTests.cpp \
399         modules/gles3/functional/es3fTextureMipmapTests.cpp \
400         modules/gles3/functional/es3fTextureShadowTests.cpp \
401         modules/gles3/functional/es3fTextureSizeTests.cpp \
402         modules/gles3/functional/es3fTextureSpecificationTests.cpp \
403         modules/gles3/functional/es3fTextureStateQueryTests.cpp \
404         modules/gles3/functional/es3fTextureSwizzleTests.cpp \
405         modules/gles3/functional/es3fTextureUnitTests.cpp \
406         modules/gles3/functional/es3fTextureWrapTests.cpp \
407         modules/gles3/functional/es3fTransformFeedbackTests.cpp \
408         modules/gles3/functional/es3fUniformApiTests.cpp \
409         modules/gles3/functional/es3fUniformBlockTests.cpp \
410         modules/gles3/functional/es3fVertexArrayObjectTests.cpp \
411         modules/gles3/functional/es3fVertexArrayTest.cpp \
412         modules/gles3/functional/es3fVertexTextureTests.cpp \
413         modules/gles3/performance/es3pBlendTests.cpp \
414         modules/gles3/performance/es3pBufferDataUploadTests.cpp \
415         modules/gles3/performance/es3pDepthTests.cpp \
416         modules/gles3/performance/es3pPerformanceTests.cpp \
417         modules/gles3/performance/es3pRedundantStateChangeTests.cpp \
418         modules/gles3/performance/es3pShaderCompilationCases.cpp \
419         modules/gles3/performance/es3pShaderCompilerTests.cpp \
420         modules/gles3/performance/es3pShaderControlStatementTests.cpp \
421         modules/gles3/performance/es3pShaderOperatorTests.cpp \
422         modules/gles3/performance/es3pShaderOptimizationTests.cpp \
423         modules/gles3/performance/es3pStateChangeCallTests.cpp \
424         modules/gles3/performance/es3pStateChangeTests.cpp \
425         modules/gles3/performance/es3pTextureCases.cpp \
426         modules/gles3/performance/es3pTextureCountTests.cpp \
427         modules/gles3/performance/es3pTextureFilteringTests.cpp \
428         modules/gles3/performance/es3pTextureFormatTests.cpp \
429         modules/gles3/stress/es3sDrawTests.cpp \
430         modules/gles3/stress/es3sLongRunningShaderTests.cpp \
431         modules/gles3/stress/es3sLongRunningTests.cpp \
432         modules/gles3/stress/es3sLongShaderTests.cpp \
433         modules/gles3/stress/es3sMemoryTests.cpp \
434         modules/gles3/stress/es3sOcclusionQueryTests.cpp \
435         modules/gles3/stress/es3sSpecialFloatTests.cpp \
436         modules/gles3/stress/es3sStressTests.cpp \
437         modules/gles3/stress/es3sSyncTests.cpp \
438         modules/gles3/stress/es3sVertexArrayTests.cpp \
439         modules/gles3/tes3Context.cpp \
440         modules/gles3/tes3InfoTests.cpp \
441         modules/gles3/tes3TestCase.cpp \
442         modules/gles3/tes3TestCaseWrapper.cpp \
443         modules/gles3/tes3TestPackage.cpp \
444         modules/gles3/tes3TestPackageEntry.cpp \
445         modules/glshared/glsAttributeLocationTests.cpp \
446         modules/glshared/glsBufferTestUtil.cpp \
447         modules/glshared/glsBuiltinPrecisionTests.cpp \
448         modules/glshared/glsCalibration.cpp \
449         modules/glshared/glsDrawTest.cpp \
450         modules/glshared/glsFboCompletenessTests.cpp \
451         modules/glshared/glsFboUtil.cpp \
452         modules/glshared/glsFragmentOpUtil.cpp \
453         modules/glshared/glsFragOpInteractionCase.cpp \
454         modules/glshared/glsInteractionTestUtil.cpp \
455         modules/glshared/glsLifetimeTests.cpp \
456         modules/glshared/glsLongStressCase.cpp \
457         modules/glshared/glsLongStressTestUtil.cpp \
458         modules/glshared/glsMemoryStressCase.cpp \
459         modules/glshared/glsRandomShaderCase.cpp \
460         modules/glshared/glsRandomShaderProgram.cpp \
461         modules/glshared/glsRandomUniformBlockCase.cpp \
462         modules/glshared/glsRasterizationTestUtil.cpp \
463         modules/glshared/glsSamplerObjectTest.cpp \
464         modules/glshared/glsScissorTests.cpp \
465         modules/glshared/glsShaderConstExprTests.cpp \
466         modules/glshared/glsShaderExecUtil.cpp \
467         modules/glshared/glsShaderLibraryCase.cpp \
468         modules/glshared/glsShaderLibrary.cpp \
469         modules/glshared/glsShaderPerformanceCase.cpp \
470         modules/glshared/glsShaderPerformanceMeasurer.cpp \
471         modules/glshared/glsShaderRenderCase.cpp \
472         modules/glshared/glsStateChangePerfTestCases.cpp \
473         modules/glshared/glsTextureBufferCase.cpp \
474         modules/glshared/glsTextureTestUtil.cpp \
475         modules/glshared/glsUniformBlockCase.cpp \
476         modules/glshared/glsVertexArrayTests.cpp \
477         modules/internal/ditBuildInfoTests.cpp \
478         modules/internal/ditDelibsTests.cpp \
479         modules/internal/ditFrameworkTests.cpp \
480         modules/internal/ditImageCompareTests.cpp \
481         modules/internal/ditImageIOTests.cpp \
482         modules/internal/ditTestCase.cpp \
483         modules/internal/ditTestLogTests.cpp \
484         modules/internal/ditTestPackage.cpp \
485         modules/internal/ditTestPackageEntry.cpp
486
487 LOCAL_C_INCLUDES := \
488         frameworks/native/opengl/include \
489         external/libpng \
490         external/zlib \
491         $(delibs_dir)/debase \
492         $(delibs_dir)/decpp \
493         $(delibs_dir)/depool \
494         $(delibs_dir)/dethread \
495         $(delibs_dir)/deutil \
496         $(delibs_dir)/destream \
497         $(deqp_dir)/framework/common \
498         $(deqp_dir)/framework/qphelper \
499         $(deqp_dir)/framework/platform/android \
500         $(deqp_dir)/framework/egl \
501         $(deqp_dir)/framework/opengl \
502         $(deqp_dir)/framework/opengl/wrapper \
503         $(deqp_dir)/framework/referencerenderer \
504         $(deqp_dir)/framework/opengl/simplereference \
505         $(deqp_dir)/framework/randomshaders \
506         $(deqp_dir)/modules/gles3 \
507         $(deqp_dir)/modules/gles3/functional \
508         $(deqp_dir)/modules/gles3/accuracy \
509         $(deqp_dir)/modules/gles3/performance \
510         $(deqp_dir)/modules/gles3/stress \
511         $(deqp_dir)/modules/gles3/usecases \
512         $(deqp_dir)/modules/gles31 \
513         $(deqp_dir)/modules/gles31/functional \
514         $(deqp_dir)/modules/gles31/stress \
515         $(deqp_dir)/modules/glshared \
516         $(deqp_dir)/modules/glusecases \
517         $(deqp_dir)/executor \
518         $(deqp_dir)/execserver
519
520 deqp_compile_flags := \
521         -DDEQP_SUPPORT_GLES3=1 \
522         -DDEQP_SUPPORT_GLES2=1 \
523         -DDEQP_SUPPORT_EGL=1 \
524         -DDE_ANDROID_API=9 \
525         -D_XOPEN_SOURCE=600 \
526         -DDEQP_TARGET_NAME=\"android\" \
527         -DDEQP_GLES3_RUNTIME_LOAD=1 \
528         -DDEQP_GLES2_RUNTIME_LOAD=1 \
529         -DQP_SUPPORT_PNG=1
530
531 LOCAL_SHARED_LIBRARIES := \
532                 libEGL \
533                 libGLESv2 \
534                 libandroid \
535                 liblog \
536                 libm \
537                 libc \
538                 libpng \
539                 libz \
540                 libdl
541
542 LOCAL_CFLAGS += \
543         $(deqp_compile_flags)
544
545 LOCAL_SDK_VERSION := 9
546 LOCAL_CPPFLAGS += -Wno-non-virtual-dtor
547 LOCAL_NDK_STL_VARIANT := gnustl_static
548 LOCAL_RTTI_FLAG := -frtti -fexceptions
549 LOCAL_MULTILIB := both
550
551 # b/18934246, failed to link libtestercore for clang mips.
552 ifeq ($(TARGET_ARCH),mips)
553   LOCAL_CLANG := false
554 endif
555
556 include $(BUILD_SHARED_LIBRARY)
557
558 include $(LOCAL_PATH)/android/package/Android.mk