1c5e268c6Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 2c5e268c6Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3c5e268c6Sopenharmony_ci# you may not use this file except in compliance with the License. 4c5e268c6Sopenharmony_ci# You may obtain a copy of the License at 5c5e268c6Sopenharmony_ci# 6c5e268c6Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7c5e268c6Sopenharmony_ci# 8c5e268c6Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9c5e268c6Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10c5e268c6Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11c5e268c6Sopenharmony_ci# See the License for the specific language governing permissions and 12c5e268c6Sopenharmony_ci# limitations under the License. 13c5e268c6Sopenharmony_ci 14c5e268c6Sopenharmony_ciimport("//build/config/components/hdi/hdi.gni") 15c5e268c6Sopenharmony_ci 16c5e268c6Sopenharmony_cihdi("display_buffer") { 17c5e268c6Sopenharmony_ci module_name = "display_buffer" 18c5e268c6Sopenharmony_ci 19c5e268c6Sopenharmony_ci sources = [ 20c5e268c6Sopenharmony_ci "DisplayBufferType.idl", 21c5e268c6Sopenharmony_ci "IAllocator.idl", 22c5e268c6Sopenharmony_ci "IMapper.idl", 23c5e268c6Sopenharmony_ci ] 24c5e268c6Sopenharmony_ci 25c5e268c6Sopenharmony_ci innerapi_tags = [ 26c5e268c6Sopenharmony_ci "chipsetsdk_indirect", 27c5e268c6Sopenharmony_ci "platformsdk_indirect", 28c5e268c6Sopenharmony_ci ] 29c5e268c6Sopenharmony_ci 30c5e268c6Sopenharmony_ci branch_protector_ret = "pac_ret" 31c5e268c6Sopenharmony_ci 32c5e268c6Sopenharmony_ci language = "cpp" 33c5e268c6Sopenharmony_ci subsystem_name = "hdf" 34c5e268c6Sopenharmony_ci part_name = "drivers_interface_display" 35c5e268c6Sopenharmony_ci} 36c5e268c6Sopenharmony_ci 37c5e268c6Sopenharmony_ciconfig("libdisplay_buffer_hdi_impl_config") { 38c5e268c6Sopenharmony_ci include_dirs = [ "./../" ] 39c5e268c6Sopenharmony_ci} 40c5e268c6Sopenharmony_ci 41c5e268c6Sopenharmony_ciohos_shared_library("libdisplay_buffer_hdi_impl") { 42c5e268c6Sopenharmony_ci sources = [ "hdi_impl/display_buffer_hdi_impl.cpp" ] 43c5e268c6Sopenharmony_ci 44c5e268c6Sopenharmony_ci public_configs = [ ":libdisplay_buffer_hdi_impl_config" ] 45c5e268c6Sopenharmony_ci 46c5e268c6Sopenharmony_ci deps = [ ":libdisplay_buffer_proxy_1.0" ] 47c5e268c6Sopenharmony_ci 48c5e268c6Sopenharmony_ci external_deps = [ 49c5e268c6Sopenharmony_ci "c_utils:utils", 50c5e268c6Sopenharmony_ci "graphic_surface:buffer_handle", 51c5e268c6Sopenharmony_ci "hdf_core:libhdi", 52c5e268c6Sopenharmony_ci "hdf_core:libpub_utils", 53c5e268c6Sopenharmony_ci "hilog:libhilog", 54c5e268c6Sopenharmony_ci "ipc:ipc_single", 55c5e268c6Sopenharmony_ci ] 56c5e268c6Sopenharmony_ci 57c5e268c6Sopenharmony_ci install_images = [ "system" ] 58c5e268c6Sopenharmony_ci subsystem_name = "hdf" 59c5e268c6Sopenharmony_ci innerapi_tags = [ 60c5e268c6Sopenharmony_ci "chipsetsdk_indirect", 61c5e268c6Sopenharmony_ci "platformsdk_indirect", 62c5e268c6Sopenharmony_ci ] 63c5e268c6Sopenharmony_ci 64c5e268c6Sopenharmony_ci branch_protector_ret = "pac_ret" 65c5e268c6Sopenharmony_ci 66c5e268c6Sopenharmony_ci part_name = "drivers_interface_display" 67c5e268c6Sopenharmony_ci} 68