1f6603c60Sopenharmony_ci# Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 2f6603c60Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3f6603c60Sopenharmony_ci# you may not use this file except in compliance with the License. 4f6603c60Sopenharmony_ci# You may obtain a copy of the License at 5f6603c60Sopenharmony_ci# 6f6603c60Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7f6603c60Sopenharmony_ci# 8f6603c60Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9f6603c60Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10f6603c60Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11f6603c60Sopenharmony_ci# See the License for the specific language governing permissions and 12f6603c60Sopenharmony_ci# limitations under the License. 13f6603c60Sopenharmony_ci 14f6603c60Sopenharmony_ciimport("//test/xts/acts/graphic/vkgl/comm.gni") 15f6603c60Sopenharmony_ci 16f6603c60Sopenharmony_ciconfig("deqp_platform_ohos_config") { 17f6603c60Sopenharmony_ci cflags_cc = deqp_common_cflags_cc 18f6603c60Sopenharmony_ci 19f6603c60Sopenharmony_ci cflags_cc += [ 20f6603c60Sopenharmony_ci # "-Wno-conversion", 21f6603c60Sopenharmony_ci # "-Wno-unused-function", 22f6603c60Sopenharmony_ci "-Wno-unused-parameter", 23f6603c60Sopenharmony_ci ] 24f6603c60Sopenharmony_ci 25f6603c60Sopenharmony_ci defines = deqp_common_defines 26f6603c60Sopenharmony_ci 27f6603c60Sopenharmony_ci # defines -=["DE_PTR_SIZE=8"] 28f6603c60Sopenharmony_ci #defines += [ 29f6603c60Sopenharmony_ci # "DE_PTR_SIZE=4", 30f6603c60Sopenharmony_ci # "_XOPEN_SOURCE=600", 31f6603c60Sopenharmony_ci # ] 32f6603c60Sopenharmony_ci} 33f6603c60Sopenharmony_ci 34f6603c60Sopenharmony_ciohos_static_library("libdeqpgles2func0001") { 35f6603c60Sopenharmony_ci subsystem_name = "graphic" 36f6603c60Sopenharmony_ci part_name = "graphic_2d" 37f6603c60Sopenharmony_ci sources = common_src 38f6603c60Sopenharmony_ci sources += [ "../Deqpgles2BaseFunc.cpp" ] 39f6603c60Sopenharmony_ci 40f6603c60Sopenharmony_ci include_dirs = common_include 41f6603c60Sopenharmony_ci deps = common_depends_gles2 42f6603c60Sopenharmony_ci external_deps = [ 43f6603c60Sopenharmony_ci "hilog:libhilog", 44f6603c60Sopenharmony_ci "image_framework:image_native", 45f6603c60Sopenharmony_ci ] 46f6603c60Sopenharmony_ci configs = [ ":deqp_platform_ohos_config" ] 47f6603c60Sopenharmony_ci} 48f6603c60Sopenharmony_ci 49f6603c60Sopenharmony_ciohos_moduletest_suite("ActsDeqpgles2TestSuite0001") { 50f6603c60Sopenharmony_ci subsystem_name = "graphic" 51f6603c60Sopenharmony_ci part_name = "graphic_2d" 52f6603c60Sopenharmony_ci sources = [ 53f6603c60Sopenharmony_ci "../ActsDeqpgles20001TestSuite.cpp", 54f6603c60Sopenharmony_ci "../functional/Deqpgles2conversions_scalar_to_scalarTestCase.cpp", 55f6603c60Sopenharmony_ci "../functional/Deqpgles2conversions_scalar_to_vectorTestCase.cpp", 56f6603c60Sopenharmony_ci "../functional/Deqpgles2conversions_vector_illegalTestCase.cpp", 57f6603c60Sopenharmony_ci "../functional/Deqpgles2conversions_vector_to_scalarTestCase.cpp", 58f6603c60Sopenharmony_ci "../functional/Deqpgles2conversions_vector_to_vectorTestCase.cpp", 59f6603c60Sopenharmony_ci "../functional/Deqpgles2functional_clip_controlTestCase.cpp", 60f6603c60Sopenharmony_ci "../functional/Deqpgles2functional_color_clearTestCase.cpp", 61f6603c60Sopenharmony_ci "../functional/Deqpgles2functional_depth_stencil_clearTestCase.cpp", 62f6603c60Sopenharmony_ci "../functional/Deqpgles2functional_implementation_limitsTestCase.cpp", 63f6603c60Sopenharmony_ci "../functional/Deqpgles2functional_light_amountTestCase.cpp", 64f6603c60Sopenharmony_ci "../functional/Deqpgles2functional_multisampled_render_to_textureTestCase.cpp", 65f6603c60Sopenharmony_ci "../functional/Deqpgles2functional_prerequisiteTestCase.cpp", 66f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_basicTestCase.cpp", 67f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_builtinTestCase.cpp", 68f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_commentsTestCase.cpp", 69f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_conditional_inclusionTestCase.cpp", 70f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_conditionalsTestCase.cpp", 71f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_definitionsTestCase.cpp", 72f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_directiveTestCase.cpp", 73f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_expressionsTestCase.cpp", 74f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_extensionsTestCase.cpp", 75f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_function_definitionsTestCase.cpp", 76f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_function_redefinitionsTestCase.cpp", 77f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_invalid_conditionalsTestCase.cpp", 78f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_invalid_definitionsTestCase.cpp", 79f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_invalid_expressionsTestCase.cpp", 80f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_invalid_function_definitionsTestCase.cpp", 81f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_invalid_opsTestCase.cpp", 82f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_object_redefinitionsTestCase.cpp", 83f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_operator_precedenceTestCase.cpp", 84f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_pragmasTestCase.cpp", 85f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_predefined_macrosTestCase.cpp", 86f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_recursionTestCase.cpp", 87f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_semanticTestCase.cpp", 88f6603c60Sopenharmony_ci "../functional/Deqpgles2preprocessor_undefined_identifiersTestCase.cpp", 89f6603c60Sopenharmony_ci "../functional/Deqpgles2shaders_constantsTestCase.cpp", 90f6603c60Sopenharmony_ci "../functional/Deqpgles2shaders_linkageTestCase.cpp", 91f6603c60Sopenharmony_ci "../functional/Deqpgles2use_index_arrayTestCase.cpp", 92f6603c60Sopenharmony_ci "../functional/Deqpgles2use_vertex_arrayTestCase.cpp", 93f6603c60Sopenharmony_ci "../functional/Deqpgles2write_basicTestCase.cpp", 94f6603c60Sopenharmony_ci "../functional/Deqpgles2write_basic_subdataTestCase.cpp", 95f6603c60Sopenharmony_ci "../functional/Deqpgles2write_partial_specifyTestCase.cpp", 96f6603c60Sopenharmony_ci "../functional/Deqpgles2write_randomTestCase.cpp", 97f6603c60Sopenharmony_ci "../functional/Deqpgles2write_recreate_storeTestCase.cpp", 98f6603c60Sopenharmony_ci "../info/Deqpgles2dEQP-GLES2_infoTestCase.cpp", 99f6603c60Sopenharmony_ci ] 100f6603c60Sopenharmony_ci 101f6603c60Sopenharmony_ci include_dirs = [ "../../../src" ] 102f6603c60Sopenharmony_ci 103f6603c60Sopenharmony_ci deps = [ ":libdeqpgles2func0001" ] 104f6603c60Sopenharmony_ci 105f6603c60Sopenharmony_ci cflags = [ "-Wno-error" ] 106f6603c60Sopenharmony_ci} 107