# Copyright (c) 2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") import("//build/ohos_var.gni") group("unittest") { testonly = true deps = [ "test:unittest" ] } config("distributed_sched_config") { visibility = [ ":*" ] include_dirs = [ "include/", "//foundation/ability/dmsfwk/interfaces/innerkits/continuation_manager/include/", ] } ohos_shared_library("dmsbaseinner") { install_enable = true sources = [ "src/adapter/dnetwork_adapter.cpp", "src/deviceManager/dms_device_info.cpp", "src/dfx/dms_hisysevent_report.cpp", "src/dfx/dms_hitrace_chain.cpp", "src/distributed_device_node_listener.cpp", "src/dms_version_manager.cpp", "src/dtbschedmgr_device_info_storage.cpp", ] public_configs = [ ":distributed_sched_config", "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags", ] external_deps = [ "c_utils:utils", "device_info_manager:distributed_device_profile_client", "device_manager:devicemanagersdk", "dsoftbus:softbus_client", "eventhandler:libeventhandler", "hisysevent_native:libhisysevent", "hitrace_native:libhitracechain", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", "samgr:samgr_proxy", ] part_name = "dmsfwk" subsystem_name = "ability" }