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/ohos.gni") 15import("//foundation/graphic/standard/utils/wmlayout/wmlayout.gni") 16import("graphic_config.gni") 17 18group("default") { 19 public_deps = [ 20 ":default.scss", 21 ":graphic.rc", 22 "frameworks/animation_server:animation_server", 23 "frameworks/animation_server:cursor.raw", 24 "frameworks/bootanimation:bootanimation", 25 "frameworks/bootanimation:bootanimation_pics", 26 "frameworks/bootanimation:bootanimation_sounds", 27 "frameworks/dumper:gdumper", 28 "frameworks/dumper:gdumper.ini", 29 "frameworks/dumper:graphic_dumper_server", 30 "frameworks/vsync:vsync_server", 31 "frameworks/wmserver:screen-info-test", 32 "frameworks/wmserver:wmserver", 33 "frameworks/wmservice:wmservice_test", 34 ] 35} 36 37group("graphic_standard_test") { 38 testonly = true 39 40 public_deps = [ 41 "frameworks/fence:test", 42 "frameworks/surface:test", 43 "frameworks/wmtest:wmtest", 44 "rosen/modules/composer:test", 45 "rosen/modules/effect/test/unittest:test", 46 ] 47} 48 49## Install graphic.rc to /system/etc/init/graphic.rc {{{ 50ohos_prebuilt_etc("graphic.rc") { 51 source = "graphic.cfg" 52 relative_install_dir = "init" 53 part_name = "graphic_standard" 54 subsystem_name = "graphic" 55} 56 57## Install graphic.rc to /system/etc/init/graphic.rc }}} 58 59## Install default.scss to /system/etc/wmlayout.d/default.scss {{{ 60wmlayout_scss("default.scss") { 61 scss = "default.scss" 62 part_name = "graphic_standard" 63 subsystem_name = "graphic" 64} 65 66## Install default.scss to /system/etc/wmlayout.d/default.scss }}} 67 68group("libsurface") { 69 public_deps = [ "frameworks/surface:surface" ] 70 if (ace_enable_gpu) { 71 public_deps += [ "frameworks/surfaceimage:libsurfaceimage" ] 72 } 73} 74 75group("libvsync_client") { 76 public_deps = [ "frameworks/vsync:libvsync_client" ] 77} 78 79group("libwms_client") { 80 public_deps = [ "frameworks/wm:wms_client" ] 81} 82 83group("libwmclient") { 84 public_deps = [ "frameworks/wm:libwmclient" ] 85} 86 87group("libwmservice") { 88 public_deps = [ "frameworks/wmservice:libwmservice" ] 89} 90 91group("libfence") { 92 public_deps = [ "frameworks/fence:libfence" ] 93} 94 95group("libgl") { 96 public_deps = [ 97 "//third_party/EGL:libEGL", 98 "//third_party/openGLES:libGLES", 99 ] 100 public_deps += libgl 101} 102 103group("libgraphic_dumper_client") { 104 public_deps = [ "frameworks/dumper:libgraphic_dumper_client" ] 105} 106