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 external renderpass build 15 16import("//build/ohos.gni") 17import("//third_party/vk-gl-cts/vk_gl_cts.gni") 18 19config("deqp_vk_renderpass_config") { 20 cflags_cc = deqp_common_cflags_cc 21 defines = deqp_common_defines 22 23 #defines += [ "_XOPEN_SOURCE=600" ] 24} 25 26ohos_source_set("deqp_vk_renderpass_source") { 27 sources = [ 28 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktDynamicRenderingRandomTests.cpp", 29 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktDynamicRenderingRandomTests.hpp", 30 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktDynamicRenderingTests.cpp", 31 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktDynamicRenderingTests.hpp", 32 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktDynamicRenderingUnusedAttachmentsTests.cpp", 33 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktDynamicRenderingUnusedAttachmentsTests.hpp", 34 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.cpp", 35 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilResolveTests.hpp", 36 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilWriteConditionsTests.cpp", 37 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDepthStencilWriteConditionsTests.hpp", 38 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDitheringTests.cpp", 39 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassDitheringTests.hpp", 40 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassFragmentDensityMapTests.cpp", 41 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassFragmentDensityMapTests.hpp", 42 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassLoadStoreOpNoneTests.cpp", 43 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassLoadStoreOpNoneTests.hpp", 44 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp", 45 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassMultipleSubpassesMultipleCommandBuffersTests.hpp", 46 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassMultisampleResolveTests.cpp", 47 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassMultisampleResolveTests.hpp", 48 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassMultisampleTests.cpp", 49 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassMultisampleTests.hpp", 50 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassSampleReadTests.cpp", 51 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassSampleReadTests.hpp", 52 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassSparseRenderTargetTests.cpp", 53 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassSparseRenderTargetTests.hpp", 54 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassSubpassDependencyTests.cpp", 55 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassSubpassDependencyTests.hpp", 56 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassSubpassMergeFeedbackTests.cpp", 57 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassSubpassMergeFeedbackTests.hpp", 58 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.cpp", 59 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTests.hpp", 60 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTestsUtil.cpp", 61 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassTestsUtil.hpp", 62 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassUnusedAttachmentSparseFillingTests.cpp", 63 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassUnusedAttachmentSparseFillingTests.hpp", 64 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassUnusedAttachmentTests.cpp", 65 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassUnusedAttachmentTests.hpp", 66 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassUnusedClearAttachmentTests.cpp", 67 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/vktRenderPassUnusedClearAttachmentTests.hpp", 68 ] 69 70 include_dirs = deqp_vk_common_include_dirs 71 include_dirs += [ 72 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass", 73 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber", 74 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw", 75 ] 76 77 deps = [ 78 "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan:libdeqp_vkutil", 79 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw:libdeqp_vk_draw", 80 "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 81 ] 82 part_name = "acts" 83 subsystem_name = "xts" 84 configs = [ ":deqp_vk_renderpass_config" ] 85} 86ohos_static_library("libdeqp_vk_renderpass") { 87 deps = [ ":deqp_vk_renderpass_source" ] 88 part_name = "acts" 89 subsystem_name = "xts" 90} 91