1# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14# deqp-gles3-functional build 15 16import("//build/ohos.gni") 17import("//third_party/vk-gl-cts/vk_gl_cts.gni") 18 19config("deqp-gles3-functional_config") { 20 cflags_cc = deqp_common_cflags_cc 21 defines = deqp_common_defines 22} 23 24ohos_source_set("deqp-gles3-functional_source") { 25 sources = [ 26 "//third_party/vk-gl-cts/modules/gles3/functional/es3fASTCDecompressionCases.cpp", 27 "//third_party/vk-gl-cts/modules/gles3/functional/es3fApiCase.cpp", 28 "//third_party/vk-gl-cts/modules/gles3/functional/es3fAttribLocationTests.cpp", 29 "//third_party/vk-gl-cts/modules/gles3/functional/es3fBlendTests.cpp", 30 "//third_party/vk-gl-cts/modules/gles3/functional/es3fBooleanStateQueryTests.cpp", 31 "//third_party/vk-gl-cts/modules/gles3/functional/es3fBufferCopyTests.cpp", 32 "//third_party/vk-gl-cts/modules/gles3/functional/es3fBufferMapTests.cpp", 33 "//third_party/vk-gl-cts/modules/gles3/functional/es3fBufferObjectQueryTests.cpp", 34 "//third_party/vk-gl-cts/modules/gles3/functional/es3fBufferWriteTests.cpp", 35 "//third_party/vk-gl-cts/modules/gles3/functional/es3fBuiltinPrecisionTests.cpp", 36 "//third_party/vk-gl-cts/modules/gles3/functional/es3fClippingTests.cpp", 37 "//third_party/vk-gl-cts/modules/gles3/functional/es3fColorClearTest.cpp", 38 "//third_party/vk-gl-cts/modules/gles3/functional/es3fCompressedTextureTests.cpp", 39 "//third_party/vk-gl-cts/modules/gles3/functional/es3fDefaultVertexArrayObjectTests.cpp", 40 "//third_party/vk-gl-cts/modules/gles3/functional/es3fDefaultVertexAttributeTests.cpp", 41 "//third_party/vk-gl-cts/modules/gles3/functional/es3fDepthStencilClearTests.cpp", 42 "//third_party/vk-gl-cts/modules/gles3/functional/es3fDepthStencilTests.cpp", 43 "//third_party/vk-gl-cts/modules/gles3/functional/es3fDepthTests.cpp", 44 "//third_party/vk-gl-cts/modules/gles3/functional/es3fDitheringTests.cpp", 45 "//third_party/vk-gl-cts/modules/gles3/functional/es3fDrawTests.cpp", 46 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboApiTests.cpp", 47 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboColorbufferTests.cpp", 48 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboCompletenessTests.cpp", 49 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboDepthbufferTests.cpp", 50 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboInvalidateTests.cpp", 51 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboMultisampleTests.cpp", 52 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboRenderTest.cpp", 53 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboStateQueryTests.cpp", 54 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboStencilbufferTests.cpp", 55 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboTestCase.cpp", 56 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFboTestUtil.cpp", 57 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFloatStateQueryTests.cpp", 58 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFlushFinishTests.cpp", 59 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFragDepthTests.cpp", 60 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFragOpInteractionTests.cpp", 61 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFragmentOutputTests.cpp", 62 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFramebufferBlitTests.cpp", 63 "//third_party/vk-gl-cts/modules/gles3/functional/es3fFunctionalTests.cpp", 64 "//third_party/vk-gl-cts/modules/gles3/functional/es3fImplementationLimitTests.cpp", 65 "//third_party/vk-gl-cts/modules/gles3/functional/es3fIndexedStateQueryTests.cpp", 66 "//third_party/vk-gl-cts/modules/gles3/functional/es3fInstancedRenderingTests.cpp", 67 "//third_party/vk-gl-cts/modules/gles3/functional/es3fInteger64StateQueryTests.cpp", 68 "//third_party/vk-gl-cts/modules/gles3/functional/es3fIntegerStateQueryTests.cpp", 69 "//third_party/vk-gl-cts/modules/gles3/functional/es3fInternalFormatQueryTests.cpp", 70 "//third_party/vk-gl-cts/modules/gles3/functional/es3fLifetimeTests.cpp", 71 "//third_party/vk-gl-cts/modules/gles3/functional/es3fMultisampleTests.cpp", 72 "//third_party/vk-gl-cts/modules/gles3/functional/es3fMultiviewTests.cpp", 73 "//third_party/vk-gl-cts/modules/gles3/functional/es3fNegativeBufferApiTests.cpp", 74 "//third_party/vk-gl-cts/modules/gles3/functional/es3fNegativeFragmentApiTests.cpp", 75 "//third_party/vk-gl-cts/modules/gles3/functional/es3fNegativeShaderApiTests.cpp", 76 "//third_party/vk-gl-cts/modules/gles3/functional/es3fNegativeStateApiTests.cpp", 77 "//third_party/vk-gl-cts/modules/gles3/functional/es3fNegativeTextureApiTests.cpp", 78 "//third_party/vk-gl-cts/modules/gles3/functional/es3fNegativeVertexArrayApiTests.cpp", 79 "//third_party/vk-gl-cts/modules/gles3/functional/es3fOcclusionQueryTests.cpp", 80 "//third_party/vk-gl-cts/modules/gles3/functional/es3fPixelBufferObjectTests.cpp", 81 "//third_party/vk-gl-cts/modules/gles3/functional/es3fPolygonOffsetTests.cpp", 82 "//third_party/vk-gl-cts/modules/gles3/functional/es3fPrerequisiteTests.cpp", 83 "//third_party/vk-gl-cts/modules/gles3/functional/es3fPrimitiveRestartTests.cpp", 84 "//third_party/vk-gl-cts/modules/gles3/functional/es3fRandomFragmentOpTests.cpp", 85 "//third_party/vk-gl-cts/modules/gles3/functional/es3fRandomShaderTests.cpp", 86 "//third_party/vk-gl-cts/modules/gles3/functional/es3fRasterizationTests.cpp", 87 "//third_party/vk-gl-cts/modules/gles3/functional/es3fRasterizerDiscardTests.cpp", 88 "//third_party/vk-gl-cts/modules/gles3/functional/es3fRboStateQueryTests.cpp", 89 "//third_party/vk-gl-cts/modules/gles3/functional/es3fReadPixelsTests.cpp", 90 "//third_party/vk-gl-cts/modules/gles3/functional/es3fSamplerObjectTests.cpp", 91 "//third_party/vk-gl-cts/modules/gles3/functional/es3fSamplerStateQueryTests.cpp", 92 "//third_party/vk-gl-cts/modules/gles3/functional/es3fScissorTests.cpp", 93 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderApiTests.cpp", 94 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderBuiltinVarTests.cpp", 95 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderCommonFunctionTests.cpp", 96 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderConstExprTests.cpp", 97 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderDerivateTests.cpp", 98 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderDiscardTests.cpp", 99 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderFragDataTests.cpp", 100 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderIndexingTests.cpp", 101 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderInvarianceTests.cpp", 102 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderLoopTests.cpp", 103 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderMatrixTests.cpp", 104 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderMetamorphicTests.cpp", 105 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderOperatorTests.cpp", 106 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderPackingFunctionTests.cpp", 107 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderPrecisionTests.cpp", 108 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderReturnTests.cpp", 109 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderStateQueryTests.cpp", 110 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderStructTests.cpp", 111 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderSwitchTests.cpp", 112 "//third_party/vk-gl-cts/modules/gles3/functional/es3fShaderTextureFunctionTests.cpp", 113 "//third_party/vk-gl-cts/modules/gles3/functional/es3fStencilTests.cpp", 114 "//third_party/vk-gl-cts/modules/gles3/functional/es3fStringQueryTests.cpp", 115 "//third_party/vk-gl-cts/modules/gles3/functional/es3fSyncTests.cpp", 116 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureFilteringTests.cpp", 117 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureFormatTests.cpp", 118 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureMipmapTests.cpp", 119 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureShadowTests.cpp", 120 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureSizeTests.cpp", 121 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureSpecificationTests.cpp", 122 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureStateQueryTests.cpp", 123 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureSwizzleTests.cpp", 124 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureUnitTests.cpp", 125 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTextureWrapTests.cpp", 126 "//third_party/vk-gl-cts/modules/gles3/functional/es3fTransformFeedbackTests.cpp", 127 "//third_party/vk-gl-cts/modules/gles3/functional/es3fUniformApiTests.cpp", 128 "//third_party/vk-gl-cts/modules/gles3/functional/es3fUniformBlockTests.cpp", 129 "//third_party/vk-gl-cts/modules/gles3/functional/es3fVertexArrayObjectTests.cpp", 130 "//third_party/vk-gl-cts/modules/gles3/functional/es3fVertexArrayTest.cpp", 131 "//third_party/vk-gl-cts/modules/gles3/functional/es3fVertexTextureTests.cpp", 132 133 ] 134 include_dirs = [ 135 "//third_party/vk-gl-cts/modules/glshared", 136 "//third_party/vk-gl-cts/modules/gles3/functional", 137 "//third_party/vk-gl-cts/modules/gles3", 138 ] 139 140 include_dirs += deqp_common_include_dirs 141 142 deps = [ 143 "//third_party/vk-gl-cts/modules/glshared:libdeqp-gl-shared", 144 "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil", 145 "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 146 "//third_party/vk-gl-cts/framework/opengl/simplereference:libdeqp_glutil-sglr", 147 "//third_party/vk-gl-cts/framework/referencerenderer:libdeqp_referencerenderer", 148 ] 149 150 configs = [ ":deqp-gles3-functional_config" ] 151} 152 153ohos_static_library("libdeqp-gles3-functional") { 154 deps = [ ":deqp-gles3-functional_source" ] 155 part_name = "graphic_standard" 156 subsystem_name = "graphic" 157} 158