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("libdeqpgles31func0025") {
29  subsystem_name = "graphic"
30  part_name = "graphic_2d"
31  sources = common_src
32  sources += [ "../Deqpgles31BaseFunc.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("ActsDeqpgles31TestSuite0025") {
44  subsystem_name = "graphic"
45  part_name = "graphic_2d"
46  sources = [
47    "../ActsDeqpgles310025TestSuite.cpp",
48    "../functional/Deqpgles31buffer_variable_randomTestCase.cpp",
49    "../functional/Deqpgles31compute_named_blockTestCase.cpp",
50    "../functional/Deqpgles31global_state_vertex_fragmentTestCase.cpp",
51    "../functional/Deqpgles31global_state_vertex_geometry_fragmentTestCase.cpp",
52    "../functional/Deqpgles31global_state_vertex_tessellation_fragmentTestCase.cpp",
53    "../functional/Deqpgles31global_state_vertex_tessellation_geometry_fragmentTestCase.cpp",
54    "../functional/Deqpgles31image_image2dTestCase.cpp",
55    "../functional/Deqpgles31image_image3dTestCase.cpp",
56    "../functional/Deqpgles31layout_binding_ssboTestCase.cpp",
57    "../functional/Deqpgles31layout_binding_uboTestCase.cpp",
58    "../functional/Deqpgles31named_block_sizedTestCase.cpp",
59    "../functional/Deqpgles31named_block_unsizedTestCase.cpp",
60    "../functional/Deqpgles31negative_ssboTestCase.cpp",
61    "../functional/Deqpgles31negative_uboTestCase.cpp",
62    "../functional/Deqpgles31primitive_bounding_box_state_queryTestCase.cpp",
63    "../functional/Deqpgles31sampler_sampler2dTestCase.cpp",
64    "../functional/Deqpgles31sampler_sampler3dTestCase.cpp",
65    "../functional/Deqpgles31separable_fragment_named_blockTestCase.cpp",
66    "../functional/Deqpgles31separable_geometry_named_blockTestCase.cpp",
67    "../functional/Deqpgles31separable_tess_ctrl_named_blockTestCase.cpp",
68    "../functional/Deqpgles31separable_tess_eval_named_blockTestCase.cpp",
69    "../functional/Deqpgles31separable_vertex_named_blockTestCase.cpp",
70    "../functional/Deqpgles31shader_storage_block_active_variablesTestCase.cpp",
71    "../functional/Deqpgles31shader_storage_block_buffer_bindingTestCase.cpp",
72    "../functional/Deqpgles31shader_storage_block_buffer_data_sizeTestCase.cpp",
73    "../functional/Deqpgles31shader_storage_block_name_lengthTestCase.cpp",
74    "../functional/Deqpgles31shader_storage_block_resource_listTestCase.cpp",
75    "../functional/Deqpgles31tessellation_set_per_draw_vertex_tessellation_fragmentTestCase.cpp",
76    "../functional/Deqpgles31top_level_array_size_block_arrayTestCase.cpp",
77    "../functional/Deqpgles31top_level_array_size_named_blockTestCase.cpp",
78    "../functional/Deqpgles31top_level_array_size_unnamed_blockTestCase.cpp",
79    "../functional/Deqpgles31top_level_array_stride_block_arrayTestCase.cpp",
80    "../functional/Deqpgles31top_level_array_stride_named_blockTestCase.cpp",
81    "../functional/Deqpgles31top_level_array_stride_unnamed_blockTestCase.cpp",
82    "../functional/Deqpgles31type_basic_typeTestCase.cpp",
83    "../functional/Deqpgles31vertex_fragment_named_blockTestCase.cpp",
84    "../functional/Deqpgles31vertex_fragment_only_fragment_named_blockTestCase.cpp",
85    "../functional/Deqpgles31vertex_fragment_only_vertex_named_blockTestCase.cpp",
86    "../functional/Deqpgles31vertex_geo_fragment_named_blockTestCase.cpp",
87    "../functional/Deqpgles31vertex_geo_fragment_only_fragment_named_blockTestCase.cpp",
88    "../functional/Deqpgles31vertex_geo_fragment_only_geo_named_blockTestCase.cpp",
89    "../functional/Deqpgles31vertex_geo_fragment_only_vertex_named_blockTestCase.cpp",
90    "../functional/Deqpgles31vertex_tess_fragment_named_blockTestCase.cpp",
91    "../functional/Deqpgles31vertex_tess_fragment_only_fragment_named_blockTestCase.cpp",
92    "../functional/Deqpgles31vertex_tess_fragment_only_tess_ctrl_named_blockTestCase.cpp",
93    "../functional/Deqpgles31vertex_tess_fragment_only_tess_eval_named_blockTestCase.cpp",
94    "../functional/Deqpgles31vertex_tess_fragment_only_vertex_named_blockTestCase.cpp",
95    "../functional/Deqpgles31vertex_tess_geo_fragment_named_blockTestCase.cpp",
96    "../functional/Deqpgles31vertex_tess_geo_fragment_only_fragment_named_blockTestCase.cpp",
97    "../functional/Deqpgles31vertex_tess_geo_fragment_only_geo_named_blockTestCase.cpp",
98    "../functional/Deqpgles31vertex_tess_geo_fragment_only_tess_ctrl_named_blockTestCase.cpp",
99    "../functional/Deqpgles31vertex_tess_geo_fragment_only_tess_eval_named_blockTestCase.cpp",
100    "../functional/Deqpgles31vertex_tess_geo_fragment_only_vertex_named_blockTestCase.cpp",
101  ]
102
103  include_dirs = [ "../../../src" ]
104
105  deps = [ ":libdeqpgles31func0025" ]
106
107  cflags = [ "-Wno-error" ]
108}
109