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 16SUBSYSTEM_DIR = "//base/customization/enterprise_device_management" 17 18ohos_shared_library("enterprisedevicemanager") { 19 include_dirs = [ 20 "//base/customization/enterprise_device_management/interfaces/kits/include", 21 "//third_party/node/src", 22 "$SUBSYSTEM_DIR/common/native/include", 23 "$SUBSYSTEM_DIR/interfaces/innerkits/include", 24 ] 25 26 sources = [ "src/enterprise_device_manager_addon.cpp" ] 27 28 deps = [ "//utils/native/base:utils" ] 29 30 external_deps = [ 31 "ability_base:want", 32 "bundle_framework:appexecfwk_base", 33 "enterprise_device_management:edmservice_kits", 34 "hiviewdfx_hilog_native:libhilog", 35 "ipc:ipc_core", 36 "napi:ace_napi", 37 "safwk:system_ability_fwk", 38 "samgr_standard:samgr_proxy", 39 ] 40 41 relative_install_dir = "module" 42 subsystem_name = "customization" 43 part_name = "enterprise_device_management" 44} 45