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 16common_include = [ 17 ".", 18 "//test/xts/acts/graphic/vulkan/src", 19 "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include", 20 "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src", 21 "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/src", 22 "//foundation/graphic/graphic_2d/rosen/modules/render_service_base/include", 23 "//foundation/graphic/graphic_2d/rosen/modules/render_service_client", 24 "//foundation/graphic/graphic_2d/interfaces/innerkits/vsync_module", 25 "//foundation/graphic/graphic_2d/rosen/include/common", 26 "//foundation/window/window_manager/interfaces/innerkits/wm", 27 "//third_party/vk-gl-cts", 28 "//third_party/vk-gl-cts/framework/delibs/debase", 29 "//third_party/vk-gl-cts/framework/delibs/decpp", 30 "//third_party/vk-gl-cts/framework/delibs/depool", 31 "//third_party/vk-gl-cts/framework/delibs/dethread", 32 "//third_party/vk-gl-cts/framework/delibs/deutil", 33 "//third_party/vk-gl-cts/framework/delibs/destream", 34 "//third_party/vk-gl-cts/framework/common", 35 "//third_party/vk-gl-cts/framework/qphelper", 36 "//third_party/vk-gl-cts/framework/xexml", 37 "//third_party/vk-gl-cts/framework/egl", 38 "//third_party/vk-gl-cts/framework/egl/wrapper", 39 "//third_party/vk-gl-cts/framework/opengl", 40 "//third_party/vk-gl-cts/framework/opengl/wrapper", 41 "//third_party/vk-gl-cts/framework/opengl/simplereference", 42 "//third_party/vk-gl-cts/framework/platform/ohos", 43 "//third_party/libpng", 44 "//third_party/vk-gl-cts/external/openglcts/modules", 45 "//third_party/vk-gl-cts/external/openglcts/modules/common", 46 "//third_party/vk-gl-cts/external/openglcts/modules/gl", 47 "//third_party/vk-gl-cts/external/openglcts/modules/gles2", 48 "//third_party/vk-gl-cts/external/openglcts/modules/gles3", 49 "//third_party/vk-gl-cts/external/openglcts/modules/gles31", 50 "//third_party/vk-gl-cts/external/openglcts/modules/gles32", 51 "//third_party/vk-gl-cts/external/openglcts/modules/glesext", 52 "//third_party/vk-gl-cts/external/openglcts/modules/runner", 53 "//third_party/vk-gl-cts/external/vulkancts/framework/vulkan", 54 "//third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan", 55 "//third_party/vk-gl-cts/framework/referencerenderer", 56 "//third_party/vk-gl-cts/modules/glshared", 57 "//third_party/vk-gl-cts/framework/platform/ohos/rosen_context", 58] 59 60common_depends = [ 61 # "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics", 62 # "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base", 63 # "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client", 64 # "//foundation/graphic/graphic_2d/rosen/samples/2d_graphics:drawing_sample_rs", 65 # "//foundation/window/window_manager/wm:libwm", 66 "//third_party/zlib:libz", 67 "//third_party/vk-gl-cts/framework/common:libdeqp_tcutil", 68 "//third_party/vk-gl-cts/framework/delibs/decpp:libdeqp_decpp", 69 "//third_party/vk-gl-cts/framework/delibs/debase:libdeqp_debase", 70 "//third_party/vk-gl-cts/framework/delibs/deutil:libdeqp_deutil", 71 "//third_party/vk-gl-cts/framework/qphelper:libdeqp_qphelper", 72 "//third_party/vk-gl-cts/framework/delibs/dethread:libdeqp_dethread", 73 "//third_party/vk-gl-cts/framework/xexml:libdeqp_xexml", 74 "//third_party/vk-gl-cts/framework/egl:libdeqp_eglutil", 75 "//third_party/vk-gl-cts/framework/egl/wrapper:libdeqp_eglwrapper", 76 "//third_party/vk-gl-cts/framework/opengl:libdeqp_glutil", 77 "//third_party/vk-gl-cts/framework/opengl/wrapper:libdeqp_glwrapper", 78 "//third_party/vk-gl-cts/framework/opengl/simplereference:libdeqp_glutil-sglr", 79 "//third_party/vk-gl-cts/modules/egl:libdeqp-egl", 80 "//third_party/vk-gl-cts/modules/gles2:libdeqp-gles2", 81 "//third_party/vk-gl-cts/modules/gles3:libdeqp-gles3", 82 "//third_party/vk-gl-cts/modules/gles31:libdeqp-gles31", 83 "//third_party/vk-gl-cts/modules/glshared:libdeqp-gl-shared", 84 "//third_party/vk-gl-cts/external/openglcts/modules:libdeqp_glcts", 85 86 # "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", 87 # "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics", 88 # "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base", 89 # "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client", 90 # "//third_party/zlib:libz", 91 92 # "//foundation/window/window_manager/dm:libdm", 93 # "//foundation/window/window_manager/dmserver:libdms", 94 # "//foundation/window/window_manager/wm:libwm", 95 # "//foundation/window/window_manager/wmserver:libwms", 96 "//third_party/vk-gl-cts/framework/platform/ohos/rosen_context:rosen_context", 97] 98 99common_externl_deps = [ 100 "graphic_2d:2d_graphics", 101 "graphic_2d:librender_service_base", 102 "graphic_2d:librender_service_client", 103 "window_manager:libdm", 104 "window_manager:libwm", 105 106 # "window_manager:libdms", 107 # "window_manager:libwms" 108] 109 110common_src = [ 111 "//third_party/vk-gl-cts/framework/platform/ohos/context/tcuOhosNativeContext.cpp", 112 "//third_party/vk-gl-cts/framework/platform/ohos/context/tcuOhosEglContextFactory.cpp", 113 114 "//third_party/vk-gl-cts/framework/platform/ohos/display/tcuOhosNativeDisplay.cpp", 115 "//third_party/vk-gl-cts/framework/platform/ohos/display/tcuOhosEglDisplayFactory.cpp", 116 117 "//third_party/vk-gl-cts/framework/platform/ohos/display/window/tcuOhosNativeWindow.cpp", 118 "//third_party/vk-gl-cts/framework/platform/ohos/display/window/tcuOhosWindowFactory.cpp", 119 "//third_party/vk-gl-cts/framework/platform/ohos/display/pixmap/tcuOhosNativePixmap.cpp", 120 "//third_party/vk-gl-cts/framework/platform/ohos/display/pixmap/tcuOhosPixmapFactory.cpp", 121 122 "//third_party/vk-gl-cts/framework/platform/ohos/tcuOhosPlatform.cpp", 123 "logdefine.cpp", 124 "../../ActsApp.cpp", 125] 126 127import("//foundation/graphic/graphic_2d/graphic_config.gni") 128import("//third_party/vk-gl-cts/vk_gl_cts.gni") 129