Fix ipc_util_config include_dirs for embedded

This commit is contained in:
s_c_c 2024-03-26 11:35:30 +08:00
parent c9aec8165d
commit 960f66db27
2 changed files with 7 additions and 3 deletions

View File

@ -12,7 +12,7 @@
Name: communication_ipc
Version: 1.0.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Inter-process communication (IPC) and Remote Procedure Call (RPC)
License: Apache-2.0 and GPL-2.0
URL: https://gitee.com/openharmony/communication_ipc
@ -230,6 +230,9 @@ insmod /%{ashmem_dest_path}/*.ko
%endif
%changelog
* Tue Mar 26 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-5
- Fix ipc_util_config include_dirs for embedded
* Fri Mar 22 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-4
- Fix ipc and dsoftbus compile errors for embedded

View File

@ -13,6 +13,7 @@
import("//build/ohos.gni")
import("//build/ohos_var.gni")
import("//build/config/sysroot.gni")
SUBSYSTEM_DIR = "//foundation/communication/ipc"
IPC_CORE_ROOT = "$SUBSYSTEM_DIR/ipc/native"
@ -21,9 +22,9 @@ config("ipc_util_config") {
# header file path
include_dirs = [
"$SUBSYSTEM_DIR/interfaces/innerkits/ipc_core/include",
"${sysroot}/usr/include/ipc",
"$IPC_CORE_ROOT/src/core/include",
"$IPC_CORE_ROOT/src/mock/include",
"//commonlibrary/c_utils/base/include",
"${sysroot}/usr/include/c_utils",
]
}