1f6603c60Sopenharmony_ci# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
2f6603c60Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3f6603c60Sopenharmony_ci# you may not use this file except in compliance with the License.
4f6603c60Sopenharmony_ci# You may obtain a copy of the License at
5f6603c60Sopenharmony_ci#
6f6603c60Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7f6603c60Sopenharmony_ci#
8f6603c60Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9f6603c60Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10f6603c60Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11f6603c60Sopenharmony_ci# See the License for the specific language governing permissions and
12f6603c60Sopenharmony_ci# limitations under the License.
13f6603c60Sopenharmony_ci
14f6603c60Sopenharmony_ciimport("//test/xts/acts/graphic/vkgl/comm.gni")
15f6603c60Sopenharmony_ci
16f6603c60Sopenharmony_ciconfig("deqp_platform_ohos_config") {
17f6603c60Sopenharmony_ci  cflags_cc = deqp_common_cflags_cc
18f6603c60Sopenharmony_ci
19f6603c60Sopenharmony_ci  cflags_cc += [
20f6603c60Sopenharmony_ci    # "-Wno-conversion",
21f6603c60Sopenharmony_ci    # "-Wno-unused-function",
22f6603c60Sopenharmony_ci    "-Wno-unused-parameter",
23f6603c60Sopenharmony_ci  ]
24f6603c60Sopenharmony_ci
25f6603c60Sopenharmony_ci  defines = deqp_common_defines
26f6603c60Sopenharmony_ci}
27f6603c60Sopenharmony_ci
28f6603c60Sopenharmony_ciohos_static_library("libdeqpgles31func0015") {
29f6603c60Sopenharmony_ci  subsystem_name = "graphic"
30f6603c60Sopenharmony_ci  part_name = "graphic_2d"
31f6603c60Sopenharmony_ci  sources = common_src
32f6603c60Sopenharmony_ci  sources += [ "../Deqpgles31BaseFunc.cpp" ]
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_ci  include_dirs = common_include
35f6603c60Sopenharmony_ci  deps = common_depends_gles31
36f6603c60Sopenharmony_ci  external_deps = [
37f6603c60Sopenharmony_ci    "hilog:libhilog",
38f6603c60Sopenharmony_ci    "image_framework:image_native",
39f6603c60Sopenharmony_ci  ]
40f6603c60Sopenharmony_ci  configs = [ ":deqp_platform_ohos_config" ]
41f6603c60Sopenharmony_ci}
42f6603c60Sopenharmony_ci
43f6603c60Sopenharmony_ciohos_moduletest_suite("ActsDeqpgles31TestSuite0015") {
44f6603c60Sopenharmony_ci  subsystem_name = "graphic"
45f6603c60Sopenharmony_ci  part_name = "graphic_2d"
46f6603c60Sopenharmony_ci  sources = [
47f6603c60Sopenharmony_ci    "../ActsDeqpgles310015TestSuite.cpp",
48f6603c60Sopenharmony_ci    "../functional/Deqpgles31border_clamp_range_clampTestCase.cpp",
49f6603c60Sopenharmony_ci    "../functional/Deqpgles31border_clamp_samplerTestCase.cpp",
50f6603c60Sopenharmony_ci    "../functional/Deqpgles31border_clamp_unused_channelsTestCase.cpp",
51f6603c60Sopenharmony_ci    "../functional/Deqpgles31compressed_color_gatherTestCase.cpp",
52f6603c60Sopenharmony_ci    "../functional/Deqpgles31compressed_color_linearTestCase.cpp",
53f6603c60Sopenharmony_ci    "../functional/Deqpgles31compressed_color_nearestTestCase.cpp",
54f6603c60Sopenharmony_ci    "../functional/Deqpgles31depth_compare_mode_depth24_stencil8TestCase.cpp",
55f6603c60Sopenharmony_ci    "../functional/Deqpgles31depth_compare_mode_depth32f_stencil8TestCase.cpp",
56f6603c60Sopenharmony_ci    "../functional/Deqpgles31depth_compare_mode_depth_component16TestCase.cpp",
57f6603c60Sopenharmony_ci    "../functional/Deqpgles31depth_compare_mode_depth_component24TestCase.cpp",
58f6603c60Sopenharmony_ci    "../functional/Deqpgles31float_color_gatherTestCase.cpp",
59f6603c60Sopenharmony_ci    "../functional/Deqpgles31float_color_nearestTestCase.cpp",
60f6603c60Sopenharmony_ci    "../functional/Deqpgles31float_depth_gatherTestCase.cpp",
61f6603c60Sopenharmony_ci    "../functional/Deqpgles31float_depth_nearestTestCase.cpp",
62f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_alphaTestCase.cpp",
63f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_bgraTestCase.cpp",
64f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_r11_eacTestCase.cpp",
65f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_rg11_eacTestCase.cpp",
66f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_rgb8_etc2TestCase.cpp",
67f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_rgb8_punchthrough_alpha1_etc2TestCase.cpp",
68f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_rgba8_etc2_eacTestCase.cpp",
69f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_signed_r11_eacTestCase.cpp",
70f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_signed_rg11_eacTestCase.cpp",
71f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_srgb8_alpha8_etc2_eacTestCase.cpp",
72f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_srgb8_etc2TestCase.cpp",
73f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_compressed_srgb8_punchthrough_alpha1_etc2TestCase.cpp",
74f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_depth24_stencil8_sample_depthTestCase.cpp",
75f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_depth24_stencil8_sample_stencilTestCase.cpp",
76f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_depth32f_stencil8_sample_depthTestCase.cpp",
77f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_depth32f_stencil8_sample_stencilTestCase.cpp",
78f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_depth_component16TestCase.cpp",
79f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_depth_component24TestCase.cpp",
80f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_depth_component32fTestCase.cpp",
81f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_luminanceTestCase.cpp",
82f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_luminance_alphaTestCase.cpp",
83f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r11f_g11f_b10fTestCase.cpp",
84f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r16fTestCase.cpp",
85f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r16iTestCase.cpp",
86f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r16uiTestCase.cpp",
87f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r32fTestCase.cpp",
88f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r32iTestCase.cpp",
89f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r32uiTestCase.cpp",
90f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r8TestCase.cpp",
91f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r8_snormTestCase.cpp",
92f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r8iTestCase.cpp",
93f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_r8uiTestCase.cpp",
94f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg16fTestCase.cpp",
95f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg16iTestCase.cpp",
96f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg16uiTestCase.cpp",
97f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg32fTestCase.cpp",
98f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg32iTestCase.cpp",
99f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg32uiTestCase.cpp",
100f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg8TestCase.cpp",
101f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg8_snormTestCase.cpp",
102f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg8iTestCase.cpp",
103f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rg8uiTestCase.cpp",
104f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb10_a2TestCase.cpp",
105f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb10_a2uiTestCase.cpp",
106f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb16fTestCase.cpp",
107f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb16iTestCase.cpp",
108f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb16uiTestCase.cpp",
109f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb32fTestCase.cpp",
110f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb32iTestCase.cpp",
111f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb32uiTestCase.cpp",
112f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb565TestCase.cpp",
113f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb5_a1TestCase.cpp",
114f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb8TestCase.cpp",
115f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb8_snormTestCase.cpp",
116f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb8iTestCase.cpp",
117f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb8uiTestCase.cpp",
118f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgb9_e5TestCase.cpp",
119f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba16fTestCase.cpp",
120f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba16iTestCase.cpp",
121f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba16uiTestCase.cpp",
122f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba32fTestCase.cpp",
123f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba32iTestCase.cpp",
124f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba32uiTestCase.cpp",
125f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba4TestCase.cpp",
126f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba8TestCase.cpp",
127f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba8_snormTestCase.cpp",
128f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba8iTestCase.cpp",
129f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_rgba8uiTestCase.cpp",
130f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_srgb8TestCase.cpp",
131f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_srgb8_alpha8TestCase.cpp",
132f6603c60Sopenharmony_ci    "../functional/Deqpgles31formats_stencil_index8TestCase.cpp",
133f6603c60Sopenharmony_ci    "../functional/Deqpgles31int_color_gatherTestCase.cpp",
134f6603c60Sopenharmony_ci    "../functional/Deqpgles31int_color_nearestTestCase.cpp",
135f6603c60Sopenharmony_ci    "../functional/Deqpgles31modify_bufferdataTestCase.cpp",
136f6603c60Sopenharmony_ci    "../functional/Deqpgles31modify_buffersubdataTestCase.cpp",
137f6603c60Sopenharmony_ci    "../functional/Deqpgles31modify_mapbuffer_readwriteTestCase.cpp",
138f6603c60Sopenharmony_ci    "../functional/Deqpgles31modify_mapbuffer_writeTestCase.cpp",
139f6603c60Sopenharmony_ci    "../functional/Deqpgles31modify_render_bufferdataTestCase.cpp",
140f6603c60Sopenharmony_ci    "../functional/Deqpgles31modify_render_buffersubdataTestCase.cpp",
141f6603c60Sopenharmony_ci    "../functional/Deqpgles31modify_render_mapbuffer_readwriteTestCase.cpp",
142f6603c60Sopenharmony_ci    "../functional/Deqpgles31modify_render_mapbuffer_writeTestCase.cpp",
143f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp",
144f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_array_as_index_array_as_fragment_textureTestCase.cpp",
145f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_array_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp",
146f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_array_as_vertex_texture_as_fragment_textureTestCase.cpp",
147f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_texture_as_fragment_textureTestCase.cpp",
148f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_fragment_textureTestCase.cpp",
149f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_index_arrayTestCase.cpp",
150f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_index_array_as_fragment_textureTestCase.cpp",
151f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_index_array_as_vertex_textureTestCase.cpp",
152f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp",
153f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_arrayTestCase.cpp",
154f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_array_as_fragment_textureTestCase.cpp",
155f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_array_as_index_arrayTestCase.cpp",
156f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_fragment_textureTestCase.cpp",
157f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_vertex_textureTestCase.cpp",
158f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_array_as_index_array_as_vertex_texture_as_fragment_textureTestCase.cpp",
159f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_array_as_vertex_textureTestCase.cpp",
160f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_array_as_vertex_texture_as_fragment_textureTestCase.cpp",
161f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_textureTestCase.cpp",
162f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_modify_as_vertex_texture_as_fragment_textureTestCase.cpp",
163f6603c60Sopenharmony_ci    "../functional/Deqpgles31snorm_color_gatherTestCase.cpp",
164f6603c60Sopenharmony_ci    "../functional/Deqpgles31snorm_color_linearTestCase.cpp",
165f6603c60Sopenharmony_ci    "../functional/Deqpgles31snorm_color_nearestTestCase.cpp",
166f6603c60Sopenharmony_ci    "../functional/Deqpgles31state_query_booleanTestCase.cpp",
167f6603c60Sopenharmony_ci    "../functional/Deqpgles31state_query_integerTestCase.cpp",
168f6603c60Sopenharmony_ci    "../functional/Deqpgles31uint_color_gatherTestCase.cpp",
169f6603c60Sopenharmony_ci    "../functional/Deqpgles31uint_color_nearestTestCase.cpp",
170f6603c60Sopenharmony_ci    "../functional/Deqpgles31uint_stencil_gatherTestCase.cpp",
171f6603c60Sopenharmony_ci    "../functional/Deqpgles31uint_stencil_nearestTestCase.cpp",
172f6603c60Sopenharmony_ci    "../functional/Deqpgles31unorm_color_gatherTestCase.cpp",
173f6603c60Sopenharmony_ci    "../functional/Deqpgles31unorm_color_linearTestCase.cpp",
174f6603c60Sopenharmony_ci    "../functional/Deqpgles31unorm_color_nearestTestCase.cpp",
175f6603c60Sopenharmony_ci    "../functional/Deqpgles31unorm_depth_gatherTestCase.cpp",
176f6603c60Sopenharmony_ci    "../functional/Deqpgles31unorm_depth_nearestTestCase.cpp",
177f6603c60Sopenharmony_ci  ]
178f6603c60Sopenharmony_ci
179f6603c60Sopenharmony_ci  include_dirs = [ "../../../src" ]
180f6603c60Sopenharmony_ci
181f6603c60Sopenharmony_ci  deps = [ ":libdeqpgles31func0015" ]
182f6603c60Sopenharmony_ci
183f6603c60Sopenharmony_ci  cflags = [ "-Wno-error" ]
184f6603c60Sopenharmony_ci}
185