• 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/acts/graphic/vulkan/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("libimagefunc0005") {
35  subsystem_name = "xts"
36  part_name = "acts"
37  sources = [
38    "../ImageBaseFunc.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
124  external_deps = common_externl_deps
125  deps += [
126    "//third_party/glslang/OGLCompilersDLL:libdeqp_OGLCompiler",
127    "//third_party/glslang/SPIRV:libdeqp_spirv",
128    "//third_party/glslang/SPIRV:libdeqp_spvremapper",
129    "//third_party/glslang/glslang:libdeqp_GenericCodeGen",
130    "//third_party/glslang/glslang:libdeqp_MachineIndependent",
131    "//third_party/glslang/glslang:libdeqp_OSDependent",
132    "//third_party/glslang/glslang:libdeqp_glslang",
133    "//third_party/libpng:libpng",
134    "//third_party/spirv-tools:libdeqp_spirvtools",
135    "//third_party/spirv-tools/source/opt:libdeqp_spirvtools-opt",
136    "//third_party/vk-gl-cts/external/amber/src/src:libdeqp_amber",
137    "//third_party/vk-gl-cts/external/amber/src/src/vulkan:libdeqp_amberenginevulkan",
138    "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan:libdeqp_vkutil",
139    "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan:libdeqp_vkutilnoshader",
140    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber:libdeqp_vk_amber",
141    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api:libdeqp_vk_api",
142    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model:libdeqp_vk_binding_model",
143    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping:libdeqp_vk_clipping",
144    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute:libdeqp_vk_compute",
145    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering:libdeqp_vk_conditional_rendering",
146    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing:libdeqp_vk_descriptor_indexing",
147    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group:libdeqp_vk_device_group",
148    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw:libdeqp_vk_draw",
149    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state:libdeqp_vk_dynamic_state",
150    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops:libdeqp_vk_fragment_ops",
151    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock:libdeqp_vk_fragment_shader_interlock",
152    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate:libdeqp_vk_fragment_shading_rate",
153    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry:libdeqp_vk_geometry",
154    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image:libdeqp_vk_image",
155    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer:libdeqp_vk_imageless_framebuffer",
156    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory:libdeqp_vk_memory",
157    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model:libdeqp_vk_memory_model",
158    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader:libdeqp_vk_mesh_shader",
159    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers:libdeqp_vk_modifiers",
160    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview:libdeqp_vk_multiview",
161    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline:libdeqp_vk_pipeline",
162    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem:libdeqp_vk_postmortem",
163    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory:libdeqp_vk_protected_memory",
164    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool:libdeqp_vk_query_pool",
165    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization:libdeqp_vk_rasterization",
166    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query:libdeqp_vk_ray_query",
167    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing:libdeqp_vk_ray_tracing",
168    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence:libdeqp_vk_reconvergence",
169    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass:libdeqp_vk_renderpass",
170    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness:libdeqp_vk_robustness",
171    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor:libdeqp_vk_shaderexecutor",
172    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender:libdeqp_vk_shaderrender",
173    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources:libdeqp_vk_sparse_resources",
174    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly:libdeqp_vk_spirv_assembly",
175    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo:libdeqp_vk_ssbo",
176    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups:libdeqp_vk_subgroups",
177    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization:libdeqp_vk_synchronization",
178    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation:libdeqp_vk_tessellation",
179    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture:libdeqp_vk_texture",
180    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback:libdeqp_vk_transform_feedback",
181    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo:libdeqp_vk_ubo",
182    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util:libdeqp_vk_util",
183    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi:libdeqp_vk_wsi",
184    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr:libdeqp_vk_ycbcr",
185    "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil",
186    "//third_party/vk-gl-cts/framework/delibs/debase:libdeqp_debase",
187    "//third_party/vk-gl-cts/framework/delibs/decpp:libdeqp_decpp",
188    "//third_party/vk-gl-cts/framework/delibs/depool:libdeqp_depool",
189    "//third_party/vk-gl-cts/framework/delibs/dethread:libdeqp_dethread",
190    "//third_party/vk-gl-cts/framework/delibs/deutil:libdeqp_deutil",
191    "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil",
192    "//third_party/vk-gl-cts/framework/opengl/wrapper:libdeqp_glwrapper",
193    "//third_party/vk-gl-cts/framework/qphelper:libdeqp_qphelper",
194    "//third_party/vk-gl-cts/framework/referencerenderer:libdeqp_referencerenderer",
195    "//third_party/vk-gl-cts/framework/xexml:libdeqp_xexml",
196    "//third_party/zlib:libz",
197  ]
198  deps += [
199    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:libdeqp_vk_package",
200    "//third_party/vk-gl-cts/framework/platform:libdeqp_ohos_platform",
201  ]
202
203  configs = [ ":deqp_platform_ohos_config" ]
204}
205
206ohos_moduletest_suite("ActsImageTestSuite0005") {
207  subsystem_name = "xts"
208  part_name = "acts"
209
210  sources = [
211    "../ActsImage0005TestSuite.cpp",
212    "../image/Image_mutable0004TestCase.cpp",
213  ]
214
215  include_dirs = common_include
216  include_dirs += [
217    "../../../src",
218    "//third_party/vk-gl-cts/framework/opengl",
219    "//third_party/vk-gl-cts/framework/opengl/wrapper",
220    "//third_party/vk-gl-cts/framework/opengl/simplereference",
221    "//third_party/vk-gl-cts/framework/randomshaders",
222    "//third_party/vk-gl-cts/framework/common",
223    "//third_party/vk-gl-cts/framework/xexml",
224    "//third_party/vk-gl-cts/framework/qphelper",
225    "//third_party/vk-gl-cts/framework/egl",
226    "//third_party/vk-gl-cts/framework/egl/wrapper",
227    "//third_party/vk-gl-cts/framework/referencerenderer",
228    "//third_party/vk-gl-cts/framework/delibs/decpp",
229    "//third_party/vk-gl-cts/framework/delibs/debase",
230    "//third_party/vk-gl-cts/framework/delibs/deutil",
231    "//third_party/vk-gl-cts/framework/delibs/dethread",
232    "//third_party/vk-gl-cts/framework/delibs/depool",
233    "//third_party/vk-gl-cts/framework/delibs/deimage",
234    "//third_party/vk-gl-cts/framework/delibs/destream",
235
236    "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan",
237    "//third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan",
238    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan",
239
240    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api",
241    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline",
242    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model",
243    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly",
244    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender",
245    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor",
246    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory",
247    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo",
248    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state",
249    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo",
250    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool",
251    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering",
252    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw",
253    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group",
254    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute",
255    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image",
256    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi",
257    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources",
258    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation",
259    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization",
260    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization",
261    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping",
262    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops",
263    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture",
264    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry",
265    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness",
266    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass",
267    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview",
268    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups",
269    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr",
270    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory",
271    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model",
272    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback",
273    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util",
274    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber",
275    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/imageless_framebuffer",
276    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing",
277    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock",
278    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate",
279    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers",
280    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing",
281    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query",
282    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem",
283    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence",
284    "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader",
285    "//third_party/zlib",
286    "//third_party/spirv-headers/include",
287    "//third_party/libpng",
288    "//third_party/vk-gl-cts/external/amber",
289    "//third_party/vk-gl-cts/build/include",
290    "//third_party/glslang",
291    "//third_party/spirv-tools/include",
292    "//third_party/vk-gl-cts/external/amber/src/include",
293
294    "//third_party/vk-gl-cts/framework/platform/ohos",
295  ]
296
297  deps = [ ":libimagefunc0005" ]
298
299  cflags = [ "-Wno-error" ]
300}
301