diff --git a/arkui/ace_ets_xcomponent/BUILD.gn b/arkui/ace_ets_xcomponent/BUILD.gn index 7b6ccd534c3537b3979d676efb0adf642dc81925..6d2bd32f8de7997663fc00da2b423844f6e940dd 100644 --- a/arkui/ace_ets_xcomponent/BUILD.gn +++ b/arkui/ace_ets_xcomponent/BUILD.gn @@ -31,14 +31,12 @@ 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 = " " - } + 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 = " " } }