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 "effectKit:ActsEffectKitTest", 30 "graphic3D:ActsGraphic3DTest", 31 "graphicColorSpace:ActsColorSpaceManagerTest", 32 "graphicDrawingFont:ActsGraphicDrawingFontTest", 33 "graphicEGL:ActsGraphicEglTest", 34 "graphicEffectFliterTest:ActsGraphicEffectFliterTest", 35 "graphicGLES3:ActsGraphicGles3Test", 36 "graphicGlesExtension:ActsGraphicGlesExtensionTest", 37 "graphicImage:ActsGraphicImageTest", 38 "graphicText:ActsGraphicTextTest", 39 "graphicUiEffect:ActsGraphicUiEffectTest", 40 "graphicnapidrawingtest:ActsGraphicNapiDrawingTest", 41 "graphicnapitest:ActsGraphicNapiTest", 42 "graphicvulkannapitest:ActsGraphicVulkanTest", 43 "imageNdk:image_ndk_hap", 44 "nativeColorSpaceNdk:ActsNativeColorSpaceTest", 45 "nativeEffectNdk:ActsNativeEffectTest", 46 "nativebuffer:ActsNativeBufferTest", 47 "nativedrawing:ActsNativeDrawingTest", 48 "nativeimage:ActsNativeImageTest", 49 "nativevsync:ActsNativeVsyncTest", 50 "nativewindow:ActsNativeWindowTest", 51 "webGL:webGL_hap_test", 52 "windowNdk:ActsWindowNdkTest", 53 "windowPermission:ActsWindowPermissionTest", 54 "windowStage:ActsWindowStageTest", 55 "windowStageTwo:ActsWindowStageTwoTest", 56 "windowstandard:window_hap_test", 57 ] 58 if (!(product_name == "ohcore")) { 59 deps += [ 60 "vkgl:cpvkgl", 61 "vktest:cpVulkan", 62 ] 63 } 64 } else { 65 deps = [ 66 "appaccount:appaccount_hap", 67 "osaccount:osaccount_hap", 68 ] 69 } 70} 71