Fix sdk and binder sysroot path for embedded

This commit is contained in:
s_c_c 2024-04-08 10:06:37 +08:00
parent 960f66db27
commit ff9d6d06ae
3 changed files with 9 additions and 9 deletions

View File

@ -12,11 +12,12 @@
# limitations under the License.
import("//build/ohos.gni")
import("//build/config/sysroot.gni")
config("libdbinder_config") {
include_dirs = [
" /usr/include/c_utils",
"/usr/include/ipc",
"${sysroot}/usr/include/c_utils",
"${sysroot}/usr/include/ipc",
]
libs = [ "dbinder.z" ]
}

View File

@ -12,7 +12,7 @@
Name: communication_ipc
Version: 1.0.0
Release: 5%{?dist}
Release: 6%{?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
* Wed Apr 3 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-6
- Fix sdk and binder sysroot path for embedded
* Tue Mar 26 2024 s_c_c <shichuchao@huawei.com> - 1.0.0-5
- Fix ipc_util_config include_dirs for embedded

View File

@ -13,18 +13,14 @@
import("//build/ohos.gni")
import("//build/ohos_var.gni")
import("//build/config/sysroot.gni")
dsoftbus_root_path = "//foundation/communication/dsoftbus"
config("dsoftbus_sdk_interface") {
include_dirs = [
"$dsoftbus_root_path/interfaces/kits",
"$dsoftbus_root_path/interfaces/kits/bus_center",
"$dsoftbus_root_path/interfaces/kits/common",
"$dsoftbus_root_path/interfaces/kits/discovery",
"$dsoftbus_root_path/interfaces/kits/transport",
"${sysroot}/usr/include/dsoftbus",
"$dsoftbus_root_path/sdk/transmission/session/cpp/include",
"$dsoftbus_root_path/interfaces/inner_kits/transport",
"$dsoftbus_root_path/core/common/dfx/hisysevent_adapter/include",
]
libs = [ "softbus_client.z" ]