1e5c31af7Sopenharmony_ci# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 2e5c31af7Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3e5c31af7Sopenharmony_ci# you may not use this file except in compliance with the License. 4e5c31af7Sopenharmony_ci# You may obtain a copy of the License at 5e5c31af7Sopenharmony_ci# 6e5c31af7Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7e5c31af7Sopenharmony_ci# 8e5c31af7Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9e5c31af7Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10e5c31af7Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11e5c31af7Sopenharmony_ci# See the License for the specific language governing permissions and 12e5c31af7Sopenharmony_ci# limitations under the License. 13e5c31af7Sopenharmony_ci 14e5c31af7Sopenharmony_ci# deqp external vkutil build 15e5c31af7Sopenharmony_ci 16e5c31af7Sopenharmony_ciimport("//build/ohos.gni") 17e5c31af7Sopenharmony_ciimport("//third_party/vk-gl-cts/vk_gl_cts.gni") 18e5c31af7Sopenharmony_ci 19e5c31af7Sopenharmony_ciconfig("deqp_vk_image_config") { 20e5c31af7Sopenharmony_ci cflags_cc = deqp_common_cflags_cc 21e5c31af7Sopenharmony_ci defines = deqp_common_defines 22e5c31af7Sopenharmony_ci 23e5c31af7Sopenharmony_ci #defines += [ "_XOPEN_SOURCE=600" ] 24e5c31af7Sopenharmony_ci} 25e5c31af7Sopenharmony_ci 26e5c31af7Sopenharmony_ciohos_source_set("deqp_vk_image_source") { 27e5c31af7Sopenharmony_ci sources = [ 28e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageAstcDecodeModeTests.cpp", 29e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageAstcDecodeModeTests.hpp", 30e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageAtomicOperationTests.cpp", 31e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageAtomicOperationTests.hpp", 32e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageAtomicSpirvShaders.cpp", 33e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageAtomicSpirvShaders.hpp", 34e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageCompressionTranscodingSupport.cpp", 35e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageCompressionTranscodingSupport.hpp", 36e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageDepthStencilDescriptorTests.cpp", 37e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageDepthStencilDescriptorTests.hpp", 38e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageExtendedUsageBitTests.cpp", 39e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageExtendedUsageBitTests.hpp", 40e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageHostImageCopyTests.cpp", 41e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageHostImageCopyTests.hpp", 42e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageLoadStoreTests.cpp", 43e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageLoadStoreTests.hpp", 44e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageLoadStoreUtil.cpp", 45e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageLoadStoreUtil.hpp", 46e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMisalignedCubeTests.cpp", 47e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMisalignedCubeTests.hpp", 48e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMismatchedFormatsTests.cpp", 49e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMismatchedFormatsTests.hpp", 50e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMismatchedWriteOpTests.cpp", 51e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMismatchedWriteOpTests.hpp", 52e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMultisampleLoadStoreTests.cpp", 53e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMultisampleLoadStoreTests.hpp", 54e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMutableTests.cpp", 55e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageMutableTests.hpp", 56e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageQualifiersTests.cpp", 57e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageQualifiersTests.hpp", 58e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageSampleCompressedTextureTests.cpp", 59e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageSampleCompressedTextureTests.hpp", 60e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageSampleDrawnCubeFaceTests.cpp", 61e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageSampleDrawnCubeFaceTests.hpp", 62e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageSizeTests.cpp", 63e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageSizeTests.hpp", 64e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageSubresourceLayoutTests.cpp", 65e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageSubresourceLayoutTests.hpp", 66e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTests.cpp", 67e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTests.hpp", 68e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTestsUtil.cpp", 69e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTestsUtil.hpp", 70e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTexture.cpp", 71e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTexture.hpp", 72e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTranscodingSupportTests.cpp", 73e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTranscodingSupportTests.hpp", 74e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTransfer.cpp", 75e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/vktImageTransfer.hpp", 76e5c31af7Sopenharmony_ci ] 77e5c31af7Sopenharmony_ci 78e5c31af7Sopenharmony_ci include_dirs = deqp_vk_common_include_dirs 79e5c31af7Sopenharmony_ci include_dirs += 80e5c31af7Sopenharmony_ci [ "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image" ] 81e5c31af7Sopenharmony_ci 82e5c31af7Sopenharmony_ci deps = [ 83e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan:libdeqp_vkutil", 84e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 85e5c31af7Sopenharmony_ci ] 86e5c31af7Sopenharmony_ci part_name = "acts" 87e5c31af7Sopenharmony_ci subsystem_name = "xts" 88e5c31af7Sopenharmony_ci configs = [ ":deqp_vk_image_config" ] 89e5c31af7Sopenharmony_ci} 90e5c31af7Sopenharmony_ciohos_static_library("libdeqp_vk_image") { 91e5c31af7Sopenharmony_ci deps = [ ":deqp_vk_image_source" ] 92e5c31af7Sopenharmony_ci part_name = "acts" 93e5c31af7Sopenharmony_ci subsystem_name = "xts" 94e5c31af7Sopenharmony_ci} 95