From 2ebb7c4af2b710f5c4f953d57eea9020493c8fa7 Mon Sep 17 00:00:00 2001 From: lanyill Date: Mon, 25 Jul 2022 09:06:39 +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: Ie69f59b81dac0d167df3a3402e15d01b8bea6805 --- arkui/ace_ets_xcomponent/BUILD.gn | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/arkui/ace_ets_xcomponent/BUILD.gn b/arkui/ace_ets_xcomponent/BUILD.gn index acaa52f28..cb5b83664 100644 --- a/arkui/ace_ets_xcomponent/BUILD.gn +++ b/arkui/ace_ets_xcomponent/BUILD.gn @@ -31,16 +31,9 @@ ohos_js_hap_suite("ActsAceXComponentEtsTest") { } ohos_prebuilt_shared_library("libcppsharedso") { - if (!(product_name == "m40")) { - 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 = " " - } - } else { - source = " " + source = "//prebuilts/clang/ohos/linux-x86_64/libcxx-ndk/lib/arm-linux-ohos/c++/libc++_shared.so" + if (target_cpu == "arm64") { + source = "//prebuilts/clang/ohos/linux-x86_64/libcxx-ndk/lib/aarch64-linux-ohos/c++/libc++_shared.so" } } -- GitLab