提交 0472abc4 编写于 作者: Y YOUR_NAME

Description:Limit rust compile to rk3568 arm64

Feature or Bugfix:Feature
Binary Source: No
Signed-off-by: NYOUR_NAME <heyingjiao@huawei.com>
上级 b50629f1
......@@ -47,7 +47,7 @@ group("ipc_components") {
"//foundation/communication/ipc/interfaces/innerkits/libdbinder:libdbinder",
"//foundation/communication/ipc/ipc/native/src/core:ipc_common",
]
if (target_cpu == "arm64") {
if (product_name == "rk3568" && target_cpu == "arm64") {
deps += [ "//foundation/communication/ipc/interfaces/innerkits/rust:rust_ipc_component" ]
}
} else {
......
......@@ -18,7 +18,7 @@ import("//build/test.gni")
group("unittest") {
testonly = true
deps = [ "unittest/common:unittest" ]
if (target_cpu == "arm64") {
if (product_name == "rk3568" && target_cpu == "arm64") {
deps += [ "unittest/rust:unittest" ]
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册