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 14import("//test/xts/acts/graphic/vkgl/comm.gni") 15 16config("deqp_platform_ohos_config") { 17 cflags_cc = deqp_common_cflags_cc 18 19 cflags_cc += [ 20 # "-Wno-conversion", 21 # "-Wno-unused-function", 22 "-Wno-unused-parameter", 23 ] 24 25 defines = deqp_common_defines 26} 27 28ohos_static_library("libkhrgles3func0004") { 29 subsystem_name = "graphic" 30 part_name = "graphic_2d" 31 sources = common_src 32 sources += [ "../Khrgles3BaseFunc.cpp" ] 33 34 include_dirs = common_include 35 deps = common_depends_gles3 36 external_deps = [ 37 "hilog:libhilog", 38 "image_framework:image_native", 39 ] 40 configs = [ ":deqp_platform_ohos_config" ] 41} 42 43ohos_moduletest_suite("ActsKhrgles3TestSuite0004") { 44 subsystem_name = "graphic" 45 part_name = "graphic_2d" 46 sources = [ 47 "../ActsKhrgles30004TestSuite.cpp", 48 "../copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_forbiddenTestCase.cpp", 49 "../copy_tex_image_conversions/Khrgles3copy_tex_image_conversions_requiredTestCase.cpp", 50 "../core/Khrgles3core_constant_expressionsTestCase.cpp", 51 "../core/Khrgles3core_nearest_edgeTestCase.cpp", 52 "../core/Khrgles3core_shader_macrosTestCase.cpp", 53 "../core/Khrgles3internalformat_copy_tex_imageTestCase.cpp", 54 "../core/Khrgles3internalformat_renderbufferTestCase.cpp", 55 "../core/Khrgles3internalformat_texture2dTestCase.cpp", 56 "../exposed_extensions/Khrgles3KHR-GLES3_exposed_extensionsTestCase.cpp", 57 "../framebuffer_completeness/Khrgles3KHR-GLES3_framebuffer_completenessTestCase.cpp", 58 "../packed_depth_stencil/Khrgles3packed_depth_stencil_blitTestCase.cpp", 59 "../packed_depth_stencil/Khrgles3packed_depth_stencil_clear_bufferTestCase.cpp", 60 "../packed_depth_stencil/Khrgles3packed_depth_stencil_renderbuffersTestCase.cpp", 61 "../packed_depth_stencil/Khrgles3packed_depth_stencil_stencil_texturingTestCase.cpp", 62 "../packed_depth_stencil/Khrgles3packed_depth_stencil_validate_errorsTestCase.cpp", 63 "../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_mixed_attachmentsTestCase.cpp", 64 "../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_parametersTestCase.cpp", 65 "../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_partial_attachmentsTestCase.cpp", 66 "../packed_depth_stencil/Khrgles3packed_depth_stencil_verify_read_pixelsTestCase.cpp", 67 "../packed_pixels/Khrgles3packed_pixels_pbo_rectangleTestCase.cpp", 68 "../packed_pixels/Khrgles3packed_pixels_rectangleTestCase.cpp", 69 "../packed_pixels/Khrgles3packed_pixels_varied_rectangleTestCase.cpp", 70 "../parallel_shader_compile/Khrgles3KHR-GLES3_parallel_shader_compileTestCase.cpp", 71 ] 72 73 include_dirs = [ "../../../src" ] 74 75 deps = [ ":libkhrgles3func0004" ] 76 77 cflags = [ "-Wno-error" ] 78} 79