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("libdeqpgles31func0014") {
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("ActsDeqpgles31TestSuite0014") {
44f6603c60Sopenharmony_ci  subsystem_name = "graphic"
45f6603c60Sopenharmony_ci  part_name = "graphic_2d"
46f6603c60Sopenharmony_ci  sources = [
47f6603c60Sopenharmony_ci    "../ActsDeqpgles310014TestSuite.cpp",
48f6603c60Sopenharmony_ci    "../functional/Deqpgles31depth32f_base_levelTestCase.cpp",
49f6603c60Sopenharmony_ci    "../functional/Deqpgles31depth32f_filter_modeTestCase.cpp",
50f6603c60Sopenharmony_ci    "../functional/Deqpgles31multisample_negativeTestCase.cpp",
51f6603c60Sopenharmony_ci    "../functional/Deqpgles31multisample_samples_13TestCase.cpp",
52f6603c60Sopenharmony_ci    "../functional/Deqpgles31multisample_samples_16TestCase.cpp",
53f6603c60Sopenharmony_ci    "../functional/Deqpgles31multisample_samples_64TestCase.cpp",
54f6603c60Sopenharmony_ci    "../functional/Deqpgles31no_corners_size_npotTestCase.cpp",
55f6603c60Sopenharmony_ci    "../functional/Deqpgles31no_corners_size_potTestCase.cpp",
56f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_fragment_textureTestCase.cpp",
57f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_index_arrayTestCase.cpp",
58f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_index_array_as_fragment_textureTestCase.cpp",
59f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_index_array_as_vertex_textureTestCase.cpp",
60f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_arrayTestCase.cpp",
61f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_array_as_fragment_textureTestCase.cpp",
62f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_array_as_index_arrayTestCase.cpp",
63f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_array_as_index_array_as_vertex_textureTestCase.cpp",
64f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_array_as_vertex_textureTestCase.cpp",
65f6603c60Sopenharmony_ci    "../functional/Deqpgles31render_as_vertex_textureTestCase.cpp",
66f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8_base_levelTestCase.cpp",
67f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8_filter_modeTestCase.cpp",
68f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8_incompleteTestCase.cpp",
69f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8_size_npotTestCase.cpp",
70f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8_size_potTestCase.cpp",
71f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8_texture_swizzleTestCase.cpp",
72f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8i_base_levelTestCase.cpp",
73f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8i_filter_modeTestCase.cpp",
74f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8i_size_npotTestCase.cpp",
75f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8i_size_potTestCase.cpp",
76f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8i_texture_swizzleTestCase.cpp",
77f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8ui_base_levelTestCase.cpp",
78f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8ui_filter_modeTestCase.cpp",
79f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8ui_size_npotTestCase.cpp",
80f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8ui_size_potTestCase.cpp",
81f6603c60Sopenharmony_ci    "../functional/Deqpgles31rgba8ui_texture_swizzleTestCase.cpp",
82f6603c60Sopenharmony_ci    "../functional/Deqpgles31size_npot_compare_greaterTestCase.cpp",
83f6603c60Sopenharmony_ci    "../functional/Deqpgles31size_npot_compare_lessTestCase.cpp",
84f6603c60Sopenharmony_ci    "../functional/Deqpgles31size_pot_compare_greaterTestCase.cpp",
85f6603c60Sopenharmony_ci    "../functional/Deqpgles31size_pot_compare_lessTestCase.cpp",
86f6603c60Sopenharmony_ci    "../functional/Deqpgles31texture_buffer_state_queryTestCase.cpp",
87f6603c60Sopenharmony_ci  ]
88f6603c60Sopenharmony_ci
89f6603c60Sopenharmony_ci  include_dirs = [ "../../../src" ]
90f6603c60Sopenharmony_ci
91f6603c60Sopenharmony_ci  deps = [ ":libdeqpgles31func0014" ]
92f6603c60Sopenharmony_ci
93f6603c60Sopenharmony_ci  cflags = [ "-Wno-error" ]
94f6603c60Sopenharmony_ci}
95