• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2022-2023 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
14base_root = "../../../../../"
15import("//test/xts/tools/build/suite.gni")
16
17module_output_path = "dcts/distributedhardware"
18
19ohos_moduletest_suite("SubDctsdisScreenTest") {
20  module_out_path = module_output_path
21  include_dirs = [
22    "$base_root/foundation/distributedhardware/distributed_screen/services/common/utils/include",
23    "$base_root/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_sink/include",
24    "$base_root/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/include",
25    "$base_root/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/include/callback",
26    "$base_root/foundation/distributedhardware/distributed_hardware_fwk/common/utils/include",
27    "$base_root/foundation/window/window_manager/interfaces/innerkits/dm",
28    "$base_root/foundation/distributedhardware/distributed_screen/services/screenclient/include",
29    "$base_root/foundation/window/window_manager/interfaces/innerkits/wm",
30    "$base_root/foundation/distributedhardware/distributed_screen/common/include",
31    "$base_root/foundation/distributedhardware/distributed_hardware_fwk/common/log/include",
32    "$base_root/foundation/distributedhardware/distributed_hardware_fwk/utils/include/log",
33    "$base_root/base/security/access_token/interfaces/innerkits/accesstoke/include",
34    "$base_root/base/security/access_token/interfaces/innerkits/nativetoken/include",
35    "$base_root/base/security/access_token/interfaces/innerkits/token_setproc/include",
36    "$base_root/foundation/communication/dsoftbus/interfaces/kits/common",
37  ]
38
39  include_dirs += [ "$base_root/foundation/multimedia/player_framework/interfaces/inner_api/native" ]
40
41  sources = [
42    "decoder_demo.cpp",
43    "dsreen_automat_test.cpp",
44    "test.cpp",
45  ]
46
47  defines = [
48    "HI_LOG_ENABLE",
49    "DH_LOG_TAG=\"SubDctsdisScreenTest\"",
50    "LOG_DOMAIN=0xD004100",
51  ]
52
53  deps = [
54    "$base_root/base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken",
55    "$base_root/base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc",
56    "$base_root/foundation/communication/dsoftbus/adapter:softbus_adapter",
57    "$base_root/foundation/communication/dsoftbus/sdk:softbus_client",
58    "$base_root/foundation/distributedhardware/distributed_screen/common:distributed_screen_utils",
59    "$base_root/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_sink:distributed_screen_sink_sdk",
60    "$base_root/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source:distributed_screen_source_sdk",
61    "$base_root/foundation/distributedhardware/distributed_screen/services/screenclient:distributed_screen_client",
62    "$base_root/foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
63    "$base_root/foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
64    "$base_root/foundation/window/window_manager/dm:libdm",
65    "$base_root/foundation/window/window_manager/wm:libwm",
66  ]
67
68  external_deps = [
69    "access_token:libaccesstoken_sdk",
70    "c_utils:utils",
71    "hilog:libhilog",
72    "player_framework:media_client",
73  ]
74
75  subsystem_name = "distributedhardware"
76  part_name = "distributed_screen"
77}
78