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/ohos.gni") 15c5e268c6Sopenharmony_ci 16c5e268c6Sopenharmony_ciohos_shared_library("libcomposer_buffer_cache") { 17c5e268c6Sopenharmony_ci sources = [ 18c5e268c6Sopenharmony_ci "device_cache.cpp", 19c5e268c6Sopenharmony_ci "device_cache_manager.cpp", 20c5e268c6Sopenharmony_ci "layer_cache.cpp", 21c5e268c6Sopenharmony_ci ] 22c5e268c6Sopenharmony_ci 23c5e268c6Sopenharmony_ci include_dirs = [ 24c5e268c6Sopenharmony_ci "./", 25c5e268c6Sopenharmony_ci "../", 26c5e268c6Sopenharmony_ci ] 27c5e268c6Sopenharmony_ci 28c5e268c6Sopenharmony_ci deps = [ 29c5e268c6Sopenharmony_ci "//drivers/interface/display/buffer/v1_0:libdisplay_buffer_stub_1.0", 30c5e268c6Sopenharmony_ci "//drivers/interface/display/buffer/v1_1:libdisplay_buffer_stub_1.1", 31c5e268c6Sopenharmony_ci "//drivers/interface/display/buffer/v1_2:libdisplay_buffer_stub_1.2", 32c5e268c6Sopenharmony_ci ] 33c5e268c6Sopenharmony_ci 34c5e268c6Sopenharmony_ci external_deps = [ 35c5e268c6Sopenharmony_ci "c_utils:utils", 36c5e268c6Sopenharmony_ci "hdf_core:libhdi", 37c5e268c6Sopenharmony_ci "hdf_core:libpub_utils", 38c5e268c6Sopenharmony_ci "hilog:libhilog", 39c5e268c6Sopenharmony_ci "ipc:ipc_single", 40c5e268c6Sopenharmony_ci ] 41c5e268c6Sopenharmony_ci 42c5e268c6Sopenharmony_ci install_images = [ chipset_base_dir ] 43c5e268c6Sopenharmony_ci subsystem_name = "hdf" 44c5e268c6Sopenharmony_ci part_name = "drivers_interface_display" 45c5e268c6Sopenharmony_ci} 46