msdp_device_status/BUILD.gn
yang123 0b737cbab5 device status 弹性部署
Signed-off-by: yang123 <yangyanling13@huawei.com>
2024-07-19 06:45:55 +00:00

54 lines
2.1 KiB
Plaintext
Executable File

# Copyright (c) 2022-2024 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 (device_status_intention_framework) {
deps += [ "${device_status_root_path}/intention/cooperate/plugin:intention_cooperate" ]
}
if (device_status_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/device_profile/sys:fusion_device_profile_rust",
"${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("device_status_tests") {
testonly = true
deps = [
"frameworks/native/interaction/test:interaction_manager_test",
"intention/adapters/test:intention_adapter_test",
"intention/common/channel:intention_channel_test",
"intention/cooperate/test:intention_cooperate_tests",
"intention/services/test:intention_services_test",
"intention/stationary/test:intention_stationary_test",
"services/native/test:devicestatussrv_test",
"test/fuzztest:device_status_fuzztest",
"test/unittest:device_status_unittest",
]
if (device_status_rust_enabled) {
deps += [ "${device_status_root_path}/rust/modules/scheduler/test:fusion_scheduler_test" ]
}
}