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("libdeqpgles31func0017") { 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("ActsDeqpgles31TestSuite0017") { 44 subsystem_name = "graphic" 45 part_name = "graphic_2d" 46 sources = [ 47 "../ActsDeqpgles310017TestSuite.cpp", 48 "../functional/Deqpgles31geometry_shading_basicTestCase.cpp", 49 "../functional/Deqpgles31geometry_shading_conversionTestCase.cpp", 50 "../functional/Deqpgles31geometry_shading_emitTestCase.cpp", 51 "../functional/Deqpgles31geometry_shading_instancedTestCase.cpp", 52 "../functional/Deqpgles31geometry_shading_layeredTestCase.cpp", 53 "../functional/Deqpgles31geometry_shading_negativeTestCase.cpp", 54 "../functional/Deqpgles31geometry_shading_queryTestCase.cpp", 55 "../functional/Deqpgles31geometry_shading_varyingTestCase.cpp", 56 "../functional/Deqpgles31geometry_shading_vertex_transform_feedbackTestCase.cpp", 57 "../functional/Deqpgles31get_uniform_array_in_structTestCase.cpp", 58 "../functional/Deqpgles31get_uniform_basicTestCase.cpp", 59 "../functional/Deqpgles31get_uniform_basic_arrayTestCase.cpp", 60 "../functional/Deqpgles31get_uniform_basic_array_first_elem_without_bracketsTestCase.cpp", 61 "../functional/Deqpgles31get_uniform_basic_structTestCase.cpp", 62 "../functional/Deqpgles31get_uniform_multiple_basicTestCase.cpp", 63 "../functional/Deqpgles31get_uniform_multiple_basic_arrayTestCase.cpp", 64 "../functional/Deqpgles31get_uniform_multiple_nested_structs_arraysTestCase.cpp", 65 "../functional/Deqpgles31get_uniform_nested_structs_arraysTestCase.cpp", 66 "../functional/Deqpgles31get_uniform_struct_in_arrayTestCase.cpp", 67 "../functional/Deqpgles31input_basic_primitiveTestCase.cpp", 68 "../functional/Deqpgles31input_triangle_strip_adjacencyTestCase.cpp", 69 "../functional/Deqpgles31inter_call_with_memory_barrierTestCase.cpp", 70 "../functional/Deqpgles31inter_call_without_memory_barrierTestCase.cpp", 71 "../functional/Deqpgles31internal_format_partial_queryTestCase.cpp", 72 "../functional/Deqpgles31internal_format_texture_2d_multisampleTestCase.cpp", 73 "../functional/Deqpgles31internal_format_texture_2d_multisample_arrayTestCase.cpp", 74 "../functional/Deqpgles31multisample_default_framebufferTestCase.cpp", 75 "../functional/Deqpgles31multisample_interpolation_fragment_interpolation_offset_bitsTestCase.cpp", 76 "../functional/Deqpgles31multisample_interpolation_max_fragment_interpolation_offsetTestCase.cpp", 77 "../functional/Deqpgles31multisample_interpolation_min_fragment_interpolation_offsetTestCase.cpp", 78 "../functional/Deqpgles31render_basicTestCase.cpp", 79 "../functional/Deqpgles31render_basic_arrayTestCase.cpp", 80 "../functional/Deqpgles31render_basic_structTestCase.cpp", 81 "../functional/Deqpgles31sample_shading_min_sample_shadingTestCase.cpp", 82 "../functional/Deqpgles31sample_shading_state_queryTestCase.cpp", 83 "../functional/Deqpgles31state_query_framebuffer_defaultTestCase.cpp", 84 "../functional/Deqpgles31state_query_programTestCase.cpp", 85 "../functional/Deqpgles31state_query_program_pipelineTestCase.cpp", 86 "../functional/Deqpgles31synchronization_in_invocationTestCase.cpp", 87 "../functional/Deqpgles31synchronization_inter_invocationTestCase.cpp", 88 "../functional/Deqpgles31usage_mixed_usageTestCase.cpp", 89 "../functional/Deqpgles31usage_multiple_bindingsTestCase.cpp", 90 "../functional/Deqpgles31usage_single_bindingTestCase.cpp", 91 "../functional/Deqpgles31vertex_attribute_binding_indexedTestCase.cpp", 92 "../functional/Deqpgles31vertex_attribute_binding_negativeTestCase.cpp", 93 "../functional/Deqpgles31vertex_attribute_binding_vertex_attribTestCase.cpp", 94 ] 95 96 include_dirs = [ "../../../src" ] 97 98 deps = [ ":libdeqpgles31func0017" ] 99 100 cflags = [ "-Wno-error" ] 101} 102