• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 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("display_device_client") {
16  }
17} else {
18  import("//build/ohos.gni")
19  import("//build/ohos/native_stub/native_stub.gni")
20
21  #
22  # exported include directories
23  #
24  config("libdisplay_exported_config") {
25    visibility = [ ":*" ]
26    include_dirs = [
27      "//drivers/peripheral/base",
28      "//drivers/peripheral/display/interfaces/include",
29    ]
30  }
31
32  #
33  # stub library for libdisplay_gralloc
34  #
35  ohos_native_stub_library("libdisplay_gralloc") {
36    public_configs = [ ":libdisplay_exported_config" ]
37    stub_description_file = "./stub/libdisplay_gralloc.stub.json"
38  }
39
40  #
41  # stub library for libdisplay_device
42  #
43  ohos_native_stub_library("libdisplay_device") {
44    public_configs = [ ":libdisplay_exported_config" ]
45    stub_description_file = "./stub/libdisplay_device.stub.json"
46  }
47
48  #
49  # stub library for libdisplay_gfx
50  #
51  ohos_native_stub_library("libdisplay_gfx") {
52    public_configs = [ ":libdisplay_exported_config" ]
53    stub_description_file = "./stub/libdisplay_gfx.stub.json"
54  }
55
56  #
57  # stub library for libdisplay_layer
58  #
59  ohos_native_stub_library("libdisplay_layer") {
60    public_configs = [ ":libdisplay_exported_config" ]
61    stub_description_file = "./stub/libdisplay_layer.stub.json"
62  }
63
64  group("display_device_client") {
65    deps = [
66      ":libdisplay_device",
67      ":libdisplay_layer",
68    ]
69    public_configs = [ ":libdisplay_exported_config" ]
70  }
71}
72