1e5c31af7Sopenharmony_ci# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 2e5c31af7Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3e5c31af7Sopenharmony_ci# you may not use this file except in compliance with the License. 4e5c31af7Sopenharmony_ci# You may obtain a copy of the License at 5e5c31af7Sopenharmony_ci# 6e5c31af7Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7e5c31af7Sopenharmony_ci# 8e5c31af7Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9e5c31af7Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10e5c31af7Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11e5c31af7Sopenharmony_ci# See the License for the specific language governing permissions and 12e5c31af7Sopenharmony_ci# limitations under the License. 13e5c31af7Sopenharmony_ci 14e5c31af7Sopenharmony_ci# deqp-gles2-performance build 15e5c31af7Sopenharmony_ci 16e5c31af7Sopenharmony_ciimport("//build/ohos.gni") 17e5c31af7Sopenharmony_ciimport("//third_party/vk-gl-cts/vk_gl_cts.gni") 18e5c31af7Sopenharmony_ci 19e5c31af7Sopenharmony_ciconfig("deqp-gles2-performance_config") { 20e5c31af7Sopenharmony_ci cflags_cc = deqp_common_cflags_cc 21e5c31af7Sopenharmony_ci defines = deqp_common_defines 22e5c31af7Sopenharmony_ci} 23e5c31af7Sopenharmony_ci 24e5c31af7Sopenharmony_ciohos_source_set("deqp-gles2-performance_source") { 25e5c31af7Sopenharmony_ci sources = [ 26e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pBlendTests.cpp", 27e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pDrawCallBatchingTests.cpp", 28e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pPerformanceTests.cpp", 29e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pRedundantStateChangeTests.cpp", 30e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pShaderCompilationCases.cpp", 31e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pShaderCompilerTests.cpp", 32e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pShaderControlStatementTests.cpp", 33e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pShaderOperatorTests.cpp", 34e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pShaderOptimizationTests.cpp", 35e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pStateChangeCallTests.cpp", 36e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pStateChangeTests.cpp", 37e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pTextureCases.cpp", 38e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pTextureCountTests.cpp", 39e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pTextureFilteringTests.cpp", 40e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pTextureFormatTests.cpp", 41e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance/es2pTextureUploadTests.cpp", 42e5c31af7Sopenharmony_ci ] 43e5c31af7Sopenharmony_ci include_dirs = [ 44e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/glshared", 45e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2/performance", 46e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/gles2", 47e5c31af7Sopenharmony_ci ] 48e5c31af7Sopenharmony_ci include_dirs += deqp_common_include_dirs 49e5c31af7Sopenharmony_ci 50e5c31af7Sopenharmony_ci deps = [ 51e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 52e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil", 53e5c31af7Sopenharmony_ci "//third_party/vk-gl-cts/modules/glshared:libdeqp-gl-shared", 54e5c31af7Sopenharmony_ci ] 55e5c31af7Sopenharmony_ci 56e5c31af7Sopenharmony_ci configs = [ ":deqp-gles2-performance_config" ] 57e5c31af7Sopenharmony_ci} 58e5c31af7Sopenharmony_ci 59e5c31af7Sopenharmony_ciohos_static_library("libdeqp-gles2-performance") { 60e5c31af7Sopenharmony_ci deps = [ ":deqp-gles2-performance_source" ] 61e5c31af7Sopenharmony_ci part_name = "graphic_2d" 62e5c31af7Sopenharmony_ci subsystem_name = "graphic" 63e5c31af7Sopenharmony_ci} 64