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