• 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/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("libdeqpgles31func0013") {
29  sources = common_src
30  subsystem_name = "graphic"
31  part_name = "graphic_2d"
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("ActsDeqpgles31TestSuite0013") {
44  subsystem_name = "graphic"
45  part_name = "graphic_2d"
46  sources = [
47    "../ActsDeqpgles310013TestSuite.cpp",
48    "../functional/Deqpgles31atomic_counter_decTestCase.cpp",
49    "../functional/Deqpgles31atomic_counter_dec_branchTestCase.cpp",
50    "../functional/Deqpgles31atomic_counter_get_decTestCase.cpp",
51    "../functional/Deqpgles31atomic_counter_get_dec_branchTestCase.cpp",
52    "../functional/Deqpgles31atomic_counter_get_incTestCase.cpp",
53    "../functional/Deqpgles31atomic_counter_get_inc_branchTestCase.cpp",
54    "../functional/Deqpgles31atomic_counter_get_inc_decTestCase.cpp",
55    "../functional/Deqpgles31atomic_counter_get_inc_dec_branchTestCase.cpp",
56    "../functional/Deqpgles31atomic_counter_incTestCase.cpp",
57    "../functional/Deqpgles31atomic_counter_inc_branchTestCase.cpp",
58    "../functional/Deqpgles31atomic_counter_inc_decTestCase.cpp",
59    "../functional/Deqpgles31atomic_counter_inc_dec_branchTestCase.cpp",
60    "../functional/Deqpgles31cube_array_combinationsTestCase.cpp",
61    "../functional/Deqpgles31cube_array_formatsTestCase.cpp",
62    "../functional/Deqpgles31cube_array_no_edges_visibleTestCase.cpp",
63    "../functional/Deqpgles31cube_array_sizesTestCase.cpp",
64    "../functional/Deqpgles31default_offset_set_get_decTestCase.cpp",
65    "../functional/Deqpgles31default_offset_set_get_incTestCase.cpp",
66    "../functional/Deqpgles31default_offset_set_inc_decTestCase.cpp",
67    "../functional/Deqpgles31first_offset_set_get_decTestCase.cpp",
68    "../functional/Deqpgles31first_offset_set_get_incTestCase.cpp",
69    "../functional/Deqpgles31first_offset_set_inc_decTestCase.cpp",
70    "../functional/Deqpgles31format_bufferTestCase.cpp",
71    "../functional/Deqpgles31format_unsizedTestCase.cpp",
72    "../functional/Deqpgles31layout_invalidTestCase.cpp",
73    "../functional/Deqpgles31multisample_samples_10TestCase.cpp",
74    "../functional/Deqpgles31multisample_samples_12TestCase.cpp",
75    "../functional/Deqpgles31multisample_samples_1TestCase.cpp",
76    "../functional/Deqpgles31multisample_samples_2TestCase.cpp",
77    "../functional/Deqpgles31multisample_samples_3TestCase.cpp",
78    "../functional/Deqpgles31multisample_samples_4TestCase.cpp",
79    "../functional/Deqpgles31multisample_samples_8TestCase.cpp",
80    "../functional/Deqpgles31reset_default_offset_get_decTestCase.cpp",
81    "../functional/Deqpgles31reset_default_offset_get_incTestCase.cpp",
82    "../functional/Deqpgles31reset_default_offset_inc_decTestCase.cpp",
83    "../functional/Deqpgles31reverse_offset_get_decTestCase.cpp",
84    "../functional/Deqpgles31reverse_offset_get_incTestCase.cpp",
85    "../functional/Deqpgles31reverse_offset_inc_decTestCase.cpp",
86    "../functional/Deqpgles31sized_cube_arrayTestCase.cpp",
87    "../functional/Deqpgles31specification_basic_teximage3dTestCase.cpp",
88    "../functional/Deqpgles31specification_teximage3d_depthTestCase.cpp",
89    "../functional/Deqpgles31specification_teximage3d_depth_pboTestCase.cpp",
90    "../functional/Deqpgles31specification_teximage3d_pboTestCase.cpp",
91    "../functional/Deqpgles31specification_texsubimage3d_depthTestCase.cpp",
92    "../functional/Deqpgles31specification_texsubimage3d_pboTestCase.cpp",
93    "../functional/Deqpgles31stencil_texturing_formatTestCase.cpp",
94    "../functional/Deqpgles31stencil_texturing_miscTestCase.cpp",
95    "../functional/Deqpgles31stencil_texturing_renderTestCase.cpp",
96    "../functional/Deqpgles31texstorage3d_formatTestCase.cpp",
97    "../functional/Deqpgles31texstorage3d_sizeTestCase.cpp",
98  ]
99
100  include_dirs = [ "../../../src" ]
101
102  deps = [ ":libdeqpgles31func0013" ]
103
104  cflags = [ "-Wno-error" ]
105}
106