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/tools/build/suite.gni") 15 16common_include = [ 17 ".", 18 "//test/xts/acts/graphic/vkgl/src", 19 "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include", 20 "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src", 21 "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/src", 22 "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/include", 23 "//foundation/graphic/graphic_2d/rosen/modules/render_service_client", 24 "//foundation/graphic/graphic_2d/interfaces/innerkits/vsync_module", 25 "//foundation/graphic/graphic_2d/rosen/include/common", 26 "//foundation/window/window_manager/interfaces/innerkits/wm", 27 "//third_party/vk-gl-cts", 28 "//third_party/vk-gl-cts/framework/delibs/debase", 29 "//third_party/vk-gl-cts/framework/delibs/decpp", 30 "//third_party/vk-gl-cts/framework/delibs/depool", 31 "//third_party/vk-gl-cts/framework/delibs/dethread", 32 "//third_party/vk-gl-cts/framework/delibs/deutil", 33 "//third_party/vk-gl-cts/framework/delibs/destream", 34 "//third_party/vk-gl-cts/framework/common", 35 "//third_party/vk-gl-cts/framework/qphelper", 36 "//third_party/vk-gl-cts/framework/xexml", 37 "//third_party/vk-gl-cts/framework/egl", 38 "//third_party/vk-gl-cts/framework/egl/wrapper", 39 "//third_party/vk-gl-cts/framework/opengl", 40 "//third_party/vk-gl-cts/framework/opengl/wrapper", 41 "//third_party/vk-gl-cts/framework/opengl/simplereference", 42 "//third_party/vk-gl-cts/framework/platform/ohos", 43 "//third_party/libpng", 44 "//third_party/vk-gl-cts/external/openglcts/modules", 45 "//third_party/vk-gl-cts/external/openglcts/modules/common", 46 "//third_party/vk-gl-cts/external/openglcts/modules/gl", 47 "//third_party/vk-gl-cts/external/openglcts/modules/gles2", 48 "//third_party/vk-gl-cts/external/openglcts/modules/gles3", 49 "//third_party/vk-gl-cts/external/openglcts/modules/gles31", 50 "//third_party/vk-gl-cts/external/openglcts/modules/gles32", 51 "//third_party/vk-gl-cts/external/openglcts/modules/glesext", 52 "//third_party/vk-gl-cts/external/openglcts/modules/runner", 53 "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan", 54 "//third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan", 55 "//third_party/vk-gl-cts/framework/referencerenderer", 56 "//third_party/vk-gl-cts/modules/glshared", 57 "//third_party/vk-gl-cts/framework/platform/ohos/rosen_context", 58] 59 60common_depends_gles2 = [ 61 "//third_party/zlib:libz", 62 "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 63 "//third_party/vk-gl-cts/framework/delibs/decpp:libdeqp_decpp", 64 "//third_party/vk-gl-cts/framework/delibs/debase:libdeqp_debase", 65 "//third_party/vk-gl-cts/framework/delibs/deutil:libdeqp_deutil", 66 "//third_party/vk-gl-cts/framework/qphelper:libdeqp_qphelper", 67 "//third_party/vk-gl-cts/framework/delibs/dethread:libdeqp_dethread", 68 "//third_party/vk-gl-cts/framework/xexml:libdeqp_xexml", 69 "//third_party/vk-gl-cts/framework/egl:libdeqp_eglutil", 70 "//third_party/vk-gl-cts/framework/egl/wrapper:libdeqp_eglwrapper", 71 "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil", 72 "//third_party/vk-gl-cts/framework/opengl/wrapper:libdeqp_glwrapper", 73 "//third_party/vk-gl-cts/framework/opengl/simplereference:libdeqp_glutil-sglr", 74 "//third_party/vk-gl-cts/modules/egl:libdeqp-egl", 75 "//third_party/vk-gl-cts/modules/gles2:libdeqp-gles2", 76 "//third_party/vk-gl-cts/modules/gles3:libdeqp-gles3", 77 "//third_party/vk-gl-cts/modules/glshared:libdeqp-gl-shared", 78 "//third_party/vk-gl-cts/external/openglcts/modules:libdeqp_glcts", 79 80 "//third_party/vk-gl-cts/framework/platform/ohos/rosen_context:rosen_context", 81] 82 83common_depends_gles3 = [ 84 "//third_party/zlib:libz", 85 "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 86 "//third_party/vk-gl-cts/framework/delibs/decpp:libdeqp_decpp", 87 "//third_party/vk-gl-cts/framework/delibs/debase:libdeqp_debase", 88 "//third_party/vk-gl-cts/framework/delibs/deutil:libdeqp_deutil", 89 "//third_party/vk-gl-cts/framework/qphelper:libdeqp_qphelper", 90 "//third_party/vk-gl-cts/framework/delibs/dethread:libdeqp_dethread", 91 "//third_party/vk-gl-cts/framework/xexml:libdeqp_xexml", 92 "//third_party/vk-gl-cts/framework/egl:libdeqp_eglutil", 93 "//third_party/vk-gl-cts/framework/egl/wrapper:libdeqp_eglwrapper", 94 "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil", 95 "//third_party/vk-gl-cts/framework/opengl/wrapper:libdeqp_glwrapper", 96 "//third_party/vk-gl-cts/framework/opengl/simplereference:libdeqp_glutil-sglr", 97 "//third_party/vk-gl-cts/modules/egl:libdeqp-egl", 98 "//third_party/vk-gl-cts/modules/gles3:libdeqp-gles3", 99 "//third_party/vk-gl-cts/modules/glshared:libdeqp-gl-shared", 100 "//third_party/vk-gl-cts/external/openglcts/modules:libdeqp_glcts", 101 102 "//third_party/vk-gl-cts/framework/platform/ohos/rosen_context:rosen_context", 103] 104 105common_depends_gles31 = [ 106 "//third_party/zlib:libz", 107 "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 108 "//third_party/vk-gl-cts/framework/delibs/decpp:libdeqp_decpp", 109 "//third_party/vk-gl-cts/framework/delibs/debase:libdeqp_debase", 110 "//third_party/vk-gl-cts/framework/delibs/deutil:libdeqp_deutil", 111 "//third_party/vk-gl-cts/framework/qphelper:libdeqp_qphelper", 112 "//third_party/vk-gl-cts/framework/delibs/dethread:libdeqp_dethread", 113 "//third_party/vk-gl-cts/framework/xexml:libdeqp_xexml", 114 "//third_party/vk-gl-cts/framework/egl:libdeqp_eglutil", 115 "//third_party/vk-gl-cts/framework/egl/wrapper:libdeqp_eglwrapper", 116 "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil", 117 "//third_party/vk-gl-cts/framework/opengl/wrapper:libdeqp_glwrapper", 118 "//third_party/vk-gl-cts/framework/opengl/simplereference:libdeqp_glutil-sglr", 119 "//third_party/vk-gl-cts/modules/egl:libdeqp-egl", 120 "//third_party/vk-gl-cts/modules/gles31:libdeqp-gles31", 121 "//third_party/vk-gl-cts/modules/glshared:libdeqp-gl-shared", 122 "//third_party/vk-gl-cts/external/openglcts/modules:libdeqp_glcts", 123 124 "//third_party/vk-gl-cts/framework/platform/ohos/rosen_context:rosen_context", 125] 126 127common_depends_glesext = [ 128 "//third_party/zlib:libz", 129 "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 130 "//third_party/vk-gl-cts/framework/delibs/decpp:libdeqp_decpp", 131 "//third_party/vk-gl-cts/framework/delibs/debase:libdeqp_debase", 132 "//third_party/vk-gl-cts/framework/delibs/deutil:libdeqp_deutil", 133 "//third_party/vk-gl-cts/framework/qphelper:libdeqp_qphelper", 134 "//third_party/vk-gl-cts/framework/delibs/dethread:libdeqp_dethread", 135 "//third_party/vk-gl-cts/framework/xexml:libdeqp_xexml", 136 "//third_party/vk-gl-cts/framework/egl:libdeqp_eglutil", 137 "//third_party/vk-gl-cts/framework/egl/wrapper:libdeqp_eglwrapper", 138 "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil", 139 "//third_party/vk-gl-cts/framework/opengl/wrapper:libdeqp_glwrapper", 140 "//third_party/vk-gl-cts/framework/opengl/simplereference:libdeqp_glutil-sglr", 141 "//third_party/vk-gl-cts/modules/egl:libdeqp-egl", 142 "//third_party/vk-gl-cts/modules/glshared:libdeqp-gl-shared", 143 "//third_party/vk-gl-cts/external/openglcts/modules:libdeqp_glcts", 144 145 "//third_party/vk-gl-cts/framework/platform/ohos/rosen_context:rosen_context", 146] 147 148common_depends_egl = [ 149 "//third_party/zlib:libz", 150 "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 151 "//third_party/vk-gl-cts/framework/delibs/decpp:libdeqp_decpp", 152 "//third_party/vk-gl-cts/framework/delibs/debase:libdeqp_debase", 153 "//third_party/vk-gl-cts/framework/delibs/deutil:libdeqp_deutil", 154 "//third_party/vk-gl-cts/framework/qphelper:libdeqp_qphelper", 155 "//third_party/vk-gl-cts/framework/delibs/dethread:libdeqp_dethread", 156 "//third_party/vk-gl-cts/framework/xexml:libdeqp_xexml", 157 "//third_party/vk-gl-cts/framework/egl:libdeqp_eglutil", 158 "//third_party/vk-gl-cts/framework/egl/wrapper:libdeqp_eglwrapper", 159 "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil", 160 "//third_party/vk-gl-cts/framework/opengl/wrapper:libdeqp_glwrapper", 161 "//third_party/vk-gl-cts/framework/opengl/simplereference:libdeqp_glutil-sglr", 162 "//third_party/vk-gl-cts/modules/egl:libdeqp-egl", 163 "//third_party/vk-gl-cts/modules/glshared:libdeqp-gl-shared", 164 "//third_party/vk-gl-cts/external/openglcts/modules:libdeqp_glcts", 165 "//third_party/vk-gl-cts/framework/platform/ohos/rosen_context:rosen_context", 166 "//third_party/vk-gl-cts/framework/referencerenderer:libdeqp_referencerenderer", 167 "//third_party/vk-gl-cts/framework/delibs/depool:libdeqp_depool", 168 169 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:libdeqp_vk_package", 170 "//third_party/vk-gl-cts/framework/platform:libdeqp_ohos_platform", 171 172 "//third_party/glslang/OGLCompilersDLL:libdeqp_OGLCompiler", 173 "//third_party/glslang/SPIRV:libdeqp_spirv", 174 "//third_party/glslang/SPIRV:libdeqp_spvremapper", 175 "//third_party/glslang/glslang:libdeqp_GenericCodeGen", 176 "//third_party/glslang/glslang:libdeqp_MachineIndependent", 177 "//third_party/glslang/glslang:libdeqp_OSDependent", 178 "//third_party/glslang/glslang:libdeqp_glslang", 179 "//third_party/libpng:libpng", 180 "//third_party/spirv-tools:libdeqp_spirvtools", 181 "//third_party/spirv-tools/source/opt:libdeqp_spirvtools-opt", 182 "//third_party/vk-gl-cts/external/amber/src/src:libdeqp_amber", 183 "//third_party/vk-gl-cts/external/amber/src/src/vulkan:libdeqp_amberenginevulkan", 184 "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan:libdeqp_vkutil", 185 "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan:libdeqp_vkutilnoshader", 186 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber:libdeqp_vk_amber", 187 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api:libdeqp_vk_api", 188 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model:libdeqp_vk_binding_model", 189 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping:libdeqp_vk_clipping", 190 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute:libdeqp_vk_compute", 191 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering:libdeqp_vk_conditional_rendering", 192 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing:libdeqp_vk_descriptor_indexing", 193 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group:libdeqp_vk_device_group", 194 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw:libdeqp_vk_draw", 195 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state:libdeqp_vk_dynamic_state", 196 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops:libdeqp_vk_fragment_ops", 197 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock:libdeqp_vk_fragment_shader_interlock", 198 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate:libdeqp_vk_fragment_shading_rate", 199 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry:libdeqp_vk_geometry", 200 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image:libdeqp_vk_image", 201 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer:libdeqp_vk_imageless_framebuffer", 202 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory:libdeqp_vk_memory", 203 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model:libdeqp_vk_memory_model", 204 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader:libdeqp_vk_mesh_shader", 205 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers:libdeqp_vk_modifiers", 206 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview:libdeqp_vk_multiview", 207 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline:libdeqp_vk_pipeline", 208 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem:libdeqp_vk_postmortem", 209 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory:libdeqp_vk_protected_memory", 210 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool:libdeqp_vk_query_pool", 211 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization:libdeqp_vk_rasterization", 212 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query:libdeqp_vk_ray_query", 213 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing:libdeqp_vk_ray_tracing", 214 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence:libdeqp_vk_reconvergence", 215 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass:libdeqp_vk_renderpass", 216 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness:libdeqp_vk_robustness", 217 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor:libdeqp_vk_shaderexecutor", 218 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender:libdeqp_vk_shaderrender", 219 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources:libdeqp_vk_sparse_resources", 220 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly:libdeqp_vk_spirv_assembly", 221 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo:libdeqp_vk_ssbo", 222 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups:libdeqp_vk_subgroups", 223 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization:libdeqp_vk_synchronization", 224 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation:libdeqp_vk_tessellation", 225 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture:libdeqp_vk_texture", 226 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback:libdeqp_vk_transform_feedback", 227 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo:libdeqp_vk_ubo", 228 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util:libdeqp_vk_util", 229 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi:libdeqp_vk_wsi", 230 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr:libdeqp_vk_ycbcr", 231 232 "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:libdeqp_vk_package", 233 "//third_party/vk-gl-cts/framework/platform:libdeqp_ohos_platform", 234] 235 236common_src = [ 237 "//third_party/vk-gl-cts/framework/platform/ohos/context/tcuOhosNativeContext.cpp", 238 "//third_party/vk-gl-cts/framework/platform/ohos/context/tcuOhosEglContextFactory.cpp", 239 240 "//third_party/vk-gl-cts/framework/platform/ohos/display/tcuOhosNativeDisplay.cpp", 241 "//third_party/vk-gl-cts/framework/platform/ohos/display/tcuOhosEglDisplayFactory.cpp", 242 243 "//third_party/vk-gl-cts/framework/platform/ohos/display/window/tcuOhosNativeWindow.cpp", 244 "//third_party/vk-gl-cts/framework/platform/ohos/display/window/tcuOhosWindowFactory.cpp", 245 "//third_party/vk-gl-cts/framework/platform/ohos/display/pixmap/tcuOhosNativePixmap.cpp", 246 "//third_party/vk-gl-cts/framework/platform/ohos/display/pixmap/tcuOhosPixmapFactory.cpp", 247 248 "//third_party/vk-gl-cts/framework/platform/ohos/tcuOhosPlatform.cpp", 249 "logdefine.cpp", 250 "../../ActsApp.cpp", 251] 252 253import("//foundation/graphic/graphic_2d/graphic_config.gni") 254import("//third_party/vk-gl-cts/vk_gl_cts.gni") 255