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("libdeqpgles2func0014") { 29 subsystem_name = "graphic" 30 part_name = "graphic_2d" 31 sources = common_src 32 sources += [ "../Deqpgles2BaseFunc.cpp" ] 33 34 include_dirs = common_include 35 deps = common_depends_gles2 36 external_deps = [ 37 "hilog:libhilog", 38 "image_framework:image_native", 39 ] 40 configs = [ ":deqp_platform_ohos_config" ] 41} 42 43ohos_moduletest_suite("ActsDeqpgles2TestSuite0014") { 44 subsystem_name = "graphic" 45 part_name = "graphic_2d" 46 sources = [ 47 "../ActsDeqpgles20014TestSuite.cpp", 48 "../functional/Deqpgles2attribute_location_bindTestCase.cpp", 49 "../functional/Deqpgles2attribute_location_bind_aliasingTestCase.cpp", 50 "../functional/Deqpgles2attribute_location_bind_holeTestCase.cpp", 51 "../functional/Deqpgles2attribute_location_bind_max_attributesTestCase.cpp", 52 "../functional/Deqpgles2attribute_location_bind_relink_holeTestCase.cpp", 53 "../functional/Deqpgles2attribute_location_bind_timeTestCase.cpp", 54 "../functional/Deqpgles2completeness_sizeTestCase.cpp", 55 "../functional/Deqpgles2functional_multisampleTestCase.cpp", 56 "../functional/Deqpgles2info_query_basicTestCase.cpp", 57 "../functional/Deqpgles2interpolation_basicTestCase.cpp", 58 "../functional/Deqpgles2interpolation_projectedTestCase.cpp", 59 "../functional/Deqpgles2multiple_attributes_attribute_countTestCase.cpp", 60 "../functional/Deqpgles2multiple_attributes_input_typesTestCase.cpp", 61 "../functional/Deqpgles2multiple_attributes_storageTestCase.cpp", 62 "../functional/Deqpgles2multiple_attributes_strideTestCase.cpp", 63 "../functional/Deqpgles2negative_api_bufferTestCase.cpp", 64 "../functional/Deqpgles2negative_api_fragmentTestCase.cpp", 65 "../functional/Deqpgles2negative_api_shaderTestCase.cpp", 66 "../functional/Deqpgles2negative_api_stateTestCase.cpp", 67 "../functional/Deqpgles2negative_api_textureTestCase.cpp", 68 "../functional/Deqpgles2negative_api_vertex_arrayTestCase.cpp", 69 "../functional/Deqpgles2rasterization_cullingTestCase.cpp", 70 "../functional/Deqpgles2rasterization_fill_rulesTestCase.cpp", 71 "../functional/Deqpgles2rasterization_limitsTestCase.cpp", 72 "../functional/Deqpgles2rasterization_primitivesTestCase.cpp", 73 "../functional/Deqpgles2shader_api_compile_linkTestCase.cpp", 74 "../functional/Deqpgles2shader_api_create_deleteTestCase.cpp", 75 "../functional/Deqpgles2shader_api_program_stateTestCase.cpp", 76 "../functional/Deqpgles2shader_api_shader_sourceTestCase.cpp", 77 "../functional/Deqpgles2single_attribute_firstTestCase.cpp", 78 "../functional/Deqpgles2single_attribute_normalizeTestCase.cpp", 79 "../functional/Deqpgles2single_attribute_offsetTestCase.cpp", 80 "../functional/Deqpgles2single_attribute_output_typesTestCase.cpp", 81 "../functional/Deqpgles2single_attribute_stridesTestCase.cpp", 82 "../functional/Deqpgles2single_attribute_usagesTestCase.cpp", 83 ] 84 85 include_dirs = [ "../../../src" ] 86 87 deps = [ ":libdeqpgles2func0014" ] 88 89 cflags = [ "-Wno-error" ] 90} 91