• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022-2023 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("edmservice_kits_config") {
17  include_dirs = [
18    "account_manager/include",
19    "application_manager/include",
20    "browser/include",
21    "bundle_manager/include",
22    "common/include",
23    "datetime_manager/include",
24    "device_control/include",
25    "device_info/include",
26    "device_settings/include",
27    "network_manager/include",
28    "restrictions/include",
29    "usb_manager/include",
30    "wifi_manager/include",
31  ]
32}
33
34ohos_shared_library("edmservice_kits") {
35  public_configs = [ ":edmservice_kits_config" ]
36
37  sources = [
38    "./account_manager/src/account_manager_proxy.cpp",
39    "./application_manager/src/application_manager_proxy.cpp",
40    "./browser/src/browser_proxy.cpp",
41    "./bundle_manager/src/bundle_manager_proxy.cpp",
42    "./common/src/edm_load_callback.cpp",
43    "./common/src/edm_load_manager.cpp",
44    "./common/src/ent_info.cpp",
45    "./common/src/enterprise_device_mgr_proxy.cpp",
46    "./datetime_manager/src/datetime_manager_proxy.cpp",
47    "./device_control/src/device_control_proxy.cpp",
48    "./device_info/src/device_info_proxy.cpp",
49    "./device_settings/src/device_settings_proxy.cpp",
50    "./network_manager/src/network_manager_proxy.cpp",
51    "./restrictions/src/restrictions_proxy.cpp",
52    "./usb_manager/src/usb_manager_proxy.cpp",
53    "./wifi_manager/src/wifi_manager_proxy.cpp",
54  ]
55
56  innerapi_tags = [ "platformsdk" ]
57
58  configs = [ "../../common/config:coverage_flags" ]
59
60  version_script = "libedmservice_kits.map"
61
62  deps = [ "../../common/native:edm_commom" ]
63
64  external_deps = [
65    "ability_base:want",
66    "bundle_framework:appexecfwk_base",
67    "c_utils:utils",
68    "hilog:libhilog",
69    "init:libbegetutil",
70    "ipc:ipc_core",
71    "netmanager_base:net_conn_manager_if",
72    "samgr:samgr_proxy",
73    "wifi:wifi_sdk",
74  ]
75
76  subsystem_name = "customization"
77  part_name = "enterprise_device_management"
78}
79