• 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
14import("//build/ohos.gni")
15
16config("buffer_vdi_config") {
17  include_dirs = [ "./buffer/hdi_service/include" ]
18}
19
20config("composer_vdi_config") {
21  include_dirs = [ "./composer/hdi_service/include" ]
22}
23
24ohos_static_library("display_buffer_vdi_config") {
25  public_configs = [ ":buffer_vdi_config" ]
26}
27
28ohos_static_library("display_composer_vdi_config") {
29  public_configs = [ ":composer_vdi_config" ]
30}
31
32if (defined(ohos_lite)) {
33  group("display_entry") {
34    deps = [ "hal:hdi_display" ]
35  }
36  group("display_test_entry") {
37    testonly = true
38    deps = [ "test:hdf_test_display" ]
39  }
40} else {
41  group("display_entry") {
42    deps = [
43      "buffer:display_buffer_entry",
44      "composer:display_composer_entry",
45    ]
46  }
47  group("display_test_entry") {
48    testonly = true
49    deps = [
50      "buffer/test:display_buffer_test",
51      "composer/test:display_composer_test",
52    ]
53  }
54}
55