BUILD.gn 9.5 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("libdeqpgles31func0034") {
  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
  ]
  configs = [ ":deqp_platform_ohos_config" ]
}

ohos_moduletest_suite("ActsDeqpgles31TestSuite0034") {
L
lixiteng 已提交
42 43
  subsystem_name = "graphic"
  part_name = "graphic_standard"
W
wangshi 已提交
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
  sources = [
    "../ActsDeqpgles310034TestSuite.cpp",
    "../functional/Deqpgles31viewclass_8_bits_r8_snorm_r8TestCase.cpp",
    "../functional/Deqpgles31viewclass_8_bits_r8_snorm_r8_snormTestCase.cpp",
    "../functional/Deqpgles31viewclass_8_bits_r8_snorm_r8iTestCase.cpp",
    "../functional/Deqpgles31viewclass_8_bits_r8_snorm_r8uiTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x10_rgba_rgba_astc_10x10_khr_rgba_astc_10x10_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x10_rgba_rgba_astc_10x10_khr_srgb8_alpha8_astc_10x10_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x10_rgba_srgb8_alpha8_astc_10x10_khr_rgba_astc_10x10_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x10_rgba_srgb8_alpha8_astc_10x10_khr_srgb8_alpha8_astc_10x10_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x5_rgba_rgba_astc_10x5_khr_rgba_astc_10x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x5_rgba_rgba_astc_10x5_khr_srgb8_alpha8_astc_10x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x5_rgba_srgb8_alpha8_astc_10x5_khr_rgba_astc_10x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x5_rgba_srgb8_alpha8_astc_10x5_khr_srgb8_alpha8_astc_10x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x6_rgba_rgba_astc_10x6_khr_rgba_astc_10x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x6_rgba_rgba_astc_10x6_khr_srgb8_alpha8_astc_10x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x6_rgba_srgb8_alpha8_astc_10x6_khr_rgba_astc_10x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x6_rgba_srgb8_alpha8_astc_10x6_khr_srgb8_alpha8_astc_10x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x8_rgba_rgba_astc_10x8_khr_rgba_astc_10x8_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x8_rgba_rgba_astc_10x8_khr_srgb8_alpha8_astc_10x8_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x8_rgba_srgb8_alpha8_astc_10x8_khr_rgba_astc_10x8_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_10x8_rgba_srgb8_alpha8_astc_10x8_khr_srgb8_alpha8_astc_10x8_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_12x10_rgba_rgba_astc_12x10_khr_rgba_astc_12x10_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_12x10_rgba_rgba_astc_12x10_khr_srgb8_alpha8_astc_12x10_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_12x10_rgba_srgb8_alpha8_astc_12x10_khr_rgba_astc_12x10_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_12x10_rgba_srgb8_alpha8_astc_12x10_khr_srgb8_alpha8_astc_12x10_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_12x12_rgba_rgba_astc_12x12_khr_rgba_astc_12x12_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_4x4_rgba_rgba_astc_4x4_khr_rgba_astc_4x4_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_4x4_rgba_rgba_astc_4x4_khr_srgb8_alpha8_astc_4x4_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_4x4_rgba_srgb8_alpha8_astc_4x4_khr_rgba_astc_4x4_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_4x4_rgba_srgb8_alpha8_astc_4x4_khr_srgb8_alpha8_astc_4x4_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_5x4_rgba_rgba_astc_5x4_khr_rgba_astc_5x4_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_5x4_rgba_rgba_astc_5x4_khr_srgb8_alpha8_astc_5x4_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_5x4_rgba_srgb8_alpha8_astc_5x4_khr_rgba_astc_5x4_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_5x4_rgba_srgb8_alpha8_astc_5x4_khr_srgb8_alpha8_astc_5x4_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_5x5_rgba_rgba_astc_5x5_khr_rgba_astc_5x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_5x5_rgba_rgba_astc_5x5_khr_srgb8_alpha8_astc_5x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_5x5_rgba_srgb8_alpha8_astc_5x5_khr_rgba_astc_5x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_5x5_rgba_srgb8_alpha8_astc_5x5_khr_srgb8_alpha8_astc_5x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_6x5_rgba_rgba_astc_6x5_khr_rgba_astc_6x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_6x5_rgba_rgba_astc_6x5_khr_srgb8_alpha8_astc_6x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_6x5_rgba_srgb8_alpha8_astc_6x5_khr_rgba_astc_6x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_6x5_rgba_srgb8_alpha8_astc_6x5_khr_srgb8_alpha8_astc_6x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_6x6_rgba_rgba_astc_6x6_khr_rgba_astc_6x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_6x6_rgba_rgba_astc_6x6_khr_srgb8_alpha8_astc_6x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_6x6_rgba_srgb8_alpha8_astc_6x6_khr_rgba_astc_6x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_6x6_rgba_srgb8_alpha8_astc_6x6_khr_srgb8_alpha8_astc_6x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x5_rgba_rgba_astc_8x5_khr_rgba_astc_8x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x5_rgba_rgba_astc_8x5_khr_srgb8_alpha8_astc_8x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x5_rgba_srgb8_alpha8_astc_8x5_khr_rgba_astc_8x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x5_rgba_srgb8_alpha8_astc_8x5_khr_srgb8_alpha8_astc_8x5_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x6_rgba_rgba_astc_8x6_khr_rgba_astc_8x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x6_rgba_rgba_astc_8x6_khr_srgb8_alpha8_astc_8x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x6_rgba_srgb8_alpha8_astc_8x6_khr_rgba_astc_8x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x6_rgba_srgb8_alpha8_astc_8x6_khr_srgb8_alpha8_astc_8x6_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x8_rgba_rgba_astc_8x8_khr_rgba_astc_8x8_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x8_rgba_rgba_astc_8x8_khr_srgb8_alpha8_astc_8x8_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x8_rgba_srgb8_alpha8_astc_8x8_khr_rgba_astc_8x8_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_astc_8x8_rgba_srgb8_alpha8_astc_8x8_khr_srgb8_alpha8_astc_8x8_khrTestCase.cpp",
    "../functional/Deqpgles31viewclass_eac_r11_r11_eac_r11_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_eac_r11_r11_eac_signed_r11_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_eac_r11_signed_r11_eac_r11_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_eac_r11_signed_r11_eac_signed_r11_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_eac_rg11_rg11_eac_rg11_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_eac_rg11_rg11_eac_signed_rg11_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_eac_rg11_signed_rg11_eac_rg11_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_eac_rg11_signed_rg11_eac_signed_rg11_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_eac_rgba_rgba8_etc2_eac_rgba8_etc2_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_eac_rgba_rgba8_etc2_eac_srgb8_alpha8_etc2_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_eac_rgba_srgb8_alpha8_etc2_eac_rgba8_etc2_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_eac_rgba_srgb8_alpha8_etc2_eac_srgb8_alpha8_etc2_eacTestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_rgb_rgb8_etc2_rgb8_etc2TestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_rgb_rgb8_etc2_srgb8_etc2TestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_rgb_srgb8_etc2_rgb8_etc2TestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_rgb_srgb8_etc2_srgb8_etc2TestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_rgba_rgb8_punchthrough_alpha1_etc2_rgb8_punchthrough_alpha1_etc2TestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_rgba_rgb8_punchthrough_alpha1_etc2_srgb8_punchthrough_alpha1_etc2TestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_rgba_srgb8_punchthrough_alpha1_etc2_rgb8_punchthrough_alpha1_etc2TestCase.cpp",
    "../functional/Deqpgles31viewclass_etc2_rgba_srgb8_punchthrough_alpha1_etc2_srgb8_punchthrough_alpha1_etc2TestCase.cpp",
  ]

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

  deps = [ ":libdeqpgles31func0034" ]

  cflags = [ "-Wno-error" ]
}