• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021 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("//drivers/adapter/uhdf2/uhdf.gni")
16
17group("display_client") {
18  if (is_standard_system) {
19    deps = [ ":libhdi_display_layer_client" ]
20  }
21}
22
23if (is_standard_system) {
24  ohos_shared_library("libhdi_display_layer_client") {
25    include_dirs = [
26      "../../include",
27      "//drivers/peripheral/base",
28    ]
29
30    sources = [ "display_layer_proxy.cpp" ]
31
32    deps = [
33      "$hdf_uhdf_path/hdi:libhdi",
34      "//drivers/adapter/uhdf2/host:libhdf_host",
35      "//drivers/adapter/uhdf2/ipc:libhdf_ipc_adapter",
36      "//drivers/adapter/uhdf2/osal:libhdf_utils",
37      "//foundation/graphic/standard/utils:buffer_handle",
38    ]
39
40    if (is_standard_system) {
41      external_deps = [
42        "hiviewdfx_hilog_native:libhilog",
43        "ipc:ipc_core",
44      ]
45    } else {
46      external_deps = [ "hilog:libhilog" ]
47    }
48
49    # install_images = [ "vendor" ]
50    subsystem_name = "hdf"
51    part_name = "hdf"
52  }
53}
54