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("//build/test.gni")
15import("../../../../dsoftbus.gni")
16
17module_output_path = "dsoftbus/transmission"
18
19ohos_unittest("TransClientProxyTest") {
20  module_out_path = module_output_path
21  sources = [ "trans_client_proxy_test.cpp" ]
22
23  include_dirs = [
24    "$dsoftbus_core_path/frame/standard/client_manager/include",
25    "$dsoftbus_core_path/frame/standard/init/include",
26
27    "$dsoftbus_core_path/transmission/ipc/include",
28  ]
29
30  deps = [
31    "$dsoftbus_core_path/common:softbus_utils",
32    "$dsoftbus_core_path/frame:softbus_server",
33    "$dsoftbus_root_path/adapter:softbus_adapter",
34  ]
35
36  external_deps = [
37    "c_utils:utils",
38    "hilog:libhilog",
39    "ipc:ipc_single",
40    "samgr:samgr_proxy",
41  ]
42}
43
44ohos_unittest("TransClientProxyStandardTest") {
45  module_out_path = module_output_path
46  sources = [ "trans_client_proxy_standard_test.cpp" ]
47
48  include_dirs = [
49    "$dsoftbus_core_path/transmission/ipc/standard/include",
50
51    "$dsoftbus_sdk_path/frame/standard/include",
52  ]
53
54  deps = [
55    "$dsoftbus_core_path/common:softbus_utils",
56    "$dsoftbus_core_path/frame:softbus_server",
57  ]
58
59  external_deps = [
60    "c_utils:utils",
61    "hilog:libhilog",
62    "ipc:ipc_single",
63    "samgr:samgr_proxy",
64  ]
65}
66
67group("unittest") {
68  testonly = true
69  deps = [
70    ":TransClientProxyStandardTest",
71    ":TransClientProxyTest",
72  ]
73}
74