112636162Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd. 212636162Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 312636162Sopenharmony_ci# you may not use this file except in compliance with the License. 412636162Sopenharmony_ci# You may obtain a copy of the License at 512636162Sopenharmony_ci# 612636162Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 712636162Sopenharmony_ci# 812636162Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 912636162Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1012636162Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1112636162Sopenharmony_ci# See the License for the specific language governing permissions and 1212636162Sopenharmony_ci# limitations under the License. 1312636162Sopenharmony_ci 1412636162Sopenharmony_ciimport("//build/ohos.gni") 1512636162Sopenharmony_ciimport("../../extdevmgr.gni") 1612636162Sopenharmony_ci 1712636162Sopenharmony_ciconfig("ext_dvc_mgr_public_config") { 1812636162Sopenharmony_ci include_dirs = [ 1912636162Sopenharmony_ci "./", 2012636162Sopenharmony_ci "${utils_path}/include", 2112636162Sopenharmony_ci ] 2212636162Sopenharmony_ci} 2312636162Sopenharmony_ci 2412636162Sopenharmony_ciohos_shared_library("driver_ext_mgr_client") { 2512636162Sopenharmony_ci include_dirs = [ 2612636162Sopenharmony_ci "${ext_mgr_path}/services/zidl/include", 2712636162Sopenharmony_ci "${ext_mgr_path}/utils/include", 2812636162Sopenharmony_ci ] 2912636162Sopenharmony_ci 3012636162Sopenharmony_ci sources = [ 3112636162Sopenharmony_ci "${ext_mgr_path}/frameworks/native/driver_ext_mgr_client.cpp", 3212636162Sopenharmony_ci "${ext_mgr_path}/services/zidl/src/driver_ext_mgr_callback_stub.cpp", 3312636162Sopenharmony_ci "${ext_mgr_path}/services/zidl/src/driver_ext_mgr_proxy.cpp", 3412636162Sopenharmony_ci "${ext_mgr_path}/services/zidl/src/driver_ext_mgr_types.cpp", 3512636162Sopenharmony_ci ] 3612636162Sopenharmony_ci 3712636162Sopenharmony_ci public_configs = [ ":ext_dvc_mgr_public_config" ] 3812636162Sopenharmony_ci 3912636162Sopenharmony_ci external_deps = [ 4012636162Sopenharmony_ci "c_utils:utils", 4112636162Sopenharmony_ci "hilog:libhilog", 4212636162Sopenharmony_ci "ipc:ipc_core", 4312636162Sopenharmony_ci "samgr:samgr_proxy", 4412636162Sopenharmony_ci ] 4512636162Sopenharmony_ci 4612636162Sopenharmony_ci subsystem_name = "hdf" 4712636162Sopenharmony_ci part_name = "external_device_manager" 4812636162Sopenharmony_ci} 49