From 2c55922632d3554e00a2e7fab76f56dde64b12b8 Mon Sep 17 00:00:00 2001 From: lanyill Date: Mon, 25 Jul 2022 09:54:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9xcomponent=20XTS=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lanyill Change-Id: Iad6b4a9774f395660dc9e6feb53f83b4b825afa5 --- arkui/ace_ets_xcomponent/BUILD.gn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arkui/ace_ets_xcomponent/BUILD.gn b/arkui/ace_ets_xcomponent/BUILD.gn index 3acbdc85d..6d2bd32f8 100644 --- a/arkui/ace_ets_xcomponent/BUILD.gn +++ b/arkui/ace_ets_xcomponent/BUILD.gn @@ -31,7 +31,13 @@ ohos_js_hap_suite("ActsAceXComponentEtsTest") { } ohos_prebuilt_shared_library("libcppsharedso") { - source = "//prebuilts/clang/ohos/linux-x86_64/libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so" + if (target_cpu == "arm") { + source = "//prebuilts/clang/ohos/linux-x86_64/libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so" + } else if (target_cpu == "arm64") { + source = "//prebuilts/clang/ohos/linux-x86_64/libcxx-ndk/lib/aarch64-linux-ohos/c++/libc++_shared.so" + } else { + source = " " + } } ohos_js_assets("ace_ets_xcomponent_assets") { -- GitLab