• 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_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      "graphicDisplaySync:ActsGraphicDisplaySyncTest",
34      "graphicDrawingFont:ActsGraphicDrawingFontTest",
35      "graphicEGL:ActsGraphicEglTest",
36      "graphicGLES3:ActsGraphicGles3Test",
37      "graphicGLES3v2:ActsGraphicGles3v2Test",
38      "graphicGlesExtension:ActsGraphicGlesExtensionTest",
39      "graphicHdr:ActsGraphicHdrTest",
40      "graphicImage:ActsGraphicImageTest",
41      "graphicText:ActsGraphicTextTest",
42      "graphicUiEffect:ActsGraphicUiEffectTest",
43      "graphicnapidrawingtest:ActsGraphicNapiDrawingTest",
44      "graphicvulkannapitest:ActsGraphicVulkanTest",
45      "imageNdk:image_ndk_hap",
46      "nativeColorSpaceNdk:ActsNativeColorSpaceTest",
47      "nativeDisplaySoloistNdk:ActsNativeDisplaySoloistTest",
48      "nativeEffectNdk:ActsNativeEffectTest",
49      "nativeFontNdk:ActsNativeFontTest",
50      "nativebuffer:ActsNativeBufferTest",
51      "nativedrawing:ActsNativeDrawingTest",
52      "nativeimage:ActsNativeImageTest",
53      "nativevsync:ActsNativeVsyncTest",
54      "nativewindow:ActsNativeWindowTest",
55      "webGL:webGL_hap_test",
56      "windowNdk:ActsWindowNdkTest",
57      "windowPermission:ActsWindowPermissionTest",
58      "windowStage:ActsWindowStageTest",
59      "windowStageTwo:ActsWindowStageTwoTest",
60      "windowstandard:window_hap_test",
61    ]
62    if (!(product_name == "ohcore")) {
63      deps += [
64        "vkgl:cpvkgl",
65        "vktest:cpVulkan",
66      ]
67    }
68  } else {
69    deps = [
70      "appaccount:appaccount_hap",
71      "osaccount:osaccount_hap",
72    ]
73  }
74}
75