1f857971dSopenharmony_ci# Copyright (c) 2022-2024 Huawei Device Co., Ltd.
2f857971dSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3f857971dSopenharmony_ci# you may not use this file except in compliance with the License.
4f857971dSopenharmony_ci# You may obtain a copy of the License at
5f857971dSopenharmony_ci#
6f857971dSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7f857971dSopenharmony_ci#
8f857971dSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9f857971dSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10f857971dSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11f857971dSopenharmony_ci# See the License for the specific language governing permissions and
12f857971dSopenharmony_ci# limitations under the License.
13f857971dSopenharmony_ci
14f857971dSopenharmony_ciimport("device_status.gni")
15f857971dSopenharmony_ci
16f857971dSopenharmony_cigroup("devicestatus_service_group") {
17f857971dSopenharmony_ci  deps = []
18f857971dSopenharmony_ci
19f857971dSopenharmony_ci  if (device_status_intention_framework) {
20f857971dSopenharmony_ci    deps += [ "${device_status_root_path}/intention/cooperate/plugin:intention_cooperate" ]
21f857971dSopenharmony_ci  }
22f857971dSopenharmony_ci
23f857971dSopenharmony_ci  if (device_status_rust_enabled) {
24f857971dSopenharmony_ci    deps += [
25f857971dSopenharmony_ci      "${device_status_root_path}/rust/ipc/server:fusion_ipc_server_ffi",
26f857971dSopenharmony_ci      "${device_status_root_path}/rust/modules/coordination/server:fusion_coordination_server_ffi",
27f857971dSopenharmony_ci      "${device_status_root_path}/rust/modules/drag/server:fusion_drag_server_ffi",
28f857971dSopenharmony_ci      "${device_status_root_path}/rust/subsystem/device_profile/sys:fusion_device_profile_rust",
29f857971dSopenharmony_ci      "${device_status_root_path}/rust/subsystem/distributed_hardware/sys:dm_ffi",
30f857971dSopenharmony_ci      "${device_status_root_path}/rust/subsystem/dsoftbus/sys:fusion_dsoftbus_rust",
31f857971dSopenharmony_ci      "${device_status_root_path}/rust/subsystem/input/sys:input_ffi",
32f857971dSopenharmony_ci    ]
33f857971dSopenharmony_ci  }
34f857971dSopenharmony_ci}
35f857971dSopenharmony_ci
36f857971dSopenharmony_cigroup("device_status_tests") {
37f857971dSopenharmony_ci  testonly = true
38f857971dSopenharmony_ci  deps = [ "test:devicestatus_tests" ]
39f857971dSopenharmony_ci
40f857971dSopenharmony_ci  if (device_status_rust_enabled) {
41f857971dSopenharmony_ci    deps += [ "${device_status_root_path}/rust/modules/scheduler/test:fusion_scheduler_test" ]
42f857971dSopenharmony_ci  }
43f857971dSopenharmony_ci}
44