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("libkhrglesextfunc0001") {
29  subsystem_name = "xts"
30  part_name = "acts"
31  sources = common_src
32  sources += [ "../KhrglesextBaseFunc.cpp" ]
33
34  include_dirs = common_include
35  deps = common_depends_glesext
36  configs = [ ":deqp_platform_ohos_config" ]
37}
38
39ohos_moduletest_suite("ActsKhrglesextTestSuite0001") {
40  subsystem_name = "xts"
41  part_name = "acts"
42  sources = [
43    "../ActsKhrglesext0001TestSuite.cpp",
44    "../disjoint_timer_query/KhrglesextKHR-GLESEXT_disjoint_timer_queryTestCase.cpp",
45    "../draw_elements_base_vertex_tests/KhrglesextKHR-GLESEXT_draw_elements_base_vertex_testsTestCase.cpp",
46    "../ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureTestCase.cpp",
47    "../ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodTestCase.cpp",
48    "../ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_texturelodoffsetTestCase.cpp",
49    "../ext_texture_shadow_lod/Khrglesextext_texture_shadow_lod_textureoffsetTestCase.cpp",
50    "../geometry_shader/Khrglesextgeometry_shader_adjacencyTestCase.cpp",
51    "../geometry_shader/Khrglesextgeometry_shader_apiTestCase.cpp",
52    "../geometry_shader/Khrglesextgeometry_shader_blittingTestCase.cpp",
53    "../geometry_shader/Khrglesextgeometry_shader_clippingTestCase.cpp",
54    "../geometry_shader/Khrglesextgeometry_shader_constant_variablesTestCase.cpp",
55    "../geometry_shader/Khrglesextgeometry_shader_inputTestCase.cpp",
56    "../geometry_shader/Khrglesextgeometry_shader_layered_fboTestCase.cpp",
57    "../geometry_shader/Khrglesextgeometry_shader_layered_framebufferTestCase.cpp",
58    "../geometry_shader/Khrglesextgeometry_shader_layered_renderingTestCase.cpp",
59    "../geometry_shader/Khrglesextgeometry_shader_layered_rendering_boundary_conditionTestCase.cpp",
60    "../geometry_shader/Khrglesextgeometry_shader_layered_rendering_fbo_no_attachmentTestCase.cpp",
61    "../geometry_shader/Khrglesextgeometry_shader_limitsTestCase.cpp",
62    "../geometry_shader/Khrglesextgeometry_shader_linkingTestCase.cpp",
63    "../geometry_shader/Khrglesextgeometry_shader_nonarray_inputTestCase.cpp",
64    "../geometry_shader/Khrglesextgeometry_shader_outputTestCase.cpp",
65    "../geometry_shader/Khrglesextgeometry_shader_primitive_counterTestCase.cpp",
66    "../geometry_shader/Khrglesextgeometry_shader_primitive_queriesTestCase.cpp",
67    "../geometry_shader/Khrglesextgeometry_shader_program_resourceTestCase.cpp",
68    "../geometry_shader/Khrglesextgeometry_shader_qualifiersTestCase.cpp",
69    "../geometry_shader/Khrglesextrendering_renderingTestCase.cpp",
70    "../gpu_shader5/KhrglesextKHR-GLESEXT_gpu_shader5TestCase.cpp",
71    "../tessellation_shader/Khrglesexttessellation_shader_compilation_and_linking_errorsTestCase.cpp",
72    "../tessellation_shader/Khrglesexttessellation_shader_singleTestCase.cpp",
73    "../tessellation_shader/Khrglesexttessellation_shader_tessellation_control_to_tessellation_evaluationTestCase.cpp",
74    "../tessellation_shader/Khrglesexttessellation_shader_tessellation_invarianceTestCase.cpp",
75    "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_point_modeTestCase.cpp",
76    "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_quads_tessellationTestCase.cpp",
77    "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tc_barriersTestCase.cpp",
78    "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_tessellationTestCase.cpp",
79    "../tessellation_shader/Khrglesexttessellation_shader_tessellation_shader_triangles_tessellationTestCase.cpp",
80    "../tessellation_shader/Khrglesexttessellation_shader_vertexTestCase.cpp",
81    "../tessellation_shader/Khrglesexttessellation_shader_windingTestCase.cpp",
82    "../texture_border_clamp/KhrglesextKHR-GLESEXT_texture_border_clampTestCase.cpp",
83    "../texture_buffer/KhrglesextKHR-GLESEXT_texture_bufferTestCase.cpp",
84    "../texture_cube_map_array/KhrglesextKHR-GLESEXT_texture_cube_map_arrayTestCase.cpp",
85    "../viewport_array/KhrglesextKHR-GLESEXT_viewport_arrayTestCase.cpp",
86  ]
87
88  include_dirs = [ "../../../src" ]
89
90  deps = [ ":libkhrglesextfunc0001" ]
91
92  cflags = [ "-Wno-error" ]
93}
94