1# Copyright (C) 2023 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/ohos_var.gni") 15group("graphic") { 16 testonly = true 17 if (is_standard_system) { 18 deps = [ 19 "LandscapeWindow:LandscapeWindow_Test", 20 "acts_animator:ActsAnimatorTest", 21 "acts_display:ActsDisplayTest", 22 "acts_drawing_native:ActsDrawingNativeTest", 23 "acts_graphicXTSDrawing:ActsDrawingTsTest", 24 "acts_pipwindow:ActsPipWindowTest", 25 "acts_windowCompatibilityTest:ActsWindowCompatibilityTest", 26 "component3D:ActsComponent3DTest", 27 "displayManager:ActsDisplayManagerTest", 28 "displayNdk:ActsDisplayNdkTest", 29 "displayNdkApi14:ActsDisplayNdkApi14Test", 30 "effectKit:ActsEffectKitTest", 31 "graphic3D:ActsGraphic3DTest", 32 "graphicColorSpace:ActsColorSpaceManagerTest", 33 "graphicDrawing:ActsGraphicDrawingTest", 34 "graphicDrawingFont:ActsGraphicDrawingFontTest", 35 "graphicEGL:ActsGraphicEglTest", 36 "graphicGLES3:ActsGraphicGles3Test", 37 "graphicGlesExtension:ActsGraphicGlesExtensionTest", 38 "graphicImage:ActsGraphicImageTest", 39 "graphicText:ActsGraphicTextTest", 40 "graphicUiEffect:ActsGraphicUiEffectTest", 41 "graphicnapidrawingtest:ActsGraphicNapiDrawingTest", 42 "graphicnapitest:ActsGraphicNapiTest", 43 "graphicvulkannapitest:ActsGraphicVulkanTest", 44 "imageNdk:image_ndk_hap", 45 "nativeColorSpaceNdk:ActsNativeColorSpaceTest", 46 "nativeDisplaySoloistNdk:ActsNativeDisplaySoloistTest", 47 "nativeEffectNdk:ActsNativeEffectTest", 48 "nativeFontNdk:ActsNativeFontTest", 49 "nativebuffer:ActsNativeBufferTest", 50 "nativedrawing:ActsNativeDrawingTest", 51 "nativeimage:ActsNativeImageTest", 52 "nativevsync:ActsNativeVsyncTest", 53 "nativewindow:ActsNativeWindowTest", 54 "webGL:webGL_hap_test", 55 "windowNdk:ActsWindowNdkTest", 56 "windowPermission:ActsWindowPermissionTest", 57 "windowStage:ActsWindowStageTest", 58 "windowStageTwo:ActsWindowStageTwoTest", 59 "windowstandard:window_hap_test", 60 ] 61 if (!(product_name == "ohcore")) { 62 deps += [ 63 "vkgl:cpvkgl", 64 "vktest:cpVulkan", 65 ] 66 } 67 } else { 68 deps = [ 69 "appaccount:appaccount_hap", 70 "osaccount:osaccount_hap", 71 ] 72 } 73} 74