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/graphic_2d/utils/wmlayout/wmlayout.gni") 16import("graphic_config.gni") 17 18group("default") { 19 public_deps = [ ":graphic.rc" ] 20 21 if (graphic_standard_feature_bootanimation_enable) { 22 public_deps += [ "frameworks/bootanimation:bootanimation" ] 23 public_deps += [ "frameworks/bootanimation:bootanimation_pics" ] 24 public_deps += [ "frameworks/bootanimation:bootanimation_sounds" ] 25 } 26} 27 28group("graphic_2d_test") { 29 testonly = true 30 31 public_deps = [ 32 "frameworks/opengl_wrapper/test:test", 33 "frameworks/surface/test:test", 34 "frameworks/vulkan_wrapper/test:test", 35 "rosen/modules/composer:test", 36 "rosen/modules/effect/test/unittest:test", 37 "rosen/test/frame_analyzer:test", 38 "rosen/test/render_service:test", 39 "utils/color_manager:test", 40 "utils/socketpair:test", 41 "utils/sync_fence:test", 42 ] 43} 44 45## Install graphic.rc to /system/etc/init/graphic.rc {{{ 46ohos_prebuilt_etc("graphic.rc") { 47 source = "graphic.cfg" 48 relative_install_dir = "init" 49 part_name = "graphic_standard" 50 subsystem_name = "graphic" 51} 52 53## Install graphic.rc to /system/etc/init/graphic.rc }}} 54 55group("libsurface") { 56 public_deps = [ "frameworks/surface:surface" ] 57} 58 59group("libfence") { 60 public_deps = [ "frameworks/fence:libfence" ] 61} 62 63group("libgl") { 64 public_deps = libgl 65} 66 67group("libnative_image") { 68 public_deps = [ "frameworks/surfaceimage:libnative_image" ] 69} 70