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("libdeqpgles3func0028") { 29 subsystem_name = "graphic" 30 part_name = "graphic_2d" 31 sources = common_src 32 sources += [ "../Deqpgles3BaseFunc.cpp" ] 33 34 include_dirs = common_include 35 deps = common_depends_gles3 36 external_deps = [ 37 "hilog:libhilog", 38 "image_framework:image_native", 39 ] 40 configs = [ ":deqp_platform_ohos_config" ] 41} 42 43ohos_moduletest_suite("ActsDeqpgles3TestSuite0028") { 44 subsystem_name = "graphic" 45 part_name = "graphic_2d" 46 sources = [ 47 "../ActsDeqpgles30028TestSuite.cpp", 48 "../functional/Deqpgles32_units_mixedTestCase.cpp", 49 "../functional/Deqpgles32_units_only_2dTestCase.cpp", 50 "../functional/Deqpgles32_units_only_2d_arrayTestCase.cpp", 51 "../functional/Deqpgles32_units_only_3dTestCase.cpp", 52 "../functional/Deqpgles32_units_only_cubeTestCase.cpp", 53 "../functional/Deqpgles32d_array_filteringTestCase.cpp", 54 "../functional/Deqpgles32d_array_wrapTestCase.cpp", 55 "../functional/Deqpgles33d_filteringTestCase.cpp", 56 "../functional/Deqpgles33d_wrapTestCase.cpp", 57 "../functional/Deqpgles34_units_mixedTestCase.cpp", 58 "../functional/Deqpgles34_units_only_2dTestCase.cpp", 59 "../functional/Deqpgles34_units_only_2d_arrayTestCase.cpp", 60 "../functional/Deqpgles34_units_only_3dTestCase.cpp", 61 "../functional/Deqpgles34_units_only_cubeTestCase.cpp", 62 "../functional/Deqpgles38_units_mixedTestCase.cpp", 63 "../functional/Deqpgles38_units_only_2dTestCase.cpp", 64 "../functional/Deqpgles38_units_only_2d_arrayTestCase.cpp", 65 "../functional/Deqpgles38_units_only_3dTestCase.cpp", 66 "../functional/Deqpgles38_units_only_cubeTestCase.cpp", 67 "../functional/Deqpgles3all_units_mixedTestCase.cpp", 68 "../functional/Deqpgles3all_units_only_2dTestCase.cpp", 69 "../functional/Deqpgles3all_units_only_2d_arrayTestCase.cpp", 70 "../functional/Deqpgles3all_units_only_3dTestCase.cpp", 71 "../functional/Deqpgles3all_units_only_cubeTestCase.cpp", 72 "../functional/Deqpgles3astc_block_size_remainderTestCase.cpp", 73 "../functional/Deqpgles3astc_color_component_selectorTestCase.cpp", 74 "../functional/Deqpgles3astc_color_endpoint_modesTestCase.cpp", 75 "../functional/Deqpgles3astc_endpoint_iseTestCase.cpp", 76 "../functional/Deqpgles3astc_endpoint_value_hdr_cem_15TestCase.cpp", 77 "../functional/Deqpgles3astc_endpoint_value_hdr_cem_not_15TestCase.cpp", 78 "../functional/Deqpgles3astc_endpoint_value_ldrTestCase.cpp", 79 "../functional/Deqpgles3astc_partition_pattern_indexTestCase.cpp", 80 "../functional/Deqpgles3astc_randomTestCase.cpp", 81 "../functional/Deqpgles3astc_void_extent_hdrTestCase.cpp", 82 "../functional/Deqpgles3astc_void_extent_ldrTestCase.cpp", 83 "../functional/Deqpgles3astc_weight_gridTestCase.cpp", 84 "../functional/Deqpgles3astc_weight_iseTestCase.cpp", 85 "../functional/Deqpgles3cube_wrapTestCase.cpp", 86 "../functional/Deqpgles3depth_stencil_stencil_depth_funcsTestCase.cpp", 87 "../functional/Deqpgles3depth_stencil_stencil_opsTestCase.cpp", 88 "../functional/Deqpgles3fragment_ops_depthTestCase.cpp", 89 "../functional/Deqpgles3fragment_ops_stencilTestCase.cpp", 90 ] 91 92 include_dirs = [ "../../../src" ] 93 94 deps = [ ":libdeqpgles3func0028" ] 95 96 cflags = [ "-Wno-error" ] 97} 98