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("libdeqpgles31func0004") { 29 subsystem_name = "graphic" 30 part_name = "graphic_2d" 31 sources = common_src 32 sources += [ "../Deqpgles31BaseFunc.cpp" ] 33 34 include_dirs = common_include 35 deps = common_depends_gles31 36 external_deps = [ 37 "hilog:libhilog", 38 "image_framework:image_native", 39 ] 40 configs = [ ":deqp_platform_ohos_config" ] 41} 42 43ohos_moduletest_suite("ActsDeqpgles31TestSuite0004") { 44 subsystem_name = "graphic" 45 part_name = "graphic_2d" 46 sources = [ 47 "../ActsDeqpgles310004TestSuite.cpp", 48 "../functional/Deqpgles31const_expression_computeTestCase.cpp", 49 "../functional/Deqpgles31const_expression_fragmentTestCase.cpp", 50 "../functional/Deqpgles31const_expression_geometryTestCase.cpp", 51 "../functional/Deqpgles31const_expression_tessellation_controlTestCase.cpp", 52 "../functional/Deqpgles31const_expression_tessellation_evaluationTestCase.cpp", 53 "../functional/Deqpgles31const_expression_vertexTestCase.cpp", 54 "../functional/Deqpgles31const_literal_computeTestCase.cpp", 55 "../functional/Deqpgles31const_literal_fragmentTestCase.cpp", 56 "../functional/Deqpgles31const_literal_geometryTestCase.cpp", 57 "../functional/Deqpgles31const_literal_tessellation_controlTestCase.cpp", 58 "../functional/Deqpgles31const_literal_tessellation_evaluationTestCase.cpp", 59 "../functional/Deqpgles31const_literal_vertexTestCase.cpp", 60 "../functional/Deqpgles31constructor_explicitTestCase.cpp", 61 "../functional/Deqpgles31constructor_implicitTestCase.cpp", 62 "../functional/Deqpgles31dynamically_uniform_computeTestCase.cpp", 63 "../functional/Deqpgles31dynamically_uniform_fragmentTestCase.cpp", 64 "../functional/Deqpgles31dynamically_uniform_geometryTestCase.cpp", 65 "../functional/Deqpgles31dynamically_uniform_tessellation_controlTestCase.cpp", 66 "../functional/Deqpgles31dynamically_uniform_tessellation_evaluationTestCase.cpp", 67 "../functional/Deqpgles31dynamically_uniform_vertexTestCase.cpp", 68 "../functional/Deqpgles31es31_implicit_sizeTestCase.cpp", 69 "../functional/Deqpgles31es31_invalidTestCase.cpp", 70 "../functional/Deqpgles31es31_overloadingTestCase.cpp", 71 "../functional/Deqpgles31es32_invalidTestCase.cpp", 72 "../functional/Deqpgles31es32_overloadingTestCase.cpp", 73 "../functional/Deqpgles31interpolate_at_centroid_negativeTestCase.cpp", 74 "../functional/Deqpgles31interpolate_at_offset_array_elementTestCase.cpp", 75 "../functional/Deqpgles31interpolate_at_offset_at_sample_positionTestCase.cpp", 76 "../functional/Deqpgles31interpolate_at_offset_centroid_qualifierTestCase.cpp", 77 "../functional/Deqpgles31interpolate_at_offset_negativeTestCase.cpp", 78 "../functional/Deqpgles31interpolate_at_offset_no_qualifiersTestCase.cpp", 79 "../functional/Deqpgles31interpolate_at_offset_sample_qualifierTestCase.cpp", 80 "../functional/Deqpgles31interpolate_at_sample_at_sample_idTestCase.cpp", 81 "../functional/Deqpgles31interpolate_at_sample_centroid_qualifiedTestCase.cpp", 82 "../functional/Deqpgles31interpolate_at_sample_dynamic_sample_numberTestCase.cpp", 83 "../functional/Deqpgles31interpolate_at_sample_negativeTestCase.cpp", 84 "../functional/Deqpgles31interpolate_at_sample_non_multisample_bufferTestCase.cpp", 85 "../functional/Deqpgles31interpolate_at_sample_static_sample_numberTestCase.cpp", 86 "../functional/Deqpgles31multisample_interpolation_sample_qualifierTestCase.cpp", 87 "../functional/Deqpgles31opaque_type_indexing_atomic_counterTestCase.cpp", 88 "../functional/Deqpgles31opaque_type_indexing_ssboTestCase.cpp", 89 "../functional/Deqpgles31opaque_type_indexing_uboTestCase.cpp", 90 "../functional/Deqpgles31parameter_inTestCase.cpp", 91 "../functional/Deqpgles31parameter_outTestCase.cpp", 92 "../functional/Deqpgles31parameter_unnamedTestCase.cpp", 93 "../functional/Deqpgles31return_explicitTestCase.cpp", 94 "../functional/Deqpgles31return_implicitTestCase.cpp", 95 "../functional/Deqpgles31sample_mask_discard_half_per_pixelTestCase.cpp", 96 "../functional/Deqpgles31sample_mask_discard_half_per_sampleTestCase.cpp", 97 "../functional/Deqpgles31sample_mask_discard_half_per_two_samplesTestCase.cpp", 98 "../functional/Deqpgles31sample_mask_in_bit_count_per_sampleTestCase.cpp", 99 "../functional/Deqpgles31sample_mask_in_bit_count_per_two_samplesTestCase.cpp", 100 "../functional/Deqpgles31sample_mask_in_bits_unique_per_sampleTestCase.cpp", 101 "../functional/Deqpgles31sample_mask_in_bits_unique_per_two_samplesTestCase.cpp", 102 "../functional/Deqpgles31sample_mask_inverse_per_pixelTestCase.cpp", 103 "../functional/Deqpgles31sample_mask_inverse_per_sampleTestCase.cpp", 104 "../functional/Deqpgles31sample_mask_inverse_per_two_samplesTestCase.cpp", 105 "../functional/Deqpgles31uniform_computeTestCase.cpp", 106 "../functional/Deqpgles31uniform_fragmentTestCase.cpp", 107 "../functional/Deqpgles31uniform_geometryTestCase.cpp", 108 "../functional/Deqpgles31uniform_tessellation_controlTestCase.cpp", 109 "../functional/Deqpgles31uniform_tessellation_evaluationTestCase.cpp", 110 "../functional/Deqpgles31uniform_vertexTestCase.cpp", 111 ] 112 113 include_dirs = [ "../../../src" ] 114 115 deps = [ ":libdeqpgles31func0004" ] 116 117 cflags = [ "-Wno-error" ] 118} 119