1# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//test/xts/tools/build/suite.gni") 15 16import("//test/xts/acts/graphic/vktest/comm.gni") 17 18ohos_xts_action("cpOpenGL") { 19 testonly = true 20 script = "cpOpenGL.sh" 21 outputs = [ "${target_out_dir}/cpOpenGL.log" ] 22 root_opengl_path = rebase_path("//") 23 args = [ "$root_opengl_path" ] 24 deps = [ 25 ":openGLTest", 26 "//third_party/vk-gl-cts/framework/platform:glcts", 27 28 # "//third_party/vk-gl-cts/external/vulkancts/modules/vulkan:deqp_vk_execute", 29 # "//third_party/vk-gl-cts/external/openglcts/modules:deqp_glcts", 30 ] 31} 32 33ohos_xts_group("openGLTest") { 34 testonly = true 35 if (is_standard_system) { 36 deps = [ 37 "src/gltest/gltest_km/gltest_main/gl30master:ActsOpenGlMainGl30MasterTest", 38 ] 39 } 40}