1# Copyright (c) 2022-2024 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("device_status.gni") 15 16group("devicestatus_service_group") { 17 deps = [] 18 19 if (device_status_intention_framework) { 20 deps += [ "${device_status_root_path}/intention/cooperate/plugin:intention_cooperate" ] 21 } 22 23 if (device_status_rust_enabled) { 24 deps += [ 25 "${device_status_root_path}/rust/ipc/server:fusion_ipc_server_ffi", 26 "${device_status_root_path}/rust/modules/coordination/server:fusion_coordination_server_ffi", 27 "${device_status_root_path}/rust/modules/drag/server:fusion_drag_server_ffi", 28 "${device_status_root_path}/rust/subsystem/distributed_hardware/sys:dm_ffi", 29 "${device_status_root_path}/rust/subsystem/dsoftbus/sys:fusion_dsoftbus_rust", 30 "${device_status_root_path}/rust/subsystem/input/sys:input_ffi", 31 ] 32 } 33} 34 35group("device_status_tests") { 36 testonly = true 37 deps = [ "test:devicestatus_tests" ] 38 39 if (device_status_rust_enabled) { 40 deps += [ "${device_status_root_path}/rust/modules/scheduler/test:fusion_scheduler_test" ] 41 } 42} 43