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