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