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("libdeqpgles3func0018") {
29f6603c60Sopenharmony_ci  subsystem_name = "graphic"
30f6603c60Sopenharmony_ci  part_name = "graphic_2d"
31f6603c60Sopenharmony_ci  sources = common_src
32f6603c60Sopenharmony_ci  sources += [ "../Deqpgles3BaseFunc.cpp" ]
33f6603c60Sopenharmony_ci
34f6603c60Sopenharmony_ci  include_dirs = common_include
35f6603c60Sopenharmony_ci  deps = common_depends_gles3
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("ActsDeqpgles3TestSuite0018") {
44f6603c60Sopenharmony_ci  subsystem_name = "graphic"
45f6603c60Sopenharmony_ci  part_name = "graphic_2d"
46f6603c60Sopenharmony_ci  sources = [
47f6603c60Sopenharmony_ci    "../ActsDeqpgles30018TestSuite.cpp",
48f6603c60Sopenharmony_ci    "../functional/Deqpgles3common_absTestCase.cpp",
49f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_constantTestCase.cpp",
50f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_fboTestCase.cpp",
51f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_fbo_floatTestCase.cpp",
52f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_fbo_msaa2TestCase.cpp",
53f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_fbo_msaa4TestCase.cpp",
54f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_in_functionTestCase.cpp",
55f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_linearTestCase.cpp",
56f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_static_ifTestCase.cpp",
57f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_static_loopTestCase.cpp",
58f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_static_switchTestCase.cpp",
59f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_uniform_ifTestCase.cpp",
60f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_uniform_loopTestCase.cpp",
61f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdx_uniform_switchTestCase.cpp",
62f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_constantTestCase.cpp",
63f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_fboTestCase.cpp",
64f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_fbo_floatTestCase.cpp",
65f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_fbo_msaa2TestCase.cpp",
66f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_fbo_msaa4TestCase.cpp",
67f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_in_functionTestCase.cpp",
68f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_linearTestCase.cpp",
69f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_static_ifTestCase.cpp",
70f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_static_loopTestCase.cpp",
71f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_static_switchTestCase.cpp",
72f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_uniform_ifTestCase.cpp",
73f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_uniform_loopTestCase.cpp",
74f6603c60Sopenharmony_ci    "../functional/Deqpgles3dfdy_uniform_switchTestCase.cpp",
75f6603c60Sopenharmony_ci    "../functional/Deqpgles3fastest_defaultTestCase.cpp",
76f6603c60Sopenharmony_ci    "../functional/Deqpgles3fastest_fbo_floatTestCase.cpp",
77f6603c60Sopenharmony_ci    "../functional/Deqpgles3fastest_fbo_msaa4TestCase.cpp",
78f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_constantTestCase.cpp",
79f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_fboTestCase.cpp",
80f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_fbo_floatTestCase.cpp",
81f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_fbo_msaa2TestCase.cpp",
82f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_fbo_msaa4TestCase.cpp",
83f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_in_functionTestCase.cpp",
84f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_linearTestCase.cpp",
85f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_static_ifTestCase.cpp",
86f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_static_loopTestCase.cpp",
87f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_static_switchTestCase.cpp",
88f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_uniform_ifTestCase.cpp",
89f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_uniform_loopTestCase.cpp",
90f6603c60Sopenharmony_ci    "../functional/Deqpgles3fwidth_uniform_switchTestCase.cpp",
91f6603c60Sopenharmony_ci    "../functional/Deqpgles3nicest_defaultTestCase.cpp",
92f6603c60Sopenharmony_ci    "../functional/Deqpgles3nicest_fbo_floatTestCase.cpp",
93f6603c60Sopenharmony_ci    "../functional/Deqpgles3nicest_fbo_msaa4TestCase.cpp",
94f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_basicTestCase.cpp",
95f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_float_fastestTestCase.cpp",
96f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_float_nicestTestCase.cpp",
97f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_invalidTestCase.cpp",
98f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_texelfetchTestCase.cpp",
99f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_texelfetchoffsetTestCase.cpp",
100f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_texturegradTestCase.cpp",
101f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_texturegradoffsetTestCase.cpp",
102f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_texturelodoffsetTestCase.cpp",
103f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_textureprojgradTestCase.cpp",
104f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_textureprojgradoffsetTestCase.cpp",
105f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_textureprojlodTestCase.cpp",
106f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_textureprojlodoffsetTestCase.cpp",
107f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_functions_texturesizeTestCase.cpp",
108f6603c60Sopenharmony_ci    "../functional/Deqpgles3texture_msaa4TestCase.cpp",
109f6603c60Sopenharmony_ci  ]
110f6603c60Sopenharmony_ci
111f6603c60Sopenharmony_ci  include_dirs = [ "../../../src" ]
112f6603c60Sopenharmony_ci
113f6603c60Sopenharmony_ci  deps = [ ":libdeqpgles3func0018" ]
114f6603c60Sopenharmony_ci
115f6603c60Sopenharmony_ci  cflags = [ "-Wno-error" ]
116f6603c60Sopenharmony_ci}
117