1# Copyright (c) 2022 Huawei Device 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("//build/test.gni") 15 16module_out_path = "graphic_standard/vulkan_wrapper" 17 18group("systemtest") { 19 testonly = true 20 21 deps = [ ":vulkan_wrapper_api_test" ] 22} 23 24## SystemTest vulkan_wrapper_api_test {{{ 25ohos_systemtest("vulkan_wrapper_api_test") { 26 module_out_path = module_out_path 27 28 sources = [ "vulkan_wrapper_api_test.cpp" ] 29 30 include_dirs = [ 31 "//foundation/graphic/graphic_2d/frameworks/surface/include", 32 "//foundation/graphic/graphic_2d/interfaces/inner_api/surface", 33 "//foundation/graphic/graphic_2d/interfaces/inner_api/common", 34 "//foundation/graphic/graphic_2d/rosen/modules/render_service_client", 35 "//foundation/window/window_manager/interfaces/innerkits", 36 "//foundation/graphic/graphic_2d/frameworks/vulkan_wrapper/include", 37 ] 38 39 cflags = [ 40 "-Wall", 41 "-Werror", 42 "-g3", 43 "-Dprivate=public", 44 "-Dprotected=public", 45 "-Wsign-compare", 46 ] 47 48 deps = [ 49 "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", 50 "//foundation/graphic/graphic_2d:libsurface", 51 "//foundation/graphic/graphic_2d/frameworks/surface:surface", 52 "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics:2d_graphics", 53 "//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base", 54 "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client", 55 "//foundation/graphic/graphic_2d/utils:libgraphic_utils", 56 "//foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk:system_ability_fwk", 57 "//foundation/window/window_manager/wm:libwm", 58 "//foundation/window/window_manager/wmserver:libwms", 59 "//third_party/googletest:gtest_main", 60 "//third_party/vulkan-headers:vulkan_headers", 61 "//third_party/zlib:libz", 62 ] 63} 64## SystemTest vulkan_wrapper_api_test }}} 65