未验证 提交 dfa4ef3a 编写于 作者: O openharmony_ci 提交者: Gitee

!552 Limit rust compile to rk3568 arm64

Merge pull request !552 from heyingjiao/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册