提交 dc77ed19 编写于 作者: A andingheng 提交者: fangkaidong

add build

Signed-off-by: Nandingheng <andingheng@kaihongdigi.com>
上级 75b96e58
# 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/vkglcts/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
# defines -=["DE_PTR_SIZE=8"]
defines += [
"DE_PTR_SIZE=4",
"_XOPEN_SOURCE=600",
]
}
ohos_static_library("libkhrgles31func0001") {
sources = common_src
sources += [ "../Khrgles31BaseFunc.cpp" ]
include_dirs = common_include
deps = common_depends
external_deps = [
"hilog_native:libhilog",
"multimedia_image_standard:image_native",
]
lib_dirs = [ "//third_party/VK-GL-CTS/outlibs" ]
libs = [ "png" ]
configs = [ ":deqp_platform_ohos_config" ]
public_deps = [ "//foundation/ace/ace_engine/build/external_config/flutter/skia:ace_skia_ohos" ]
}
ohos_moduletest_suite("ActsKhrgles31TestSuite0001") {
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_constant_expressionsTestCase1.cpp",
"../core/Khrgles31core_constant_expressionsTestCase2.cpp",
"../core/Khrgles31core_constant_expressionsTestCase3.cpp",
"../core/Khrgles31core_constant_expressionsTestCase4.cpp",
"../core/Khrgles31core_constant_expressionsTestCase5.cpp",
"../core/Khrgles31core_constant_expressionsTestCase6.cpp",
"../core/Khrgles31core_constant_expressionsTestCase7.cpp",
"../core/Khrgles31core_constant_expressionsTestCase8.cpp",
"../core/Khrgles31core_constant_expressionsTestCase9.cpp",
"../core/Khrgles31core_constant_expressionsTestCase10.cpp",
"../core/Khrgles31core_constant_expressionsTestCase11.cpp",
"../core/Khrgles31core_constant_expressionsTestCase12.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",
]
include_dirs = [ "//test/xts/acts/graphic/vkglcts/src" ]
deps = [ ":libkhrgles31func0001" ]
cflags = [ "-Wno-error" ]
}
{
"description": "Config for ActsKhrgles31TestSuite0001 test cases",
"driver": {
"module-name": "ActsKhrgles31TestSuite0001",
"native-test-timeout": "120000",
"native-test-device-path": "/data/local/tmp",
"runtime-hint": "100s",
"type": "CppTest"
},
"kits": [
{
"pre-push" : [
],
"post-push" : [
"chmod -R 777 /data/local/tmp/*",
"mkdir /data/local/tmp/gl_cts",
"tar zxvf /data/local/tmp/gl_cts.tar.gz -C /data/local/tmp/gl_cts",
"cp -r /data/local/tmp/gl_cts/data/gles2 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles3 /data/local/tmp",
"cp -r /data/local/tmp/gl_cts/data/gles31 /data/local/tmp"
],
"push": [
"ActsKhrgles31TestSuite0001->/data/local/tmp/ActsKhrgles31TestSuite0001",
"../../../common/common/librosen_context.z.so->/system/lib",
"gl_cts.tar.gz->/data/local/tmp/gl_cts.tar.gz"
],
"type": "PushKit"
},
{
"type": "ShellKit",
"run-command": [
"remount",
"mkdir /data/test",
"cd /data/local/tmp"
]
}
]
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册