Switch to libpng_ndk to remove platform library dependency am: cf4407563b
[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/tcuEither.cpp \
42         framework/common/tcuFactoryRegistry.cpp \
43         framework/common/tcuFloat.cpp \
44         framework/common/tcuFloatFormat.cpp \
45         framework/common/tcuFunctionLibrary.cpp \
46         framework/common/tcuFuzzyImageCompare.cpp \
47         framework/common/tcuImageCompare.cpp \
48         framework/common/tcuImageIO.cpp \
49         framework/common/tcuInterval.cpp \
50         framework/common/tcuMatrix.cpp \
51         framework/common/tcuMaybe.cpp \
52         framework/common/tcuPlatform.cpp \
53         framework/common/tcuRandomValueIterator.cpp \
54         framework/common/tcuRenderTarget.cpp \
55         framework/common/tcuResource.cpp \
56         framework/common/tcuResultCollector.cpp \
57         framework/common/tcuRGBA.cpp \
58         framework/common/tcuSeedBuilder.cpp \
59         framework/common/tcuStringTemplate.cpp \
60         framework/common/tcuSurface.cpp \
61         framework/common/tcuTestCase.cpp \
62         framework/common/tcuTestContext.cpp \
63         framework/common/tcuTestHierarchyIterator.cpp \
64         framework/common/tcuTestHierarchyUtil.cpp \
65         framework/common/tcuTestLog.cpp \
66         framework/common/tcuTestPackage.cpp \
67         framework/common/tcuTestSessionExecutor.cpp \
68         framework/common/tcuTexCompareVerifier.cpp \
69         framework/common/tcuTexLookupVerifier.cpp \
70         framework/common/tcuTexture.cpp \
71         framework/common/tcuTextureUtil.cpp \
72         framework/common/tcuTexVerifierUtil.cpp \
73         framework/common/tcuThreadUtil.cpp \
74         framework/delibs/debase/deDefs.c \
75         framework/delibs/debase/deFloat16.c \
76         framework/delibs/debase/deInt32.c \
77         framework/delibs/debase/deInt32Test.c \
78         framework/delibs/debase/deMath.c \
79         framework/delibs/debase/deMathTest.c \
80         framework/delibs/debase/deMemory.c \
81         framework/delibs/debase/deRandom.c \
82         framework/delibs/debase/deString.c \
83         framework/delibs/debase/deSha1.c \
84         framework/delibs/decpp/deAppendList.cpp \
85         framework/delibs/decpp/deArrayBuffer.cpp \
86         framework/delibs/decpp/deArrayUtil.cpp \
87         framework/delibs/decpp/deBlockBuffer.cpp \
88         framework/delibs/decpp/deCommandLine.cpp \
89         framework/delibs/decpp/deDefs.cpp \
90         framework/delibs/decpp/deDirectoryIterator.cpp \
91         framework/delibs/decpp/deDynamicLibrary.cpp \
92         framework/delibs/decpp/deFilePath.cpp \
93         framework/delibs/decpp/deMemPool.cpp \
94         framework/delibs/decpp/deMeta.cpp \
95         framework/delibs/decpp/deMutex.cpp \
96         framework/delibs/decpp/dePoolArray.cpp \
97         framework/delibs/decpp/dePoolString.cpp \
98         framework/delibs/decpp/deProcess.cpp \
99         framework/delibs/decpp/deRandom.cpp \
100         framework/delibs/decpp/deRingBuffer.cpp \
101         framework/delibs/decpp/deSemaphore.cpp \
102         framework/delibs/decpp/deSharedPtr.cpp \
103         framework/delibs/decpp/deSocket.cpp \
104         framework/delibs/decpp/deSpinBarrier.cpp \
105         framework/delibs/decpp/deSTLUtil.cpp \
106         framework/delibs/decpp/deStringUtil.cpp \
107         framework/delibs/decpp/deThread.cpp \
108         framework/delibs/decpp/deThreadLocal.cpp \
109         framework/delibs/decpp/deThreadSafeRingBuffer.cpp \
110         framework/delibs/decpp/deUniquePtr.cpp \
111         framework/delibs/decpp/deSha1.cpp \
112         framework/delibs/deimage/deImage.c \
113         framework/delibs/deimage/deTarga.c \
114         framework/delibs/depool/deMemPool.c \
115         framework/delibs/depool/dePoolArray.c \
116         framework/delibs/depool/dePoolHashArray.c \
117         framework/delibs/depool/dePoolHash.c \
118         framework/delibs/depool/dePoolHashSet.c \
119         framework/delibs/depool/dePoolHeap.c \
120         framework/delibs/depool/dePoolMultiSet.c \
121         framework/delibs/depool/dePoolSet.c \
122         framework/delibs/depool/dePoolStringBuilder.c \
123         framework/delibs/depool/dePoolTest.c \
124         framework/delibs/destream/deFileStream.c \
125         framework/delibs/destream/deRingbuffer.c \
126         framework/delibs/destream/deStreamCpyThread.c \
127         framework/delibs/destream/deThreadStream.c \
128         framework/delibs/dethread/deAtomic.c \
129         framework/delibs/dethread/deSingleton.c \
130         framework/delibs/dethread/deThreadTest.c \
131         framework/delibs/dethread/unix/deMutexUnix.c \
132         framework/delibs/dethread/unix/deNamedSemaphoreUnix.c \
133         framework/delibs/dethread/unix/deSemaphoreUnix.c \
134         framework/delibs/dethread/unix/deThreadLocalUnix.c \
135         framework/delibs/dethread/unix/deThreadUnix.c \
136         framework/delibs/deutil/deClock.c \
137         framework/delibs/deutil/deCommandLine.c \
138         framework/delibs/deutil/deDynamicLibrary.c \
139         framework/delibs/deutil/deFile.c \
140         framework/delibs/deutil/deProcess.c \
141         framework/delibs/deutil/deSocket.c \
142         framework/delibs/deutil/deTimer.c \
143         framework/delibs/deutil/deTimerTest.c \
144         framework/egl/egluCallLogWrapper.cpp \
145         framework/egl/egluConfigFilter.cpp \
146         framework/egl/egluConfigInfo.cpp \
147         framework/egl/egluDefs.cpp \
148         framework/egl/egluGLContextFactory.cpp \
149         framework/egl/egluGLFunctionLoader.cpp \
150         framework/egl/egluGLUtil.cpp \
151         framework/egl/egluNativeDisplay.cpp \
152         framework/egl/egluNativePixmap.cpp \
153         framework/egl/egluNativeWindow.cpp \
154         framework/egl/egluPlatform.cpp \
155         framework/egl/egluStaticESLibrary.cpp \
156         framework/egl/egluStrUtil.cpp \
157         framework/egl/egluUnique.cpp \
158         framework/egl/egluUtil.cpp \
159         framework/egl/wrapper/eglwDefs.cpp \
160         framework/egl/wrapper/eglwFunctions.cpp \
161         framework/egl/wrapper/eglwLibrary.cpp \
162         framework/opengl/gluCallLogWrapper.cpp \
163         framework/opengl/gluContextFactory.cpp \
164         framework/opengl/gluContextInfo.cpp \
165         framework/opengl/gluDefs.cpp \
166         framework/opengl/gluDrawUtil.cpp \
167         framework/opengl/gluDummyRenderContext.cpp \
168         framework/opengl/gluES3PlusWrapperContext.cpp \
169         framework/opengl/gluFboRenderContext.cpp \
170         framework/opengl/gluObjectWrapper.cpp \
171         framework/opengl/gluPixelTransfer.cpp \
172         framework/opengl/gluPlatform.cpp \
173         framework/opengl/gluProgramInterfaceQuery.cpp \
174         framework/opengl/gluRenderConfig.cpp \
175         framework/opengl/gluRenderContext.cpp \
176         framework/opengl/gluShaderLibrary.cpp \
177         framework/opengl/gluShaderProgram.cpp \
178         framework/opengl/gluShaderUtil.cpp \
179         framework/opengl/gluStateReset.cpp \
180         framework/opengl/gluStrUtil.cpp \
181         framework/opengl/gluTexture.cpp \
182         framework/opengl/gluTextureUtil.cpp \
183         framework/opengl/gluVarType.cpp \
184         framework/opengl/gluVarTypeUtil.cpp \
185         framework/opengl/simplereference/sglrContext.cpp \
186         framework/opengl/simplereference/sglrContextUtil.cpp \
187         framework/opengl/simplereference/sglrContextWrapper.cpp \
188         framework/opengl/simplereference/sglrGLContext.cpp \
189         framework/opengl/simplereference/sglrReferenceContext.cpp \
190         framework/opengl/simplereference/sglrReferenceUtils.cpp \
191         framework/opengl/simplereference/sglrShaderProgram.cpp \
192         framework/opengl/wrapper/glwDefs.cpp \
193         framework/opengl/wrapper/glwFunctions.cpp \
194         framework/opengl/wrapper/glwInitES20Direct.cpp \
195         framework/opengl/wrapper/glwInitES30Direct.cpp \
196         framework/opengl/wrapper/glwInitFunctions.cpp \
197         framework/opengl/wrapper/glwWrapper.cpp \
198         framework/platform/android/tcuAndroidAssets.cpp \
199         framework/platform/android/tcuAndroidExecService.cpp \
200         framework/platform/android/tcuAndroidInternals.cpp \
201         framework/platform/android/tcuAndroidJNI.cpp \
202         framework/platform/android/tcuAndroidMain.cpp \
203         framework/platform/android/tcuAndroidNativeActivity.cpp \
204         framework/platform/android/tcuAndroidPlatformCapabilityQueryJNI.cpp \
205         framework/platform/android/tcuAndroidPlatform.cpp \
206         framework/platform/android/tcuAndroidRenderActivity.cpp \
207         framework/platform/android/tcuAndroidTestActivity.cpp \
208         framework/platform/android/tcuAndroidUtil.cpp \
209         framework/platform/android/tcuAndroidWindow.cpp \
210         framework/platform/android/tcuTestLogParserJNI.cpp \
211         framework/qphelper/qpCrashHandler.c \
212         framework/qphelper/qpDebugOut.c \
213         framework/qphelper/qpInfo.c \
214         framework/qphelper/qpTestLog.c \
215         framework/qphelper/qpWatchDog.c \
216         framework/qphelper/qpXmlWriter.c \
217         framework/randomshaders/rsgBinaryOps.cpp \
218         framework/randomshaders/rsgBuiltinFunctions.cpp \
219         framework/randomshaders/rsgDefs.cpp \
220         framework/randomshaders/rsgExecutionContext.cpp \
221         framework/randomshaders/rsgExpression.cpp \
222         framework/randomshaders/rsgExpressionGenerator.cpp \
223         framework/randomshaders/rsgFunctionGenerator.cpp \
224         framework/randomshaders/rsgGeneratorState.cpp \
225         framework/randomshaders/rsgNameAllocator.cpp \
226         framework/randomshaders/rsgParameters.cpp \
227         framework/randomshaders/rsgPrettyPrinter.cpp \
228         framework/randomshaders/rsgProgramExecutor.cpp \
229         framework/randomshaders/rsgProgramGenerator.cpp \
230         framework/randomshaders/rsgSamplers.cpp \
231         framework/randomshaders/rsgShader.cpp \
232         framework/randomshaders/rsgShaderGenerator.cpp \
233         framework/randomshaders/rsgStatement.cpp \
234         framework/randomshaders/rsgTest.cpp \
235         framework/randomshaders/rsgToken.cpp \
236         framework/randomshaders/rsgUtils.cpp \
237         framework/randomshaders/rsgVariable.cpp \
238         framework/randomshaders/rsgVariableManager.cpp \
239         framework/randomshaders/rsgVariableType.cpp \
240         framework/randomshaders/rsgVariableValue.cpp \
241         framework/referencerenderer/rrDefs.cpp \
242         framework/referencerenderer/rrFragmentOperations.cpp \
243         framework/referencerenderer/rrMultisamplePixelBufferAccess.cpp \
244         framework/referencerenderer/rrPrimitivePacket.cpp \
245         framework/referencerenderer/rrRasterizer.cpp \
246         framework/referencerenderer/rrRenderer.cpp \
247         framework/referencerenderer/rrShaders.cpp \
248         framework/referencerenderer/rrShadingContext.cpp \
249         framework/referencerenderer/rrVertexAttrib.cpp \
250         framework/referencerenderer/rrVertexPacket.cpp \
251         modules/egl/teglAndroidUtil.cpp \
252         modules/egl/teglApiCase.cpp \
253         modules/egl/teglBufferAgeTests.cpp \
254         modules/egl/teglChooseConfigReference.cpp \
255         modules/egl/teglChooseConfigTests.cpp \
256         modules/egl/teglClientExtensionTests.cpp \
257         modules/egl/teglColorClearCase.cpp \
258         modules/egl/teglColorClearTests.cpp \
259         modules/egl/teglConfigList.cpp \
260         modules/egl/teglCreateContextExtTests.cpp \
261         modules/egl/teglCreateContextTests.cpp \
262         modules/egl/teglCreateSurfaceTests.cpp \
263         modules/egl/teglGetProcAddressTests.cpp \
264         modules/egl/teglGLES1RenderUtil.cpp \
265         modules/egl/teglGLES2RenderUtil.cpp \
266         modules/egl/teglGLES2SharedRenderingPerfTests.cpp \
267         modules/egl/teglGLES2SharingTests.cpp \
268         modules/egl/teglGLES2SharingThreadedTests.cpp \
269         modules/egl/teglImageFormatTests.cpp \
270         modules/egl/teglImageTests.cpp \
271         modules/egl/teglImageUtil.cpp \
272         modules/egl/teglInfoTests.cpp \
273         modules/egl/teglMakeCurrentPerfTests.cpp \
274         modules/egl/teglMemoryStressTests.cpp \
275         modules/egl/teglMultiThreadTests.cpp \
276         modules/egl/teglNativeColorMappingTests.cpp \
277         modules/egl/teglNativeCoordMappingTests.cpp \
278         modules/egl/teglNegativeApiTests.cpp \
279         modules/egl/teglNegativePartialUpdateTests.cpp \
280         modules/egl/teglPreservingSwapTests.cpp \
281         modules/egl/teglPartialUpdateTests.cpp \
282         modules/egl/teglQueryConfigTests.cpp \
283         modules/egl/teglQueryContextTests.cpp \
284         modules/egl/teglQuerySurfaceTests.cpp \
285         modules/egl/teglRenderCase.cpp \
286         modules/egl/teglRenderTests.cpp \
287         modules/egl/teglResizeTests.cpp \
288         modules/egl/teglSimpleConfigCase.cpp \
289         modules/egl/teglSurfacelessContextTests.cpp \
290         modules/egl/teglSwapBuffersTests.cpp \
291         modules/egl/teglSwapBuffersWithDamageTests.cpp \
292         modules/egl/teglSyncTests.cpp \
293         modules/egl/teglTestCase.cpp \
294         modules/egl/teglTestPackage.cpp \
295         modules/egl/teglTestPackageEntry.cpp \
296         modules/egl/teglVGRenderUtil.cpp \
297         modules/gles2/tes2CapabilityTests.cpp \
298         modules/gles2/tes2Context.cpp \
299         modules/gles2/tes2InfoTests.cpp \
300         modules/gles2/tes2TestCase.cpp \
301         modules/gles2/tes2TestPackage.cpp \
302         modules/gles2/tes2TestPackageEntry.cpp \
303         modules/gles2/accuracy/es2aAccuracyTests.cpp \
304         modules/gles2/accuracy/es2aTextureFilteringTests.cpp \
305         modules/gles2/accuracy/es2aTextureMipmapTests.cpp \
306         modules/gles2/accuracy/es2aVaryingInterpolationTests.cpp \
307         modules/gles2/functional/es2fApiCase.cpp \
308         modules/gles2/functional/es2fAttribLocationTests.cpp \
309         modules/gles2/functional/es2fBlendTests.cpp \
310         modules/gles2/functional/es2fBooleanStateQueryTests.cpp \
311         modules/gles2/functional/es2fBufferObjectQueryTests.cpp \
312         modules/gles2/functional/es2fBufferTestUtil.cpp \
313         modules/gles2/functional/es2fBufferWriteTests.cpp \
314         modules/gles2/functional/es2fClippingTests.cpp \
315         modules/gles2/functional/es2fColorClearTest.cpp \
316         modules/gles2/functional/es2fDebugMarkerTests.cpp \
317         modules/gles2/functional/es2fDefaultVertexAttributeTests.cpp \
318         modules/gles2/functional/es2fDepthRangeTests.cpp \
319         modules/gles2/functional/es2fDepthStencilClearTests.cpp \
320         modules/gles2/functional/es2fDepthStencilTests.cpp \
321         modules/gles2/functional/es2fDepthTests.cpp \
322         modules/gles2/functional/es2fDitheringTests.cpp \
323         modules/gles2/functional/es2fDrawTests.cpp \
324         modules/gles2/functional/es2fFboApiTest.cpp \
325         modules/gles2/functional/es2fFboCompletenessTests.cpp \
326         modules/gles2/functional/es2fFboRenderTest.cpp \
327         modules/gles2/functional/es2fFboStateQueryTests.cpp \
328         modules/gles2/functional/es2fFloatStateQueryTests.cpp \
329         modules/gles2/functional/es2fFlushFinishTests.cpp \
330         modules/gles2/functional/es2fFragOpInteractionTests.cpp \
331         modules/gles2/functional/es2fFunctionalTests.cpp \
332         modules/gles2/functional/es2fImplementationLimitTests.cpp \
333         modules/gles2/functional/es2fIntegerStateQueryTests.cpp \
334         modules/gles2/functional/es2fLifetimeTests.cpp \
335         modules/gles2/functional/es2fLightAmountTest.cpp \
336         modules/gles2/functional/es2fMultisampleTests.cpp \
337         modules/gles2/functional/es2fNegativeBufferApiTests.cpp \
338         modules/gles2/functional/es2fNegativeFragmentApiTests.cpp \
339         modules/gles2/functional/es2fNegativeShaderApiTests.cpp \
340         modules/gles2/functional/es2fNegativeStateApiTests.cpp \
341         modules/gles2/functional/es2fNegativeTextureApiTests.cpp \
342         modules/gles2/functional/es2fNegativeVertexArrayApiTests.cpp \
343         modules/gles2/functional/es2fPolygonOffsetTests.cpp \
344         modules/gles2/functional/es2fPrerequisiteTests.cpp \
345         modules/gles2/functional/es2fRandomFragmentOpTests.cpp \
346         modules/gles2/functional/es2fRandomShaderTests.cpp \
347         modules/gles2/functional/es2fRasterizationTests.cpp \
348         modules/gles2/functional/es2fRboStateQueryTests.cpp \
349         modules/gles2/functional/es2fReadPixelsTests.cpp \
350         modules/gles2/functional/es2fScissorTests.cpp \
351         modules/gles2/functional/es2fShaderAlgorithmTests.cpp \
352         modules/gles2/functional/es2fShaderApiTests.cpp \
353         modules/gles2/functional/es2fShaderBuiltinVarTests.cpp \
354         modules/gles2/functional/es2fShaderConstExprTests.cpp \
355         modules/gles2/functional/es2fShaderDiscardTests.cpp \
356         modules/gles2/functional/es2fShaderExecuteTest.cpp \
357         modules/gles2/functional/es2fShaderFragDataTests.cpp \
358         modules/gles2/functional/es2fShaderIndexingTests.cpp \
359         modules/gles2/functional/es2fShaderInvarianceTests.cpp \
360         modules/gles2/functional/es2fShaderLoopTests.cpp \
361         modules/gles2/functional/es2fShaderMatrixTests.cpp \
362         modules/gles2/functional/es2fShaderOperatorTests.cpp \
363         modules/gles2/functional/es2fShaderReturnTests.cpp \
364         modules/gles2/functional/es2fShaderStateQueryTests.cpp \
365         modules/gles2/functional/es2fShaderStructTests.cpp \
366         modules/gles2/functional/es2fShaderTextureFunctionTests.cpp \
367         modules/gles2/functional/es2fStencilTests.cpp \
368         modules/gles2/functional/es2fStringQueryTests.cpp \
369         modules/gles2/functional/es2fTextureCompletenessTests.cpp \
370         modules/gles2/functional/es2fTextureFilteringTests.cpp \
371         modules/gles2/functional/es2fTextureFormatTests.cpp \
372         modules/gles2/functional/es2fTextureMipmapTests.cpp \
373         modules/gles2/functional/es2fTextureSizeTests.cpp \
374         modules/gles2/functional/es2fTextureSpecificationTests.cpp \
375         modules/gles2/functional/es2fTextureStateQueryTests.cpp \
376         modules/gles2/functional/es2fTextureUnitTests.cpp \
377         modules/gles2/functional/es2fTextureWrapTests.cpp \
378         modules/gles2/functional/es2fUniformApiTests.cpp \
379         modules/gles2/functional/es2fVertexArrayTest.cpp \
380         modules/gles2/functional/es2fVertexTextureTests.cpp \
381         modules/gles2/performance/es2pBlendTests.cpp \
382         modules/gles2/performance/es2pDrawCallBatchingTests.cpp \
383         modules/gles2/performance/es2pPerformanceTests.cpp \
384         modules/gles2/performance/es2pRedundantStateChangeTests.cpp \
385         modules/gles2/performance/es2pShaderCompilationCases.cpp \
386         modules/gles2/performance/es2pShaderCompilerTests.cpp \
387         modules/gles2/performance/es2pShaderControlStatementTests.cpp \
388         modules/gles2/performance/es2pShaderOperatorTests.cpp \
389         modules/gles2/performance/es2pShaderOptimizationTests.cpp \
390         modules/gles2/performance/es2pStateChangeCallTests.cpp \
391         modules/gles2/performance/es2pStateChangeTests.cpp \
392         modules/gles2/performance/es2pTextureCases.cpp \
393         modules/gles2/performance/es2pTextureCountTests.cpp \
394         modules/gles2/performance/es2pTextureFilteringTests.cpp \
395         modules/gles2/performance/es2pTextureFormatTests.cpp \
396         modules/gles2/performance/es2pTextureUploadTests.cpp \
397         modules/gles2/stress/es2sDrawTests.cpp \
398         modules/gles2/stress/es2sLongRunningTests.cpp \
399         modules/gles2/stress/es2sMemoryTests.cpp \
400         modules/gles2/stress/es2sSpecialFloatTests.cpp \
401         modules/gles2/stress/es2sStressTests.cpp \
402         modules/gles2/stress/es2sVertexArrayTests.cpp \
403         modules/gles3/accuracy/es3aAccuracyTests.cpp \
404         modules/gles3/accuracy/es3aTextureFilteringTests.cpp \
405         modules/gles3/accuracy/es3aTextureMipmapTests.cpp \
406         modules/gles3/accuracy/es3aVaryingInterpolationTests.cpp \
407         modules/gles3/functional/es3fApiCase.cpp \
408         modules/gles3/functional/es3fASTCDecompressionCases.cpp \
409         modules/gles3/functional/es3fAttribLocationTests.cpp \
410         modules/gles3/functional/es3fBlendTests.cpp \
411         modules/gles3/functional/es3fBooleanStateQueryTests.cpp \
412         modules/gles3/functional/es3fBufferCopyTests.cpp \
413         modules/gles3/functional/es3fBufferMapTests.cpp \
414         modules/gles3/functional/es3fBufferObjectQueryTests.cpp \
415         modules/gles3/functional/es3fBufferWriteTests.cpp \
416         modules/gles3/functional/es3fBuiltinPrecisionTests.cpp \
417         modules/gles3/functional/es3fClippingTests.cpp \
418         modules/gles3/functional/es3fColorClearTest.cpp \
419         modules/gles3/functional/es3fCompressedTextureTests.cpp \
420         modules/gles3/functional/es3fDefaultVertexArrayObjectTests.cpp \
421         modules/gles3/functional/es3fDefaultVertexAttributeTests.cpp \
422         modules/gles3/functional/es3fDepthStencilClearTests.cpp \
423         modules/gles3/functional/es3fDepthStencilTests.cpp \
424         modules/gles3/functional/es3fDepthTests.cpp \
425         modules/gles3/functional/es3fDitheringTests.cpp \
426         modules/gles3/functional/es3fDrawTests.cpp \
427         modules/gles3/functional/es3fFboApiTests.cpp \
428         modules/gles3/functional/es3fFboColorbufferTests.cpp \
429         modules/gles3/functional/es3fFboCompletenessTests.cpp \
430         modules/gles3/functional/es3fFboDepthbufferTests.cpp \
431         modules/gles3/functional/es3fFboInvalidateTests.cpp \
432         modules/gles3/functional/es3fFboMultisampleTests.cpp \
433         modules/gles3/functional/es3fFboRenderTest.cpp \
434         modules/gles3/functional/es3fFboStateQueryTests.cpp \
435         modules/gles3/functional/es3fFboStencilbufferTests.cpp \
436         modules/gles3/functional/es3fFboTestCase.cpp \
437         modules/gles3/functional/es3fFboTestUtil.cpp \
438         modules/gles3/functional/es3fFloatStateQueryTests.cpp \
439         modules/gles3/functional/es3fFlushFinishTests.cpp \
440         modules/gles3/functional/es3fFragDepthTests.cpp \
441         modules/gles3/functional/es3fFragmentOutputTests.cpp \
442         modules/gles3/functional/es3fFragOpInteractionTests.cpp \
443         modules/gles3/functional/es3fFramebufferBlitTests.cpp \
444         modules/gles3/functional/es3fFunctionalTests.cpp \
445         modules/gles3/functional/es3fImplementationLimitTests.cpp \
446         modules/gles3/functional/es3fIndexedStateQueryTests.cpp \
447         modules/gles3/functional/es3fInstancedRenderingTests.cpp \
448         modules/gles3/functional/es3fInteger64StateQueryTests.cpp \
449         modules/gles3/functional/es3fIntegerStateQueryTests.cpp \
450         modules/gles3/functional/es3fInternalFormatQueryTests.cpp \
451         modules/gles3/functional/es3fLifetimeTests.cpp \
452         modules/gles3/functional/es3fMultisampleTests.cpp \
453         modules/gles3/functional/es3fNegativeBufferApiTests.cpp \
454         modules/gles3/functional/es3fNegativeFragmentApiTests.cpp \
455         modules/gles3/functional/es3fNegativeShaderApiTests.cpp \
456         modules/gles3/functional/es3fNegativeStateApiTests.cpp \
457         modules/gles3/functional/es3fNegativeTextureApiTests.cpp \
458         modules/gles3/functional/es3fNegativeVertexArrayApiTests.cpp \
459         modules/gles3/functional/es3fOcclusionQueryTests.cpp \
460         modules/gles3/functional/es3fPixelBufferObjectTests.cpp \
461         modules/gles3/functional/es3fPolygonOffsetTests.cpp \
462         modules/gles3/functional/es3fPrerequisiteTests.cpp \
463         modules/gles3/functional/es3fPrimitiveRestartTests.cpp \
464         modules/gles3/functional/es3fRandomFragmentOpTests.cpp \
465         modules/gles3/functional/es3fRandomShaderTests.cpp \
466         modules/gles3/functional/es3fRasterizationTests.cpp \
467         modules/gles3/functional/es3fRasterizerDiscardTests.cpp \
468         modules/gles3/functional/es3fRboStateQueryTests.cpp \
469         modules/gles3/functional/es3fReadPixelsTests.cpp \
470         modules/gles3/functional/es3fSamplerObjectTests.cpp \
471         modules/gles3/functional/es3fSamplerStateQueryTests.cpp \
472         modules/gles3/functional/es3fScissorTests.cpp \
473         modules/gles3/functional/es3fShaderApiTests.cpp \
474         modules/gles3/functional/es3fShaderBuiltinVarTests.cpp \
475         modules/gles3/functional/es3fShaderCommonFunctionTests.cpp \
476         modules/gles3/functional/es3fShaderConstExprTests.cpp \
477         modules/gles3/functional/es3fShaderDerivateTests.cpp \
478         modules/gles3/functional/es3fShaderDiscardTests.cpp \
479         modules/gles3/functional/es3fShaderFragDataTests.cpp \
480         modules/gles3/functional/es3fShaderIndexingTests.cpp \
481         modules/gles3/functional/es3fShaderInvarianceTests.cpp \
482         modules/gles3/functional/es3fShaderLoopTests.cpp \
483         modules/gles3/functional/es3fShaderMatrixTests.cpp \
484         modules/gles3/functional/es3fShaderOperatorTests.cpp \
485         modules/gles3/functional/es3fShaderPackingFunctionTests.cpp \
486         modules/gles3/functional/es3fShaderPrecisionTests.cpp \
487         modules/gles3/functional/es3fShaderReturnTests.cpp \
488         modules/gles3/functional/es3fShaderStateQueryTests.cpp \
489         modules/gles3/functional/es3fShaderStructTests.cpp \
490         modules/gles3/functional/es3fShaderSwitchTests.cpp \
491         modules/gles3/functional/es3fShaderTextureFunctionTests.cpp \
492         modules/gles3/functional/es3fStencilTests.cpp \
493         modules/gles3/functional/es3fStringQueryTests.cpp \
494         modules/gles3/functional/es3fSyncTests.cpp \
495         modules/gles3/functional/es3fTextureFilteringTests.cpp \
496         modules/gles3/functional/es3fTextureFormatTests.cpp \
497         modules/gles3/functional/es3fTextureMipmapTests.cpp \
498         modules/gles3/functional/es3fTextureShadowTests.cpp \
499         modules/gles3/functional/es3fTextureSizeTests.cpp \
500         modules/gles3/functional/es3fTextureSpecificationTests.cpp \
501         modules/gles3/functional/es3fTextureStateQueryTests.cpp \
502         modules/gles3/functional/es3fTextureSwizzleTests.cpp \
503         modules/gles3/functional/es3fTextureUnitTests.cpp \
504         modules/gles3/functional/es3fTextureWrapTests.cpp \
505         modules/gles3/functional/es3fTransformFeedbackTests.cpp \
506         modules/gles3/functional/es3fUniformApiTests.cpp \
507         modules/gles3/functional/es3fUniformBlockTests.cpp \
508         modules/gles3/functional/es3fVertexArrayObjectTests.cpp \
509         modules/gles3/functional/es3fVertexArrayTest.cpp \
510         modules/gles3/functional/es3fVertexTextureTests.cpp \
511         modules/gles3/performance/es3pBlendTests.cpp \
512         modules/gles3/performance/es3pBufferDataUploadTests.cpp \
513         modules/gles3/performance/es3pDepthTests.cpp \
514         modules/gles3/performance/es3pPerformanceTests.cpp \
515         modules/gles3/performance/es3pRedundantStateChangeTests.cpp \
516         modules/gles3/performance/es3pShaderCompilationCases.cpp \
517         modules/gles3/performance/es3pShaderCompilerTests.cpp \
518         modules/gles3/performance/es3pShaderControlStatementTests.cpp \
519         modules/gles3/performance/es3pShaderOperatorTests.cpp \
520         modules/gles3/performance/es3pShaderOptimizationTests.cpp \
521         modules/gles3/performance/es3pStateChangeCallTests.cpp \
522         modules/gles3/performance/es3pStateChangeTests.cpp \
523         modules/gles3/performance/es3pTextureCases.cpp \
524         modules/gles3/performance/es3pTextureCountTests.cpp \
525         modules/gles3/performance/es3pTextureFilteringTests.cpp \
526         modules/gles3/performance/es3pTextureFormatTests.cpp \
527         modules/gles3/stress/es3sDrawTests.cpp \
528         modules/gles3/stress/es3sLongRunningShaderTests.cpp \
529         modules/gles3/stress/es3sLongRunningTests.cpp \
530         modules/gles3/stress/es3sLongShaderTests.cpp \
531         modules/gles3/stress/es3sMemoryTests.cpp \
532         modules/gles3/stress/es3sOcclusionQueryTests.cpp \
533         modules/gles3/stress/es3sSpecialFloatTests.cpp \
534         modules/gles3/stress/es3sStressTests.cpp \
535         modules/gles3/stress/es3sSyncTests.cpp \
536         modules/gles3/stress/es3sVertexArrayTests.cpp \
537         modules/gles3/tes3Context.cpp \
538         modules/gles3/tes3InfoTests.cpp \
539         modules/gles3/tes3TestCase.cpp \
540         modules/gles3/tes3TestPackage.cpp \
541         modules/gles3/tes3TestPackageEntry.cpp \
542         modules/gles31/functional/es31fAdvancedBlendTests.cpp \
543         modules/gles31/functional/es31fAndroidExtensionPackES31ATests.cpp \
544         modules/gles31/functional/es31fAtomicCounterTests.cpp \
545         modules/gles31/functional/es31fBasicComputeShaderTests.cpp \
546         modules/gles31/functional/es31fBuiltinPrecisionTests.cpp \
547         modules/gles31/functional/es31fComputeShaderBuiltinVarTests.cpp \
548         modules/gles31/functional/es31fDebugTests.cpp \
549         modules/gles31/functional/es31fDefaultVertexArrayObjectTests.cpp \
550         modules/gles31/functional/es31fDrawTests.cpp \
551         modules/gles31/functional/es31fFboColorbufferTests.cpp \
552         modules/gles31/functional/es31fFboNoAttachmentTests.cpp \
553         modules/gles31/functional/es31fFboTestCase.cpp \
554         modules/gles31/functional/es31fFboTestUtil.cpp \
555         modules/gles31/functional/es31fFunctionalTests.cpp \
556         modules/gles31/functional/es31fGeometryShaderTests.cpp \
557         modules/gles31/functional/es31fIndirectComputeDispatchTests.cpp \
558         modules/gles31/functional/es31fIntegerStateQueryTests.cpp \
559         modules/gles31/functional/es31fBooleanStateQueryTests.cpp \
560         modules/gles31/functional/es31fIndexedStateQueryTests.cpp \
561         modules/gles31/functional/es31fInternalFormatQueryTests.cpp \
562         modules/gles31/functional/es31fTextureStateQueryTests.cpp \
563         modules/gles31/functional/es31fFramebufferDefaultStateQueryTests.cpp \
564         modules/gles31/functional/es31fProgramPipelineStateQueryTests.cpp \
565         modules/gles31/functional/es31fProgramStateQueryTests.cpp \
566         modules/gles31/functional/es31fInfoLogQueryShared.cpp \
567         modules/gles31/functional/es31fLayoutBindingTests.cpp \
568         modules/gles31/functional/es31fMultisampleShaderRenderCase.cpp \
569         modules/gles31/functional/es31fMultisampleTests.cpp \
570         modules/gles31/functional/es31fNegativeBufferApiTests.cpp \
571         modules/gles31/functional/es31fNegativeFragmentApiTests.cpp \
572         modules/gles31/functional/es31fNegativeShaderApiTests.cpp \
573         modules/gles31/functional/es31fNegativeStateApiTests.cpp \
574         modules/gles31/functional/es31fNegativeTestShared.cpp \
575         modules/gles31/functional/es31fNegativeTextureApiTests.cpp \
576         modules/gles31/functional/es31fNegativeVertexArrayApiTests.cpp \
577         modules/gles31/functional/es31fOpaqueTypeIndexingTests.cpp \
578         modules/gles31/functional/es31fPrimitiveBoundingBoxTests.cpp \
579         modules/gles31/functional/es31fProgramInterfaceDefinition.cpp \
580         modules/gles31/functional/es31fProgramInterfaceDefinitionUtil.cpp \
581         modules/gles31/functional/es31fProgramInterfaceQueryTestCase.cpp \
582         modules/gles31/functional/es31fProgramInterfaceQueryTests.cpp \
583         modules/gles31/functional/es31fProgramUniformTests.cpp \
584         modules/gles31/functional/es31fSamplerStateQueryTests.cpp \
585         modules/gles31/functional/es31fSampleShadingTests.cpp \
586         modules/gles31/functional/es31fSampleVariableTests.cpp \
587         modules/gles31/functional/es31fSeparateShaderTests.cpp \
588         modules/gles31/functional/es31fShaderAtomicOpTests.cpp \
589         modules/gles31/functional/es31fShaderBuiltinConstantTests.cpp \
590         modules/gles31/functional/es31fShaderCommonFunctionTests.cpp \
591         modules/gles31/functional/es31fShaderHelperInvocationTests.cpp \
592         modules/gles31/functional/es31fShaderImageLoadStoreTests.cpp \
593         modules/gles31/functional/es31fShaderIntegerFunctionTests.cpp \
594         modules/gles31/functional/es31fShaderMultisampleInterpolationStateQueryTests.cpp \
595         modules/gles31/functional/es31fShaderMultisampleInterpolationTests.cpp \
596         modules/gles31/functional/es31fShaderPackingFunctionTests.cpp \
597         modules/gles31/functional/es31fShaderSharedVarTests.cpp \
598         modules/gles31/functional/es31fShaderStateQueryTests.cpp \
599         modules/gles31/functional/es31fShaderTextureSizeTests.cpp \
600         modules/gles31/functional/es31fSSBOArrayLengthTests.cpp \
601         modules/gles31/functional/es31fSSBOLayoutCase.cpp \
602         modules/gles31/functional/es31fSSBOLayoutTests.cpp \
603         modules/gles31/functional/es31fStencilTexturingTests.cpp \
604         modules/gles31/functional/es31fSynchronizationTests.cpp \
605         modules/gles31/functional/es31fTessellationGeometryInteractionTests.cpp \
606         modules/gles31/functional/es31fTessellationTests.cpp \
607         modules/gles31/functional/es31fTextureBufferTests.cpp \
608         modules/gles31/functional/es31fTextureFilteringTests.cpp \
609         modules/gles31/functional/es31fTextureFormatTests.cpp \
610         modules/gles31/functional/es31fTextureGatherTests.cpp \
611         modules/gles31/functional/es31fTextureLevelStateQueryTests.cpp \
612         modules/gles31/functional/es31fTextureMultisampleTests.cpp \
613         modules/gles31/functional/es31fTextureSpecificationTests.cpp \
614         modules/gles31/functional/es31fTextureBorderClampTests.cpp \
615         modules/gles31/functional/es31fUniformBlockTests.cpp \
616         modules/gles31/functional/es31fUniformLocationTests.cpp \
617         modules/gles31/functional/es31fVertexAttributeBindingStateQueryTests.cpp \
618         modules/gles31/functional/es31fVertexAttributeBindingTests.cpp \
619         modules/gles31/functional/es31fCopyImageTests.cpp \
620         modules/gles31/functional/es31fDrawBuffersIndexedTests.cpp \
621         modules/gles31/stress/es31sDrawTests.cpp \
622         modules/gles31/stress/es31sStressTests.cpp \
623         modules/gles31/stress/es31sTessellationGeometryInteractionTests.cpp \
624         modules/gles31/stress/es31sVertexAttributeBindingTests.cpp \
625         modules/gles31/tes31Context.cpp \
626         modules/gles31/tes31InfoTests.cpp \
627         modules/gles31/tes31TestCase.cpp \
628         modules/gles31/tes31TestPackage.cpp \
629         modules/gles31/tes31TestPackageEntry.cpp \
630         modules/glshared/glsAttributeLocationTests.cpp \
631         modules/glshared/glsBufferTestUtil.cpp \
632         modules/glshared/glsBuiltinPrecisionTests.cpp \
633         modules/glshared/glsCalibration.cpp \
634         modules/glshared/glsDrawTest.cpp \
635         modules/glshared/glsFboCompletenessTests.cpp \
636         modules/glshared/glsFboUtil.cpp \
637         modules/glshared/glsFragmentOpUtil.cpp \
638         modules/glshared/glsFragOpInteractionCase.cpp \
639         modules/glshared/glsInteractionTestUtil.cpp \
640         modules/glshared/glsLifetimeTests.cpp \
641         modules/glshared/glsLongStressCase.cpp \
642         modules/glshared/glsLongStressTestUtil.cpp \
643         modules/glshared/glsMemoryStressCase.cpp \
644         modules/glshared/glsRandomShaderCase.cpp \
645         modules/glshared/glsRandomShaderProgram.cpp \
646         modules/glshared/glsRandomUniformBlockCase.cpp \
647         modules/glshared/glsRasterizationTestUtil.cpp \
648         modules/glshared/glsSamplerObjectTest.cpp \
649         modules/glshared/glsScissorTests.cpp \
650         modules/glshared/glsShaderConstExprTests.cpp \
651         modules/glshared/glsShaderExecUtil.cpp \
652         modules/glshared/glsShaderLibraryCase.cpp \
653         modules/glshared/glsShaderLibrary.cpp \
654         modules/glshared/glsShaderPerformanceCase.cpp \
655         modules/glshared/glsShaderPerformanceMeasurer.cpp \
656         modules/glshared/glsShaderRenderCase.cpp \
657         modules/glshared/glsStateQueryUtil.cpp \
658         modules/glshared/glsStateChangePerfTestCases.cpp \
659         modules/glshared/glsTextureBufferCase.cpp \
660         modules/glshared/glsTextureStateQueryTests.cpp \
661         modules/glshared/glsTextureTestUtil.cpp \
662         modules/glshared/glsUniformBlockCase.cpp \
663         modules/glshared/glsVertexArrayTests.cpp \
664         modules/internal/ditBuildInfoTests.cpp \
665         modules/internal/ditSRGB8ConversionTest.cpp \
666         modules/internal/ditDelibsTests.cpp \
667         modules/internal/ditFrameworkTests.cpp \
668         modules/internal/ditImageCompareTests.cpp \
669         modules/internal/ditImageIOTests.cpp \
670         modules/internal/ditTestCase.cpp \
671         modules/internal/ditTestLogTests.cpp \
672         modules/internal/ditTestPackage.cpp \
673         modules/internal/ditSeedBuilderTests.cpp \
674         modules/internal/ditTestPackageEntry.cpp \
675         modules/internal/ditTextureFormatTests.cpp
676
677 LOCAL_C_INCLUDES := \
678         frameworks/native/opengl/include \
679         external/libpng \
680         external/zlib \
681         $(delibs_dir)/debase \
682         $(delibs_dir)/decpp \
683         $(delibs_dir)/depool \
684         $(delibs_dir)/dethread \
685         $(delibs_dir)/deutil \
686         $(delibs_dir)/destream \
687         $(deqp_dir)/framework/common \
688         $(deqp_dir)/framework/qphelper \
689         $(deqp_dir)/framework/platform/android \
690         $(deqp_dir)/framework/egl \
691         $(deqp_dir)/framework/egl/wrapper \
692         $(deqp_dir)/framework/opengl \
693         $(deqp_dir)/framework/opengl/wrapper \
694         $(deqp_dir)/framework/referencerenderer \
695         $(deqp_dir)/framework/opengl/simplereference \
696         $(deqp_dir)/framework/randomshaders \
697         $(deqp_dir)/modules/egl \
698         $(deqp_dir)/modules/gles2 \
699         $(deqp_dir)/modules/gles2/functional \
700         $(deqp_dir)/modules/gles2/accuracy \
701         $(deqp_dir)/modules/gles2/performance \
702         $(deqp_dir)/modules/gles2/stress \
703         $(deqp_dir)/modules/gles3 \
704         $(deqp_dir)/modules/gles3/functional \
705         $(deqp_dir)/modules/gles3/accuracy \
706         $(deqp_dir)/modules/gles3/performance \
707         $(deqp_dir)/modules/gles3/stress \
708         $(deqp_dir)/modules/gles31 \
709         $(deqp_dir)/modules/gles31/functional \
710         $(deqp_dir)/modules/gles31/stress \
711         $(deqp_dir)/modules/glshared \
712         $(deqp_dir)/modules/glusecases \
713         $(deqp_dir)/executor \
714         $(deqp_dir)/execserver
715
716 deqp_compile_flags := \
717         -DDEQP_SUPPORT_EGL=1 \
718         -DDEQP_SUPPORT_GLES1=1 \
719         -DDEQP_SUPPORT_GLES2=1 \
720         -DDEQP_SUPPORT_GLES3=1 \
721         -DDE_ANDROID_API=9 \
722         -D_XOPEN_SOURCE=600 \
723         -DDEQP_TARGET_NAME=\"android\" \
724         -DDEQP_GLES3_RUNTIME_LOAD=1 \
725         -DDEQP_GLES2_RUNTIME_LOAD=1 \
726         -DQP_SUPPORT_PNG=1 \
727         -Wconversion \
728         -Wno-sign-conversion
729
730 LOCAL_SHARED_LIBRARIES := \
731                 libEGL \
732                 libGLESv2 \
733                 libandroid \
734                 liblog \
735                 libm \
736                 libc \
737                 libz \
738                 libdl
739
740 LOCAL_STATIC_LIBRARIES := \
741                 libpng_ndk \
742
743 LOCAL_CFLAGS += \
744         $(deqp_compile_flags) \
745         -Wno-error=date-time
746
747 LOCAL_SDK_VERSION := 9
748 LOCAL_CPPFLAGS += -Wno-non-virtual-dtor
749 LOCAL_NDK_STL_VARIANT := gnustl_static
750 LOCAL_RTTI_FLAG := -frtti -fexceptions
751 LOCAL_MULTILIB := both
752
753 include $(BUILD_SHARED_LIBRARY)
754
755
756 # Build the test APKs using their own makefiles
757 # include $(call all-makefiles-under,$(LOCAL_PATH)/android)
758
759 include $(LOCAL_PATH)/android/package/Android.mk $(LOCAL_PATH)/android/cts/Android.mk