• 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
14if (defined(ohos_lite)) {
15  group("hdi_display") {
16    public_deps = [ "//device/${device_company}/hardware/display:hdi_display" ]
17  }
18} else {
19  config("display_hdi_public_config") {
20    visibility = [ ":*" ]
21    include_dirs = [
22      "//drivers/peripheral/base",
23      "//drivers/peripheral/display/interfaces/include",
24      "//third_party/bounds_checking_function/include",
25    ]
26  }
27
28  group("hdi_display") {
29    deps = [
30      ":hdi_display_device",
31      ":hdi_display_gfx",
32      ":hdi_display_gralloc",
33      ":hdi_display_layer",
34      "//drivers/peripheral/display/interfaces/hdi_cpp/client:display_client",
35    ]
36    if (target_cpu == "arm") {
37      deps += [ "//drivers/peripheral/display/interfaces/hdi_cpp/server:display_service" ]
38    }
39    public_configs = [ ":display_hdi_public_config" ]
40  }
41
42  group("hdi_display_device") {
43    deps = [ "//device/hisilicon/hardware/display:display_device" ]
44    public_configs = [ ":display_hdi_public_config" ]
45  }
46
47  group("hdi_display_gralloc") {
48    deps = [ "//device/hisilicon/hardware/display:display_gralloc" ]
49    public_configs = [ ":display_hdi_public_config" ]
50  }
51
52  group("hdi_display_gfx") {
53    deps = [ "//device/hisilicon/hardware/display:display_gfx" ]
54    public_configs = [ ":display_hdi_public_config" ]
55  }
56
57  group("hdi_display_layer") {
58    deps = [ "//device/hisilicon/hardware/display:display_layer" ]
59    public_configs = [ ":display_hdi_public_config" ]
60  }
61}
62