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# framework tcutil build 15 16import("//build/ohos.gni") 17import("//third_party/vk-gl-cts/vk_gl_cts.gni") 18 19config("tcutil_config") { 20 cflags_cc = deqp_common_cflags_cc 21 defines = deqp_common_defines 22} 23 24ohos_source_set("tcutil_source") { 25 sources = [ 26 "//third_party/vk-gl-cts/framework/common/tcuApp.cpp", 27 "//third_party/vk-gl-cts/framework/common/tcuArray.cpp", 28 "//third_party/vk-gl-cts/framework/common/tcuAstcUtil.cpp", 29 "//third_party/vk-gl-cts/framework/common/tcuBilinearImageCompare.cpp", 30 "//third_party/vk-gl-cts/framework/common/tcuCPUWarmup.cpp", 31 "//third_party/vk-gl-cts/framework/common/tcuCommandLine.cpp", 32 "//third_party/vk-gl-cts/framework/common/tcuCompressedTexture.cpp", 33 "//third_party/vk-gl-cts/framework/common/tcuDefs.cpp", 34 "//third_party/vk-gl-cts/framework/common/tcuEither.cpp", 35 "//third_party/vk-gl-cts/framework/common/tcuFactoryRegistry.cpp", 36 "//third_party/vk-gl-cts/framework/common/tcuFloat.cpp", 37 "//third_party/vk-gl-cts/framework/common/tcuFloatFormat.cpp", 38 "//third_party/vk-gl-cts/framework/common/tcuFunctionLibrary.cpp", 39 "//third_party/vk-gl-cts/framework/common/tcuFuzzyImageCompare.cpp", 40 "//third_party/vk-gl-cts/framework/common/tcuImageCompare.cpp", 41 "//third_party/vk-gl-cts/framework/common/tcuImageIO.cpp", 42 "//third_party/vk-gl-cts/framework/common/tcuInterval.cpp", 43 "//third_party/vk-gl-cts/framework/common/tcuMatrix.cpp", 44 "//third_party/vk-gl-cts/framework/common/tcuMaybe.cpp", 45 "//third_party/vk-gl-cts/framework/common/tcuPlatform.cpp", 46 "//third_party/vk-gl-cts/framework/common/tcuRGBA.cpp", 47 "//third_party/vk-gl-cts/framework/common/tcuRandomValueIterator.cpp", 48 "//third_party/vk-gl-cts/framework/common/tcuRasterizationVerifier.cpp", 49 "//third_party/vk-gl-cts/framework/common/tcuRenderTarget.cpp", 50 "//third_party/vk-gl-cts/framework/common/tcuResource.cpp", 51 "//third_party/vk-gl-cts/framework/common/tcuResultCollector.cpp", 52 "//third_party/vk-gl-cts/framework/common/tcuSeedBuilder.cpp", 53 "//third_party/vk-gl-cts/framework/common/tcuStringTemplate.cpp", 54 "//third_party/vk-gl-cts/framework/common/tcuSurface.cpp", 55 "//third_party/vk-gl-cts/framework/common/tcuSurfaceAccess.cpp", 56 "//third_party/vk-gl-cts/framework/common/tcuTestCase.cpp", 57 "//third_party/vk-gl-cts/framework/common/tcuTestContext.cpp", 58 "//third_party/vk-gl-cts/framework/common/tcuTestHierarchyIterator.cpp", 59 "//third_party/vk-gl-cts/framework/common/tcuTestHierarchyUtil.cpp", 60 "//third_party/vk-gl-cts/framework/common/tcuTestLog.cpp", 61 "//third_party/vk-gl-cts/framework/common/tcuTestPackage.cpp", 62 "//third_party/vk-gl-cts/framework/common/tcuTestSessionExecutor.cpp", 63 "//third_party/vk-gl-cts/framework/common/tcuTexCompareVerifier.cpp", 64 "//third_party/vk-gl-cts/framework/common/tcuTexLookupVerifier.cpp", 65 "//third_party/vk-gl-cts/framework/common/tcuTexVerifierUtil.cpp", 66 "//third_party/vk-gl-cts/framework/common/tcuTexture.cpp", 67 "//third_party/vk-gl-cts/framework/common/tcuTextureUtil.cpp", 68 "//third_party/vk-gl-cts/framework/common/tcuThreadUtil.cpp", 69 "//third_party/vk-gl-cts/framework/common/tcuWaiverUtil.cpp", 70 ] 71 include_dirs = [ 72 "//third_party/vk-gl-cts/framework/delibs/debase", 73 "//third_party/vk-gl-cts/framework/delibs/decpp", 74 "//third_party/vk-gl-cts/framework/delibs/depool", 75 "//third_party/vk-gl-cts/framework/delibs/dethread", 76 "//third_party/vk-gl-cts/framework/delibs/deutil", 77 "//third_party/vk-gl-cts/framework/delibs/destream", 78 "//third_party/vk-gl-cts/framework/common", 79 "//third_party/vk-gl-cts/framework/qphelper", 80 "//third_party/vk-gl-cts/framework/xexml", 81 "//third_party/libpng", 82 "//third_party/vk-gl-cts/framework/referencerenderer" 83 ] 84 85 deps = [ 86 "//third_party/vk-gl-cts/framework/delibs/decpp:libdeqp_decpp", 87 "//third_party/vk-gl-cts/framework/delibs/debase:libdeqp_debase", 88 "//third_party/vk-gl-cts/framework/delibs/deutil:libdeqp_deutil", 89 "//third_party/vk-gl-cts/framework/qphelper:libdeqp_qphelper", 90 "//third_party/vk-gl-cts/framework/delibs/dethread:libdeqp_dethread", 91 "//third_party/vk-gl-cts/framework/xexml:libdeqp_xexml", 92 "//third_party/libpng:libpng", 93 ] 94 95# lib_dirs = ["//third_party/vk-gl-cts/outlibs"] 96 97# libs=["png"] 98 99 configs = [ ":tcutil_config" ] 100 101} 102 103ohos_static_library("libdeqp_tcutil") { 104 deps = [ ":tcutil_source" ] 105 part_name = "graphic_standard" 106 subsystem_name = "graphic" 107} 108