msdp_device_status/BUILD.gn
baoshubei 0ea09c6127 Modified gn file and add new cooperate file
Signed-off-by: baoshubei <baoshubei@huawei.com>
Change-Id: I6db5058e098928e6c015f2e9e0b87d0272493b23
2023-10-25 01:38:43 +00:00

58 lines
2.3 KiB
Plaintext
Executable File

# Copyright (c) 2022-2023 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("device_status.gni")
group("devicestatus_service_group") {
deps = []
if (fusion_rust_enabled) {
deps += [
"${device_status_root_path}/rust/ipc/server:fusion_ipc_server_ffi",
"${device_status_root_path}/rust/modules/coordination/server:fusion_coordination_server_ffi",
"${device_status_root_path}/rust/modules/drag/server:fusion_drag_server_ffi",
"${device_status_root_path}/rust/subsystem/distributed_hardware/sys:dm_ffi",
"${device_status_root_path}/rust/subsystem/dsoftbus/sys:fusion_dsoftbus_rust",
"${device_status_root_path}/rust/subsystem/input/sys:input_ffi",
]
}
}
group("intention_group") {
deps = [
"${device_status_root_path}/intention/data:cooperate_params",
"${device_status_root_path}/intention/data:drag_params",
"${device_status_root_path}/intention/frameworks/client:intention_client",
"${device_status_root_path}/intention/ipc:intention_ipc",
"${device_status_root_path}/intention/plugins/cooperate:intention_cooperate",
"${device_status_root_path}/intention/plugins/drag:intention_drag",
"${device_status_root_path}/intention/scheduler/plugin_manager:plugin_manager",
"${device_status_root_path}/intention/scheduler/task_scheduler:task_scheduler",
"${device_status_root_path}/intention/scheduler/timer_manager:timer_manager",
"${device_status_root_path}/intention/services:intention_service",
]
}
group("device_status_tests") {
testonly = true
deps = [
"frameworks/native/interaction/test:interaction_manager_test",
"services/native/test:devicestatussrv_test",
"test/fuzztest:device_status_fuzztest",
]
if (fusion_rust_enabled) {
deps += [ "${device_status_root_path}/rust/modules/scheduler/test:fusion_scheduler_test" ]
}
}