• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_graphicXTSDrawing_static:ActsDrawingTsStaticTest",
25      "acts_pipwindow:ActsPipWindowTest",
26      "acts_windowCompatibilityTest:ActsWindowCompatibilityTest",
27      "component3D:ActsComponent3DTest",
28      "displayManager:ActsDisplayManagerTest",
29      "displayNdk:ActsDisplayNdkTest",
30      "displayNdkApi14:ActsDisplayNdkApi14Test",
31      "effectKit:ActsEffectKitTest",
32      "graphic3D:ActsGraphic3DTest",
33      "graphicColorSpace:ActsColorSpaceManagerTest",
34      "graphicColorSpaceStatic:ActsColorSpaceManagerStaticTest",
35      "graphicDisplaySync:ActsGraphicDisplaySyncTest",
36      "graphicDrawingFont:ActsGraphicDrawingFontTest",
37      "graphicEGL:ActsGraphicEglTest",
38      "graphicGL4:ActsGraphicGl4Test",
39      "graphicEffectKitStatic:ActsGraphicEffectKitStaticTest",
40      "graphicGLES3:ActsGraphicGles3Test",
41      "graphicGLES3v2:ActsGraphicGles3v2Test",
42      "graphicGlesExtension:ActsGraphicGlesExtensionTest",
43      "graphicHdr:ActsGraphicHdrTest",
44      "graphicHdrStatic:ActsGraphicHdrStaticTest",
45      "graphicImage:ActsGraphicImageTest",
46      "graphicImageStatic:ActsGraphicImageStaticTest",
47      "graphicText:ActsGraphicTextTest",
48      "graphicTextStatic:ActsGraphicTextStaticTest",
49      "graphicUiEffect:ActsGraphicUiEffectTest",
50      "graphicUiEffectStatic:ActsGraphicUiEffectStaticTest",
51      "graphicnapidrawingtest:ActsGraphicNapiDrawingTest",
52      "graphics2DTestApi20:ActsGraphics2DApi20Test",
53      "graphicvulkannapitest:ActsGraphicVulkanTest",
54      "imageNdk:image_ndk_hap",
55      "nativeColorSpaceNdk:ActsNativeColorSpaceTest",
56      "nativeDisplaySoloistNdk:ActsNativeDisplaySoloistTest",
57      "nativeEffectNdk:ActsNativeEffectTest",
58      "nativeFontNdk:ActsNativeFontTest",
59      "nativebuffer:ActsNativeBufferTest",
60      "nativedrawing:ActsNativeDrawingTest",
61      "nativefence:ActsNativeFenceTest",
62      "nativeimage:ActsNativeImageTest",
63      "nativevsync:ActsNativeVsyncTest",
64      "nativewindow:ActsNativeWindowTest",
65      "webGL:webGL_hap_test",
66      "windowNdk:ActsWindowNdkTest",
67      "windowPermission:ActsWindowPermissionTest",
68      "windowStage:ActsWindowStageTest",
69      "windowStageTwo:ActsWindowStageTwoTest",
70      "windowstandard:window_hap_test",
71    ]
72    if (!(product_name == "ohcore")) {
73      deps += [
74        "gltest:cpOpenGL",
75        "vkgl:cpvkgl",
76        "vktest:cpVulkan",
77      ]
78    }
79  } else {
80    deps = [
81      "appaccount:appaccount_hap",
82      "osaccount:osaccount_hap",
83    ]
84  }
85}
86