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("libkhrgles31func0004") { 29 subsystem_name = "graphic" 30 part_name = "graphic_2d" 31 sources = common_src 32 sources += [ "../Khrgles31BaseFunc.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("ActsKhrgles31TestSuite0004") { 44 subsystem_name = "graphic" 45 part_name = "graphic_2d" 46 sources = [ 47 "../ActsKhrgles310004TestSuite.cpp", 48 "../core/Khrgles31teximage3d_r11g11b10fTestCase.cpp", 49 "../core/Khrgles31teximage3d_r16fTestCase.cpp", 50 "../core/Khrgles31teximage3d_r16iTestCase.cpp", 51 "../core/Khrgles31teximage3d_r16uiTestCase.cpp", 52 "../core/Khrgles31teximage3d_r32fTestCase.cpp", 53 "../core/Khrgles31teximage3d_r32iTestCase.cpp", 54 "../core/Khrgles31teximage3d_r32uiTestCase.cpp", 55 "../core/Khrgles31teximage3d_r8iTestCase.cpp", 56 "../core/Khrgles31teximage3d_r8snormTestCase.cpp", 57 "../core/Khrgles31teximage3d_r8uiTestCase.cpp", 58 "../core/Khrgles31teximage3d_rg16fTestCase.cpp", 59 "../core/Khrgles31teximage3d_rg16iTestCase.cpp", 60 "../core/Khrgles31teximage3d_rg16uiTestCase.cpp", 61 "../core/Khrgles31teximage3d_rg32fTestCase.cpp", 62 "../core/Khrgles31teximage3d_rg32iTestCase.cpp", 63 "../core/Khrgles31teximage3d_rg32uiTestCase.cpp", 64 "../core/Khrgles31teximage3d_rg8TestCase.cpp", 65 "../core/Khrgles31teximage3d_rg8iTestCase.cpp", 66 "../core/Khrgles31teximage3d_rg8snormTestCase.cpp", 67 "../core/Khrgles31teximage3d_rg8uiTestCase.cpp", 68 "../core/Khrgles31teximage3d_rgb10a2TestCase.cpp", 69 "../core/Khrgles31teximage3d_rgb10a2uiTestCase.cpp", 70 "../core/Khrgles31teximage3d_rgb16fTestCase.cpp", 71 "../core/Khrgles31teximage3d_rgb16iTestCase.cpp", 72 "../core/Khrgles31teximage3d_rgb16uiTestCase.cpp", 73 "../core/Khrgles31teximage3d_rgb32fTestCase.cpp", 74 "../core/Khrgles31teximage3d_rgb32iTestCase.cpp", 75 "../core/Khrgles31teximage3d_rgb32uiTestCase.cpp", 76 "../core/Khrgles31teximage3d_rgb565TestCase.cpp", 77 "../core/Khrgles31teximage3d_rgb5a1TestCase.cpp", 78 "../core/Khrgles31teximage3d_rgb8TestCase.cpp", 79 "../core/Khrgles31teximage3d_rgb8iTestCase.cpp", 80 "../core/Khrgles31teximage3d_rgb8snormTestCase.cpp", 81 "../core/Khrgles31teximage3d_rgb8uiTestCase.cpp", 82 "../core/Khrgles31teximage3d_rgba16fTestCase.cpp", 83 "../core/Khrgles31teximage3d_rgba16iTestCase.cpp", 84 "../core/Khrgles31teximage3d_rgba16uiTestCase.cpp", 85 "../core/Khrgles31teximage3d_rgba32fTestCase.cpp", 86 "../core/Khrgles31teximage3d_rgba32iTestCase.cpp", 87 "../core/Khrgles31teximage3d_rgba32uiTestCase.cpp", 88 "../core/Khrgles31teximage3d_rgba4TestCase.cpp", 89 "../core/Khrgles31teximage3d_rgba8TestCase.cpp", 90 "../core/Khrgles31teximage3d_rgba8iTestCase.cpp", 91 "../core/Khrgles31teximage3d_rgba8snormTestCase.cpp", 92 "../core/Khrgles31teximage3d_rgba8uiTestCase.cpp", 93 "../shaders/Khrgles31shaders_aggressive_optimizationsTestCase.cpp", 94 "../shaders/Khrgles31shaders_layout_locationTestCase.cpp", 95 "../shaders/Khrgles31shaders_negativeTestCase.cpp", 96 ] 97 98 include_dirs = [ "../../../src" ] 99 100 deps = [ ":libkhrgles31func0004" ] 101 102 cflags = [ "-Wno-error" ] 103} 104