BUILD.gn 13.3 KB
Newer Older
W
wangshi 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import("//test/xts/acts/graphic/vkgl/comm.gni")

config("deqp_platform_ohos_config") {
  cflags_cc = deqp_common_cflags_cc

  cflags_cc += [
    # "-Wno-conversion",
    # "-Wno-unused-function",
    "-Wno-unused-parameter",
  ]

  defines = deqp_common_defines
}

ohos_static_library("libdeqpgles31func0003") {
  sources = common_src
  sources += [ "../Deqpgles31BaseFunc.cpp" ]

  include_dirs = common_include
  deps = common_depends
  external_deps = [
    "hilog_native:libhilog",
R
renhw001 已提交
36
    "multimedia_image_framework:image_native",
W
wangshi 已提交
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241
  ]
  configs = [ ":deqp_platform_ohos_config" ]
}

ohos_moduletest_suite("ActsDeqpgles31TestSuite0003") {
  sources = [
    "../ActsDeqpgles310003TestSuite.cpp",
    "../functional/Deqpgles31abs_highp_computeTestCase.cpp",
    "../functional/Deqpgles31abs_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31abs_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31acos_highp_computeTestCase.cpp",
    "../functional/Deqpgles31acos_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31acosh_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31acosh_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31add_highp_computeTestCase.cpp",
    "../functional/Deqpgles31add_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31add_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31asin_highp_computeTestCase.cpp",
    "../functional/Deqpgles31asin_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31asin_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31asinh_highp_computeTestCase.cpp",
    "../functional/Deqpgles31asinh_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31asinh_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31atan2_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31atan_highp_computeTestCase.cpp",
    "../functional/Deqpgles31atan_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31atanh_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31atanh_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31builtin_functions_texture_sizeTestCase.cpp",
    "../functional/Deqpgles31ceil_highp_computeTestCase.cpp",
    "../functional/Deqpgles31ceil_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31ceil_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31clamp_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31clamp_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31cos_highp_computeTestCase.cpp",
    "../functional/Deqpgles31cos_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31cos_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31cosh_highp_computeTestCase.cpp",
    "../functional/Deqpgles31cosh_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31cosh_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31degrees_highp_computeTestCase.cpp",
    "../functional/Deqpgles31degrees_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31degrees_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31determinant_highp_computeTestCase.cpp",
    "../functional/Deqpgles31determinant_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31determinant_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31distance_highp_computeTestCase.cpp",
    "../functional/Deqpgles31distance_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31distance_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31div_highp_computeTestCase.cpp",
    "../functional/Deqpgles31div_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31div_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31dot_highp_computeTestCase.cpp",
    "../functional/Deqpgles31dot_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31dot_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31exp2_highp_computeTestCase.cpp",
    "../functional/Deqpgles31exp2_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31exp2_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31exp_highp_computeTestCase.cpp",
    "../functional/Deqpgles31exp_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31exp_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31faceforward_highp_computeTestCase.cpp",
    "../functional/Deqpgles31faceforward_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31faceforward_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31floor_highp_computeTestCase.cpp",
    "../functional/Deqpgles31floor_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31floor_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31fma_highp_computeTestCase.cpp",
    "../functional/Deqpgles31fma_highp_fragmentTestCase.cpp",
    "../functional/Deqpgles31fma_highp_vertexTestCase.cpp",
    "../functional/Deqpgles31fma_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31fma_lowp_fragmentTestCase.cpp",
    "../functional/Deqpgles31fma_lowp_vertexTestCase.cpp",
    "../functional/Deqpgles31fma_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31fma_mediump_fragmentTestCase.cpp",
    "../functional/Deqpgles31fma_mediump_vertexTestCase.cpp",
    "../functional/Deqpgles31fract_highp_computeTestCase.cpp",
    "../functional/Deqpgles31fract_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31fract_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31frexp_highp_computeTestCase.cpp",
    "../functional/Deqpgles31frexp_highp_fragmentTestCase.cpp",
    "../functional/Deqpgles31frexp_highp_vertexTestCase.cpp",
    "../functional/Deqpgles31frexp_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31frexp_lowp_fragmentTestCase.cpp",
    "../functional/Deqpgles31frexp_lowp_vertexTestCase.cpp",
    "../functional/Deqpgles31frexp_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31frexp_mediump_fragmentTestCase.cpp",
    "../functional/Deqpgles31frexp_mediump_vertexTestCase.cpp",
    "../functional/Deqpgles31inverse_highp_computeTestCase.cpp",
    "../functional/Deqpgles31inverse_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31inverse_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31inversesqrt_highp_computeTestCase.cpp",
    "../functional/Deqpgles31inversesqrt_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31inversesqrt_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31ldexp_highp_computeTestCase.cpp",
    "../functional/Deqpgles31ldexp_highp_fragmentTestCase.cpp",
    "../functional/Deqpgles31ldexp_highp_vertexTestCase.cpp",
    "../functional/Deqpgles31ldexp_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31ldexp_lowp_fragmentTestCase.cpp",
    "../functional/Deqpgles31ldexp_lowp_vertexTestCase.cpp",
    "../functional/Deqpgles31ldexp_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31ldexp_mediump_fragmentTestCase.cpp",
    "../functional/Deqpgles31ldexp_mediump_vertexTestCase.cpp",
    "../functional/Deqpgles31length_highp_computeTestCase.cpp",
    "../functional/Deqpgles31length_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31length_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31log2_highp_computeTestCase.cpp",
    "../functional/Deqpgles31log2_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31log2_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31log_highp_computeTestCase.cpp",
    "../functional/Deqpgles31log_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31log_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31matrixcompmult_highp_computeTestCase.cpp",
    "../functional/Deqpgles31matrixcompmult_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31matrixcompmult_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31max_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31max_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31min_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31min_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31mix_highp_computeTestCase.cpp",
    "../functional/Deqpgles31mix_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31mix_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31mod_highp_computeTestCase.cpp",
    "../functional/Deqpgles31mod_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31mod_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31mul_highp_computeTestCase.cpp",
    "../functional/Deqpgles31mul_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31mul_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31normalize_highp_computeTestCase.cpp",
    "../functional/Deqpgles31normalize_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31normalize_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31outerproduct_highp_computeTestCase.cpp",
    "../functional/Deqpgles31outerproduct_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31outerproduct_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31pow_highp_computeTestCase.cpp",
    "../functional/Deqpgles31pow_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31pow_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31precision_crossTestCase.cpp",
    "../functional/Deqpgles31precision_modfTestCase.cpp",
    "../functional/Deqpgles31radians_highp_computeTestCase.cpp",
    "../functional/Deqpgles31radians_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31radians_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31reflect_highp_computeTestCase.cpp",
    "../functional/Deqpgles31reflect_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31reflect_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31refract_highp_computeTestCase.cpp",
    "../functional/Deqpgles31refract_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31refract_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31round_highp_computeTestCase.cpp",
    "../functional/Deqpgles31round_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31round_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31roundeven_highp_computeTestCase.cpp",
    "../functional/Deqpgles31roundeven_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31roundeven_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31sample_mask_in_bit_count_per_pixelTestCase.cpp",
    "../functional/Deqpgles31sample_mask_in_sample_maskTestCase.cpp",
    "../functional/Deqpgles31sample_pos_correctnessTestCase.cpp",
    "../functional/Deqpgles31sample_pos_distributionTestCase.cpp",
    "../functional/Deqpgles31sample_variables_max_samplesTestCase.cpp",
    "../functional/Deqpgles31sample_variables_num_samplesTestCase.cpp",
    "../functional/Deqpgles31sample_variables_sample_idTestCase.cpp",
    "../functional/Deqpgles31sign_highp_computeTestCase.cpp",
    "../functional/Deqpgles31sign_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31sign_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31sin_highp_computeTestCase.cpp",
    "../functional/Deqpgles31sin_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31sin_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31sinh_highp_computeTestCase.cpp",
    "../functional/Deqpgles31sinh_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31sinh_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31smoothstep_highp_computeTestCase.cpp",
    "../functional/Deqpgles31smoothstep_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31sqrt_highp_computeTestCase.cpp",
    "../functional/Deqpgles31sqrt_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31sqrt_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31step_highp_computeTestCase.cpp",
    "../functional/Deqpgles31step_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31step_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31sub_highp_computeTestCase.cpp",
    "../functional/Deqpgles31sub_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31sub_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31tan_highp_computeTestCase.cpp",
    "../functional/Deqpgles31tan_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31tan_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31tanh_highp_computeTestCase.cpp",
    "../functional/Deqpgles31tanh_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31tanh_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31transpose_highp_computeTestCase.cpp",
    "../functional/Deqpgles31transpose_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31transpose_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31trunc_highp_computeTestCase.cpp",
    "../functional/Deqpgles31trunc_lowp_computeTestCase.cpp",
    "../functional/Deqpgles31trunc_mediump_computeTestCase.cpp",
    "../functional/Deqpgles31uniform_findLSBMinusOneTestCase.cpp",
    "../functional/Deqpgles31uniform_findLSBZeroTestCase.cpp",
    "../functional/Deqpgles31uniform_findMSBMinusOneTestCase.cpp",
    "../functional/Deqpgles31uniform_findMSBZeroTestCase.cpp",
  ]

  include_dirs = [ "//test/xts/acts/graphic/vkgl/src" ]

  deps = [ ":libdeqpgles31func0003" ]

  cflags = [ "-Wno-error" ]
}