BUILD.gn 7.4 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
# 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("libkhrgles31func0001") {
L
lixiteng 已提交
29
  subsystem_name = "graphic"
Z
zhangbirong 已提交
30
  part_name = "graphic_2d"
W
wangshi 已提交
31 32 33 34 35 36
  sources = common_src
  sources += [ "../Khrgles31BaseFunc.cpp" ]

  include_dirs = common_include
  deps = common_depends
  external_deps = [
37
    "hilog:libhilog",
Q
qy 已提交
38
    "image_framework:image_native",
W
wangshi 已提交
39 40 41 42 43
  ]
  configs = [ ":deqp_platform_ohos_config" ]
}

ohos_moduletest_suite("ActsKhrgles31TestSuite0001") {
L
lixiteng 已提交
44
  subsystem_name = "graphic"
Z
zhangbirong 已提交
45
  part_name = "graphic_2d"
W
wangshi 已提交
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
  sources = [
    "../ActsKhrgles310001TestSuite.cpp",
    "../core/Khrgles31base_rgba32fTestCase.cpp",
    "../core/Khrgles31base_rgba8TestCase.cpp",
    "../core/Khrgles31base_rgba8iTestCase.cpp",
    "../core/Khrgles31base_rgba8uiTestCase.cpp",
    "../core/Khrgles31centroid_rgba32fTestCase.cpp",
    "../core/Khrgles31centroid_rgba8TestCase.cpp",
    "../core/Khrgles31centroid_rgba8iTestCase.cpp",
    "../core/Khrgles31centroid_rgba8uiTestCase.cpp",
    "../core/Khrgles31core_constant_expressionsTestCase.cpp",
    "../core/Khrgles31core_layout_bindingTestCase.cpp",
    "../core/Khrgles31core_sepshaderobjsTestCase.cpp",
    "../core/Khrgles31core_shader_atomic_countersTestCase.cpp",
    "../core/Khrgles31core_shader_integer_mixTestCase.cpp",
    "../core/Khrgles31core_texture_gatherTestCase.cpp",
    "../core/Khrgles31interpolate_at_centroid_check_rgba32fTestCase.cpp",
    "../core/Khrgles31interpolate_at_centroid_check_rgba8TestCase.cpp",
    "../core/Khrgles31interpolate_at_centroid_check_rgba8iTestCase.cpp",
    "../core/Khrgles31interpolate_at_centroid_check_rgba8uiTestCase.cpp",
    "../core/Khrgles31interpolate_at_centroid_rgba32fTestCase.cpp",
    "../core/Khrgles31interpolate_at_centroid_rgba8TestCase.cpp",
    "../core/Khrgles31interpolate_at_centroid_rgba8iTestCase.cpp",
    "../core/Khrgles31interpolate_at_centroid_rgba8uiTestCase.cpp",
    "../core/Khrgles31interpolate_at_offset_check_rgba32fTestCase.cpp",
    "../core/Khrgles31interpolate_at_offset_check_rgba8TestCase.cpp",
    "../core/Khrgles31interpolate_at_offset_check_rgba8iTestCase.cpp",
    "../core/Khrgles31interpolate_at_offset_check_rgba8uiTestCase.cpp",
    "../core/Khrgles31interpolate_at_offset_rgba32fTestCase.cpp",
    "../core/Khrgles31interpolate_at_offset_rgba8TestCase.cpp",
    "../core/Khrgles31interpolate_at_offset_rgba8iTestCase.cpp",
    "../core/Khrgles31interpolate_at_offset_rgba8uiTestCase.cpp",
    "../core/Khrgles31interpolate_at_sample_check_rgba32fTestCase.cpp",
    "../core/Khrgles31interpolate_at_sample_check_rgba8TestCase.cpp",
    "../core/Khrgles31interpolate_at_sample_check_rgba8iTestCase.cpp",
    "../core/Khrgles31interpolate_at_sample_check_rgba8uiTestCase.cpp",
    "../core/Khrgles31interpolate_at_sample_rgba32fTestCase.cpp",
    "../core/Khrgles31interpolate_at_sample_rgba8TestCase.cpp",
    "../core/Khrgles31interpolate_at_sample_rgba8iTestCase.cpp",
    "../core/Khrgles31interpolate_at_sample_rgba8uiTestCase.cpp",
    "../core/Khrgles31position_fixedTestCase.cpp",
    "../core/Khrgles31position_non-fixedTestCase.cpp",
    "../core/Khrgles31render_rgba32fTestCase.cpp",
    "../core/Khrgles31render_rgba8TestCase.cpp",
    "../core/Khrgles31render_rgba8iTestCase.cpp",
    "../core/Khrgles31render_rgba8uiTestCase.cpp",
    "../core/Khrgles31rgba32f_samples_0TestCase.cpp",
    "../core/Khrgles31rgba32f_samples_1TestCase.cpp",
    "../core/Khrgles31rgba32f_samples_2TestCase.cpp",
    "../core/Khrgles31rgba32f_samples_4TestCase.cpp",
    "../core/Khrgles31rgba32f_samples_8TestCase.cpp",
    "../core/Khrgles31rgba8_samples_0TestCase.cpp",
    "../core/Khrgles31rgba8_samples_1TestCase.cpp",
    "../core/Khrgles31rgba8_samples_2TestCase.cpp",
    "../core/Khrgles31rgba8_samples_4TestCase.cpp",
    "../core/Khrgles31rgba8_samples_8TestCase.cpp",
    "../core/Khrgles31rgba8i_samples_0TestCase.cpp",
    "../core/Khrgles31rgba8i_samples_1TestCase.cpp",
    "../core/Khrgles31rgba8i_samples_2TestCase.cpp",
    "../core/Khrgles31rgba8i_samples_4TestCase.cpp",
    "../core/Khrgles31rgba8i_samples_8TestCase.cpp",
    "../core/Khrgles31rgba8ui_samples_0TestCase.cpp",
    "../core/Khrgles31rgba8ui_samples_1TestCase.cpp",
    "../core/Khrgles31rgba8ui_samples_2TestCase.cpp",
    "../core/Khrgles31rgba8ui_samples_4TestCase.cpp",
    "../core/Khrgles31rgba8ui_samples_8TestCase.cpp",
    "../core/Khrgles31sample_rgba32fTestCase.cpp",
    "../core/Khrgles31sample_rgba8TestCase.cpp",
    "../core/Khrgles31sample_rgba8iTestCase.cpp",
    "../core/Khrgles31sample_rgba8uiTestCase.cpp",
    "../core/Khrgles31sample_shading_apiTestCase.cpp",
    "../core/Khrgles31sample_variables_verificationTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_bitCountTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_bitfieldExtractTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_bitfieldInsertTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_bitfieldReverseTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_findLSBTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_findMSBTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_frexpTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_imulExtendedTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_ldexpTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_packSnorm4x8TestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_packUnorm4x8TestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_uaddCarryTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_umulExtendedTestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_unpackSnorm4x8TestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_unpackUnorm4x8TestCase.cpp",
    "../core/Khrgles31shader_bitfield_operation_usubBorrowTestCase.cpp",
    "../core/Khrgles31shader_multisample_interpolation_apiTestCase.cpp",
    "../core/Khrgles31texture_storage_multisample_APIDependenciesTestCase.cpp",
    "../core/Khrgles31texture_storage_multisample_APIGLGetActiveUniformTestCase.cpp",
    "../core/Khrgles31texture_storage_multisample_APIGLGetMultisamplefvTestCase.cpp",
    "../core/Khrgles31texture_storage_multisample_APIGLGetTexLevelParameterifvTestCase.cpp",
    "../core/Khrgles31texture_storage_multisample_APIGLTexStorage2DMultisampleTestCase.cpp",
    "../core/Khrgles31texture_storage_multisample_APIGLTexStorage3DMultisampleTestCase.cpp",
    "../core/Khrgles31texture_storage_multisample_FunctionalTestsTestCase.cpp",
    "../core/Khrgles31texture_storage_multisample_GLCoverageTestCase.cpp",
  ]

L
lixiteng 已提交
145
  include_dirs = [ "../../../src" ]
W
wangshi 已提交
146 147 148 149 150

  deps = [ ":libkhrgles31func0001" ]

  cflags = [ "-Wno-error" ]
}