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("TransIpcStandardTest") {
20  sanitize = {
21    cfi = true
22    cfi_cross_dso = true
23    debug = false
24  }
25  module_out_path = module_output_path
26
27  sources = [ "trans_ipc_test.cpp" ]
28
29  include_dirs = [
30    "$dsoftbus_root_path/interfaces/inner_kits/lnn",
31
32    "$dsoftbus_core_path/common/include",
33    "$dsoftbus_core_path/frame/standard/init/include",
34
35    "$dsoftbus_sdk_path/transmission/ipc/include",
36    "$dsoftbus_sdk_path/transmission/ipc/standard/include",
37    "$dsoftbus_sdk_path/transmission/ipc/standard/src",
38    "$dsoftbus_sdk_path/transmission/session/include",
39  ]
40
41  deps = [
42    "$dsoftbus_core_path/common:softbus_utils",
43    "$dsoftbus_root_path/adapter:softbus_adapter",
44    "$dsoftbus_test_path/sdk:softbus_client_static",
45  ]
46
47  external_deps = [
48    "c_utils:utils",
49    "hilog:libhilog",
50    "ipc:ipc_single",
51  ]
52}
53
54group("unittest") {
55  testonly = true
56  deps = [ ":TransIpcStandardTest" ]
57}
58