diff --git a/arkui/ace_ets_xcomponent/BUILD.gn b/arkui/ace_ets_xcomponent/BUILD.gn index acaa52f28d37e8a88bbdede3678b8688da944a66..cb5b83664fdbf5f4483dd309a52afe8dc2c634d8 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" } }