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 } 28 29 # 30 # stub library for libdisplay_gralloc 31 # 32 ohos_native_stub_library("libdisplay_gralloc") { 33 public_configs = [ ":libdisplay_exported_config" ] 34 stub_description_file = "./stub/libdisplay_gralloc.stub.json" 35 } 36 37 # 38 # stub library for libdisplay_device 39 # 40 ohos_native_stub_library("libdisplay_device") { 41 public_configs = [ ":libdisplay_exported_config" ] 42 stub_description_file = "./stub/libdisplay_device.stub.json" 43 } 44 45 # 46 # stub library for libdisplay_gfx 47 # 48 ohos_native_stub_library("libdisplay_gfx") { 49 public_configs = [ ":libdisplay_exported_config" ] 50 stub_description_file = "./stub/libdisplay_gfx.stub.json" 51 } 52 53 # 54 # stub library for libdisplay_layer 55 # 56 ohos_native_stub_library("libdisplay_layer") { 57 public_configs = [ ":libdisplay_exported_config" ] 58 stub_description_file = "./stub/libdisplay_layer.stub.json" 59 } 60 61 group("display_device_client") { 62 deps = [ 63 ":libdisplay_device", 64 ":libdisplay_layer", 65 ] 66 public_configs = [ ":libdisplay_exported_config" ] 67 } 68} 69