# 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("libdeqpgles2func0008") { subsystem_name = "graphic" part_name = "graphic_standard" sources = common_src sources += [ "../Deqpgles2BaseFunc.cpp" ] include_dirs = common_include deps = common_depends external_deps = [ "hilog:libhilog", "image_framework:image_native", ] configs = [ ":deqp_platform_ohos_config" ] } ohos_moduletest_suite("ActsDeqpgles2TestSuite0008") { subsystem_name = "graphic" part_name = "graphic_standard" sources = [ "../ActsDeqpgles20008TestSuite.cpp", "../functional/Deqpgles2builtin_functions_exponentialTestCase.cpp", "../functional/Deqpgles2builtin_functions_trigonometryTestCase.cpp", "../functional/Deqpgles2constant_expressions_complex_typesTestCase.cpp", "../functional/Deqpgles2constant_expressions_operatorsTestCase.cpp", "../functional/Deqpgles2constant_expressions_trivialTestCase.cpp", "../functional/Deqpgles2invariance_highpTestCase.cpp", "../functional/Deqpgles2invariance_lowpTestCase.cpp", "../functional/Deqpgles2invariance_mediumpTestCase.cpp", "../functional/Deqpgles2matrix_add_assignTestCase.cpp", "../functional/Deqpgles2matrix_divTestCase.cpp", "../functional/Deqpgles2matrix_div_assignTestCase.cpp", "../functional/Deqpgles2matrix_matrixcompmultTestCase.cpp", "../functional/Deqpgles2matrix_mulTestCase.cpp", "../functional/Deqpgles2matrix_mul_assignTestCase.cpp", "../functional/Deqpgles2matrix_negationTestCase.cpp", "../functional/Deqpgles2matrix_post_decrementTestCase.cpp", "../functional/Deqpgles2matrix_post_incrementTestCase.cpp", "../functional/Deqpgles2matrix_pre_decrementTestCase.cpp", "../functional/Deqpgles2matrix_pre_incrementTestCase.cpp", "../functional/Deqpgles2matrix_sub_assignTestCase.cpp", "../functional/Deqpgles2matrix_unary_additionTestCase.cpp", "../functional/Deqpgles2shaders_algorithmTestCase.cpp", "../functional/Deqpgles2shaders_builtin_variableTestCase.cpp", "../functional/Deqpgles2shaders_discardTestCase.cpp", "../functional/Deqpgles2shaders_fragdataTestCase.cpp", "../functional/Deqpgles2shaders_returnTestCase.cpp", "../functional/Deqpgles2struct_localTestCase.cpp", "../functional/Deqpgles2struct_uniformTestCase.cpp", "../functional/Deqpgles2texture_functions_fragmentTestCase.cpp", "../functional/Deqpgles2texture_functions_invalidTestCase.cpp", "../functional/Deqpgles2texture_functions_vertexTestCase.cpp", ] include_dirs = [ "../../../src" ] deps = [ ":libdeqpgles2func0008" ] cflags = [ "-Wno-error" ] }