# 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("libdeqpgles3func0026") { subsystem_name = "graphic" part_name = "graphic_2d" sources = common_src sources += [ "../Deqpgles3BaseFunc.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("ActsDeqpgles3TestSuite0026") { subsystem_name = "graphic" part_name = "graphic_2d" sources = [ "../ActsDeqpgles30026TestSuite.cpp", "../functional/Deqpgles32d_array_linearTestCase.cpp", "../functional/Deqpgles32d_array_linear_mipmap_linearTestCase.cpp", "../functional/Deqpgles32d_array_linear_mipmap_nearestTestCase.cpp", "../functional/Deqpgles32d_array_nearestTestCase.cpp", "../functional/Deqpgles32d_array_nearest_mipmap_linearTestCase.cpp", "../functional/Deqpgles32d_array_nearest_mipmap_nearestTestCase.cpp", "../functional/Deqpgles32d_base_levelTestCase.cpp", "../functional/Deqpgles32d_biasTestCase.cpp", "../functional/Deqpgles32d_generateTestCase.cpp", "../functional/Deqpgles32d_linearTestCase.cpp", "../functional/Deqpgles32d_linear_mipmap_linearTestCase.cpp", "../functional/Deqpgles32d_linear_mipmap_nearestTestCase.cpp", "../functional/Deqpgles32d_max_levelTestCase.cpp", "../functional/Deqpgles32d_max_lodTestCase.cpp", "../functional/Deqpgles32d_min_lodTestCase.cpp", "../functional/Deqpgles32d_nearestTestCase.cpp", "../functional/Deqpgles32d_nearest_mipmap_linearTestCase.cpp", "../functional/Deqpgles32d_nearest_mipmap_nearestTestCase.cpp", "../functional/Deqpgles32d_projectedTestCase.cpp", "../functional/Deqpgles33d_affineTestCase.cpp", "../functional/Deqpgles33d_base_levelTestCase.cpp", "../functional/Deqpgles33d_basicTestCase.cpp", "../functional/Deqpgles33d_biasTestCase.cpp", "../functional/Deqpgles33d_max_levelTestCase.cpp", "../functional/Deqpgles33d_max_lodTestCase.cpp", "../functional/Deqpgles33d_min_lodTestCase.cpp", "../functional/Deqpgles33d_projectedTestCase.cpp", "../functional/Deqpgles3cube_base_levelTestCase.cpp", "../functional/Deqpgles3cube_basicTestCase.cpp", "../functional/Deqpgles3cube_biasTestCase.cpp", "../functional/Deqpgles3cube_generateTestCase.cpp", "../functional/Deqpgles3cube_linearTestCase.cpp", "../functional/Deqpgles3cube_linear_mipmap_linearTestCase.cpp", "../functional/Deqpgles3cube_linear_mipmap_nearestTestCase.cpp", "../functional/Deqpgles3cube_max_levelTestCase.cpp", "../functional/Deqpgles3cube_max_lodTestCase.cpp", "../functional/Deqpgles3cube_min_lodTestCase.cpp", "../functional/Deqpgles3cube_nearestTestCase.cpp", "../functional/Deqpgles3cube_nearest_mipmap_linearTestCase.cpp", "../functional/Deqpgles3cube_nearest_mipmap_nearestTestCase.cpp", "../functional/Deqpgles3specification_basic_teximage2dTestCase.cpp", "../functional/Deqpgles3specification_basic_texsubimage2dTestCase.cpp", "../functional/Deqpgles3specification_random_teximage2dTestCase.cpp", "../functional/Deqpgles3specification_teximage2d_alignTestCase.cpp", "../functional/Deqpgles3specification_teximage2d_depthTestCase.cpp", "../functional/Deqpgles3specification_teximage2d_depth_pboTestCase.cpp", "../functional/Deqpgles3specification_teximage2d_pboTestCase.cpp", "../functional/Deqpgles3specification_teximage2d_unpack_paramsTestCase.cpp", "../functional/Deqpgles3swizzle_multi_channelTestCase.cpp", "../functional/Deqpgles3swizzle_single_channelTestCase.cpp", ] include_dirs = [ "../../../src" ] deps = [ ":libdeqpgles3func0026" ] cflags = [ "-Wno-error" ] }