# 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_ability_manager_config") { visibility = [ ":*" ] include_dirs = [ "include/", "//foundation/ability/dmsfwk/interfaces/innerkits/common/include/", "//foundation/ability/dmsfwk/interfaces/innerkits/continuation_manager/include/", ] } ohos_shared_library("distributed_ability_manager_svr") { install_enable = true sources = [ "src/continuation_manager/app_device_callback_stub.cpp", "src/continuation_manager/connect_status_info.cpp", "src/continuation_manager/continuation_extra_params.cpp", "src/continuation_manager/continuation_result.cpp", "src/continuation_manager/device_selection_notifier_proxy.cpp", "src/continuation_manager/device_selection_notifier_stub.cpp", "src/continuation_manager/notifier_death_recipient.cpp", "src/continuation_manager/notifier_info.cpp", "src/distributed_ability_manager_dumper.cpp", "src/distributed_ability_manager_service.cpp", "src/distributed_ability_manager_stub.cpp", ] configs = [ ":distributed_ability_manager_config", "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags", ] ldflags = [ "-rdynamic" ] external_deps = [ "access_token:libaccesstoken_sdk", "c_utils:utils", "device_manager:devicemanagersdk", "eventhandler:libeventhandler", "hiviewdfx_hilog_native:libhilog", "init:libbegetutil", "ipc:ipc_core", "safwk:system_ability_fwk", ] deps = [ "//foundation/ability/dmsfwk/services/base:dmsbaseinner" ] part_name = "dmsfwk" subsystem_name = "ability" }