# Copyright (C) 2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("//build/test.gni") # SUBSYSTEM_DIR = "//foundation/communication/ipc" # IPC_TEST_ROOT = "//foundation/communication/ipc/ipc/test" MODULE_OUTPUT_PATH = "ipc" ohos_unittest("RPCDbinderTest") { module_out_path = MODULE_OUTPUT_PATH include_dirs = [ "//foundation/communication/ipc/ipc/native/c/manager/include", "//foundation/communication/ipc/utils/include", "//foundation/communication/dsoftbus/sdk/transmission/session/cpp/src", "//foundation/communication/ipc/interfaces/innerkits/ipc_core/include", "//foundation/communication/ipc/ipc/native/c/rpc/include", ] sources = [ "dbinder_death_recipient_unittest.cpp", "dbinder_remote_listener_unittest.cpp", "dbinder_service_stub_unittest.cpp", "dbinder_service_unittest.cpp", ] configs = [] deps = [ "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core", "//third_party/googletest:gtest_main", ] external_deps = [ "c_utils:utils", "dsoftbus:softbus_client", "hiviewdfx_hilog_native:libhilog", "ipc:libdbinder", ] resource_config_file = "//foundation/communication/ipc/test/resource/ipc/ohos_test.xml" } ############################################################################### group("unittest") { testonly = true deps = [ ":RPCDbinderTest" ] }