• 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/config/components/hdi/hdi.gni")
15
16hdi("display_buffer") {
17  module_name = "display_buffer"
18
19  sources = [
20    "DisplayBufferType.idl",
21    "IAllocator.idl",
22    "IMapper.idl",
23  ]
24
25  innerapi_tags = [
26    "chipsetsdk_sp_indirect",
27    "platformsdk_indirect",
28  ]
29
30  branch_protector_ret = "pac_ret"
31
32  language = "cpp"
33  subsystem_name = "hdf"
34  part_name = "drivers_interface_display"
35}
36
37config("libdisplay_buffer_hdi_impl_config") {
38  include_dirs = [ "./../" ]
39}
40
41ohos_shared_library("libdisplay_buffer_hdi_impl") {
42  sources = [ "hdi_impl/display_buffer_hdi_impl.cpp" ]
43
44  public_configs = [ ":libdisplay_buffer_hdi_impl_config" ]
45
46  deps = [ ":libdisplay_buffer_proxy_1.0" ]
47
48  external_deps = [
49    "c_utils:utils",
50    "graphic_surface:buffer_handle",
51    "hdf_core:libhdf_utils",
52    "hdf_core:libhdf_ipc_adapter",
53    "hdf_core:libhdi",
54    "hdf_core:libpub_utils",
55    "hilog:libhilog",
56    "hitrace:hitrace_meter",
57    "ipc:ipc_single",
58  ]
59
60  install_images = [ "system" ]
61  subsystem_name = "hdf"
62  innerapi_tags = [
63    "chipsetsdk",
64    "platformsdk_indirect",
65  ]
66
67  branch_protector_ret = "pac_ret"
68
69  part_name = "drivers_interface_display"
70}
71