• 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_composer") {
17  module_name = "display_composer"
18
19  proxy_deps = [ "../v1_0:libdisplay_composer_proxy_1.0" ]
20  stub_deps = [ "../v1_0:libdisplay_composer_stub_1.0" ]
21
22  sources = [
23    "DisplayComposerType.idl",
24    "IDisplayComposer.idl",
25    "IModeCallback.idl",
26    "ISeamlessChangeCallback.idl",
27  ]
28
29  deps = [ "../hdifd_parcelable:libhdifd_parcelable" ]
30
31  language = "cpp"
32  subsystem_name = "hdf"
33  part_name = "drivers_interface_display"
34
35  public_configs = [ "../hdifd_parcelable/" ]
36}
37
38config("libdisplay_composer_hdi_impl_config") {
39  include_dirs = [
40    "../",
41    "../hdifd_parcelable",
42  ]
43}
44
45ohos_shared_library("libdisplay_composer_hdi_impl_1.1") {
46  sources = [ "../v1_1/hdi_impl/display_composer_interface.cpp" ]
47
48  public_configs = [ ":libdisplay_composer_hdi_impl_config" ]
49
50  deps = [
51    ":libdisplay_composer_proxy_1.1",
52    "../hdifd_parcelable:libhdifd_parcelable",
53    "../v1_0:libdisplay_composer_proxy_1.0",
54  ]
55
56  external_deps = [
57    "c_utils:utils",
58    "graphic_surface:buffer_handle",
59    "hdf_core:libhdf_utils",
60    "hdf_core:libhdf_ipc_adapter",
61    "hdf_core:libhdi",
62    "hdf_core:libpub_utils",
63    "hilog:libhilog",
64    "hitrace:hitrace_meter",
65    "init:libbegetutil",
66    "ipc:ipc_single",
67  ]
68
69  install_images = [ "system" ]
70  subsystem_name = "hdf"
71  part_name = "drivers_interface_display"
72}
73