# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//test/xts/acts/graphic/vkgl/comm.gni") config("deqp_platform_ohos_config") { cflags_cc = deqp_common_cflags_cc cflags_cc += [ # "-Wno-conversion", # "-Wno-unused-function", "-Wno-unused-parameter", ] defines = deqp_common_defines } ohos_static_library("libdeqpgles2func0014") { subsystem_name = "graphic" part_name = "graphic_standard" sources = common_src sources += [ "../Deqpgles2BaseFunc.cpp" ] include_dirs = common_include deps = common_depends external_deps = [ "hilog:libhilog", "multimedia_image_framework:image_native", ] configs = [ ":deqp_platform_ohos_config" ] } ohos_moduletest_suite("ActsDeqpgles2TestSuite0014") { subsystem_name = "graphic" part_name = "graphic_standard" sources = [ "../ActsDeqpgles20014TestSuite.cpp", "../functional/Deqpgles2attribute_location_bindTestCase.cpp", "../functional/Deqpgles2attribute_location_bind_aliasingTestCase.cpp", "../functional/Deqpgles2attribute_location_bind_holeTestCase.cpp", "../functional/Deqpgles2attribute_location_bind_max_attributesTestCase.cpp", "../functional/Deqpgles2attribute_location_bind_relink_holeTestCase.cpp", "../functional/Deqpgles2attribute_location_bind_timeTestCase.cpp", "../functional/Deqpgles2completeness_sizeTestCase.cpp", "../functional/Deqpgles2functional_multisampleTestCase.cpp", "../functional/Deqpgles2info_query_basicTestCase.cpp", "../functional/Deqpgles2interpolation_basicTestCase.cpp", "../functional/Deqpgles2interpolation_projectedTestCase.cpp", "../functional/Deqpgles2multiple_attributes_attribute_countTestCase.cpp", "../functional/Deqpgles2multiple_attributes_input_typesTestCase.cpp", "../functional/Deqpgles2multiple_attributes_storageTestCase.cpp", "../functional/Deqpgles2multiple_attributes_strideTestCase.cpp", "../functional/Deqpgles2negative_api_bufferTestCase.cpp", "../functional/Deqpgles2negative_api_fragmentTestCase.cpp", "../functional/Deqpgles2negative_api_shaderTestCase.cpp", "../functional/Deqpgles2negative_api_stateTestCase.cpp", "../functional/Deqpgles2negative_api_textureTestCase.cpp", "../functional/Deqpgles2negative_api_vertex_arrayTestCase.cpp", "../functional/Deqpgles2rasterization_cullingTestCase.cpp", "../functional/Deqpgles2rasterization_fill_rulesTestCase.cpp", "../functional/Deqpgles2rasterization_limitsTestCase.cpp", "../functional/Deqpgles2rasterization_primitivesTestCase.cpp", "../functional/Deqpgles2shader_api_compile_linkTestCase.cpp", "../functional/Deqpgles2shader_api_create_deleteTestCase.cpp", "../functional/Deqpgles2shader_api_program_stateTestCase.cpp", "../functional/Deqpgles2shader_api_shader_sourceTestCase.cpp", "../functional/Deqpgles2single_attribute_firstTestCase.cpp", "../functional/Deqpgles2single_attribute_normalizeTestCase.cpp", "../functional/Deqpgles2single_attribute_offsetTestCase.cpp", "../functional/Deqpgles2single_attribute_output_typesTestCase.cpp", "../functional/Deqpgles2single_attribute_stridesTestCase.cpp", "../functional/Deqpgles2single_attribute_usagesTestCase.cpp", ] include_dirs = [ "../../../src" ] deps = [ ":libdeqpgles2func0014" ] cflags = [ "-Wno-error" ] }