• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 (fusion_intention_framework) {
20    deps += [ "${device_status_root_path}/intention/cooperate/plugin:intention_cooperate" ]
21  }
22
23  if (fusion_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/device_profile/sys:fusion_device_profile_rust",
29      "${device_status_root_path}/rust/subsystem/distributed_hardware/sys:dm_ffi",
30      "${device_status_root_path}/rust/subsystem/dsoftbus/sys:fusion_dsoftbus_rust",
31      "${device_status_root_path}/rust/subsystem/input/sys:input_ffi",
32    ]
33  }
34}
35
36group("device_status_tests") {
37  testonly = true
38  deps = [
39    "frameworks/native/interaction/test:interaction_manager_test",
40    "intention/adapters/test:intention_adapter_test",
41    "intention/common/channel:intention_channel_test",
42    "intention/cooperate/test:device_status_unittests",
43    "intention/services/test:intention_services_test",
44    "services/native/test:devicestatussrv_test",
45    "test/fuzztest:device_status_fuzztest",
46    "test/unittest:device_status_unittest",
47  ]
48
49  if (fusion_rust_enabled) {
50    deps += [ "${device_status_root_path}/rust/modules/scheduler/test:fusion_scheduler_test" ]
51  }
52}
53