• 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")
15import("//build/ohos_var.gni")
16
17group("unittest") {
18  testonly = true
19  deps = [ "test:unittest" ]
20}
21
22config("distributed_sched_config") {
23  visibility = [ ":*" ]
24  include_dirs = [
25    "include/",
26    "//foundation/ability/dmsfwk/interfaces/innerkits/continuation_manager/include/",
27  ]
28}
29
30ohos_shared_library("dmsbaseinner") {
31  install_enable = true
32  sources = [
33    "src/adapter/dnetwork_adapter.cpp",
34    "src/deviceManager/dms_device_info.cpp",
35    "src/dfx/dms_hisysevent_report.cpp",
36    "src/dfx/dms_hitrace_chain.cpp",
37    "src/distributed_device_node_listener.cpp",
38    "src/dms_version_manager.cpp",
39    "src/dtbschedmgr_device_info_storage.cpp",
40  ]
41  public_configs = [
42    ":distributed_sched_config",
43    "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
44  ]
45
46  external_deps = [
47    "c_utils:utils",
48    "device_info_manager:distributed_device_profile_client",
49    "device_manager:devicemanagersdk",
50    "dsoftbus:softbus_client",
51    "eventhandler:libeventhandler",
52    "hisysevent_native:libhisysevent",
53    "hitrace_native:libhitracechain",
54    "hiviewdfx_hilog_native:libhilog",
55    "ipc:ipc_core",
56    "safwk:system_ability_fwk",
57    "samgr:samgr_proxy",
58  ]
59  part_name = "dmsfwk"
60  subsystem_name = "ability"
61}
62