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 # defines -=["DE_PTR_SIZE=8"] 28 # defines += [ 29 # "DE_PTR_SIZE=4", 30 # "_XOPEN_SOURCE=600" 31 # ] 32} 33 34ohos_static_library("libeglfunc0001") { 35 subsystem_name = "xts" 36 part_name = "acts" 37 sources = [ 38 "../EglBaseFunc.cpp", 39 "logdefine.cpp", 40 ] 41 42 include_dirs = common_include 43 include_dirs += [ 44 "//third_party/vk-gl-cts/framework/opengl", 45 "//third_party/vk-gl-cts/framework/opengl/wrapper", 46 "//third_party/vk-gl-cts/framework/opengl/simplereference", 47 "//third_party/vk-gl-cts/framework/randomshaders", 48 "//third_party/vk-gl-cts/framework/common", 49 "//third_party/vk-gl-cts/framework/xexml", 50 "//third_party/vk-gl-cts/framework/qphelper", 51 "//third_party/vk-gl-cts/framework/egl", 52 "//third_party/vk-gl-cts/framework/egl/wrapper", 53 "//third_party/vk-gl-cts/framework/referencerenderer", 54 "//third_party/vk-gl-cts/framework/delibs/decpp", 55 "//third_party/vk-gl-cts/framework/delibs/debase", 56 "//third_party/vk-gl-cts/framework/delibs/deutil", 57 "//third_party/vk-gl-cts/framework/delibs/dethread", 58 "//third_party/vk-gl-cts/framework/delibs/depool", 59 "//third_party/vk-gl-cts/framework/delibs/deimage", 60 "//third_party/vk-gl-cts/framework/delibs/destream", 61 62 "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan", 63 "//third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan", 64 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan", 65 66 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api", 67 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline", 68 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model", 69 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly", 70 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender", 71 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor", 72 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory", 73 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo", 74 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state", 75 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo", 76 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool", 77 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering", 78 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw", 79 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group", 80 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute", 81 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image", 82 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi", 83 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources", 84 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation", 85 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization", 86 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization", 87 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping", 88 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops", 89 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture", 90 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry", 91 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness", 92 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass", 93 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview", 94 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups", 95 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr", 96 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory", 97 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model", 98 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback", 99 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util", 100 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber", 101 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer", 102 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing", 103 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock", 104 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate", 105 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers", 106 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing", 107 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query", 108 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem", 109 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence", 110 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader", 111 "//third_party/zlib", 112 "//third_party/spirv-headers/include", 113 "//third_party/libpng", 114 "//third_party/vk-gl-cts/external/amber", 115 "//third_party/vk-gl-cts/build/include", 116 "//third_party/glslang", 117 "//third_party/spirv-tools/include", 118 "//third_party/vk-gl-cts/external/amber/src/include", 119 120 "//third_party/vk-gl-cts/framework/platform/ohos", 121 ] 122 123 deps = common_depends_egl 124 125 configs = [ ":deqp_platform_ohos_config" ] 126} 127 128ohos_moduletest_suite("ActsEglTestSuite0001") { 129 subsystem_name = "xts" 130 part_name = "acts" 131 132 sources = [ 133 "../ActsEgl0001TestSuite.cpp", 134 "../functional/Egl_buffer_ageTestCase.cpp", 135 "../functional/Egl_choose_configTestCase.cpp", 136 "../functional/Egl_client_extensionsTestCase.cpp", 137 "../functional/Egl_color_clearsTestCase.cpp", 138 "../functional/Egl_create_contextTestCase.cpp", 139 "../functional/Egl_create_context_extTestCase.cpp", 140 "../functional/Egl_create_surfaceTestCase.cpp", 141 "../functional/Egl_fence_syncTestCase.cpp", 142 "../functional/Egl_get_frame_timestampsTestCase.cpp", 143 "../functional/Egl_get_proc_addressTestCase.cpp", 144 "../functional/Egl_hdr_metadataTestCase.cpp", 145 "../functional/Egl_imageTestCase.cpp", 146 "../functional/Egl_multicontextTestCase.cpp", 147 "../functional/Egl_multithreadTestCase.cpp", 148 "../functional/Egl_mutable_render_bufferTestCase.cpp", 149 "../functional/Egl_native_color_mappingTestCase.cpp", 150 "../functional/Egl_native_coord_mappingTestCase.cpp", 151 "../functional/Egl_negative_apiTestCase.cpp", 152 "../functional/Egl_negative_partial_updateTestCase.cpp", 153 "../functional/Egl_partial_updateTestCase.cpp", 154 "../functional/Egl_preserve_swapTestCase.cpp", 155 "../functional/Egl_query_configTestCase.cpp", 156 "../functional/Egl_query_contextTestCase.cpp", 157 "../functional/Egl_query_surfaceTestCase.cpp", 158 "../functional/Egl_renderTestCase.cpp", 159 "../functional/Egl_resizeTestCase.cpp", 160 "../functional/Egl_reusable_syncTestCase.cpp", 161 "../functional/Egl_robustnessTestCase.cpp", 162 "../functional/Egl_sharingTestCase.cpp", 163 "../functional/Egl_sharingTestCase1.cpp", 164 "../functional/Egl_surfaceless_contextTestCase.cpp", 165 "../functional/Egl_swap_buffersTestCase.cpp", 166 "../functional/Egl_swap_buffers_with_damageTestCase.cpp", 167 "../functional/Egl_thread_cleanupTestCase.cpp", 168 "../functional/Egl_wide_colorTestCase.cpp", 169 "../info/Egl_client_apisTestCase.cpp", 170 "../info/Egl_configsTestCase.cpp", 171 "../info/Egl_extensionsTestCase.cpp", 172 "../info/Egl_vendorTestCase.cpp", 173 "../info/Egl_versionTestCase.cpp", 174 "../performance/Egl_gles2_shared_renderTestCase.cpp", 175 "../performance/Egl_make_currentTestCase.cpp", 176 ] 177 178 include_dirs = common_include 179 include_dirs += [ 180 "../../../src", 181 "//third_party/vk-gl-cts/framework/opengl", 182 "//third_party/vk-gl-cts/framework/opengl/wrapper", 183 "//third_party/vk-gl-cts/framework/opengl/simplereference", 184 "//third_party/vk-gl-cts/framework/randomshaders", 185 "//third_party/vk-gl-cts/framework/common", 186 "//third_party/vk-gl-cts/framework/xexml", 187 "//third_party/vk-gl-cts/framework/qphelper", 188 "//third_party/vk-gl-cts/framework/egl", 189 "//third_party/vk-gl-cts/framework/egl/wrapper", 190 "//third_party/vk-gl-cts/framework/referencerenderer", 191 "//third_party/vk-gl-cts/framework/delibs/decpp", 192 "//third_party/vk-gl-cts/framework/delibs/debase", 193 "//third_party/vk-gl-cts/framework/delibs/deutil", 194 "//third_party/vk-gl-cts/framework/delibs/dethread", 195 "//third_party/vk-gl-cts/framework/delibs/depool", 196 "//third_party/vk-gl-cts/framework/delibs/deimage", 197 "//third_party/vk-gl-cts/framework/delibs/destream", 198 199 "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan", 200 "//third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan", 201 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan", 202 203 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api", 204 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline", 205 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model", 206 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly", 207 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender", 208 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor", 209 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory", 210 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo", 211 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state", 212 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo", 213 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool", 214 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering", 215 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw", 216 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group", 217 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute", 218 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image", 219 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi", 220 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources", 221 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation", 222 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization", 223 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization", 224 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping", 225 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops", 226 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture", 227 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry", 228 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness", 229 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass", 230 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview", 231 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups", 232 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr", 233 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory", 234 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model", 235 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback", 236 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util", 237 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber", 238 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer", 239 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing", 240 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock", 241 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate", 242 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers", 243 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing", 244 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query", 245 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem", 246 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence", 247 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader", 248 "//third_party/zlib", 249 "//third_party/spirv-headers/include", 250 "//third_party/libpng", 251 "//third_party/vk-gl-cts/external/amber", 252 "//third_party/vk-gl-cts/build/include", 253 "//third_party/glslang", 254 "//third_party/spirv-tools/include", 255 "//third_party/vk-gl-cts/external/amber/src/include", 256 257 "//third_party/vk-gl-cts/framework/platform/ohos", 258 ] 259 260 deps = [ ":libeglfunc0001" ] 261 262 cflags = [ "-Wno-error" ] 263} 264