From 7d240384a7683ced9053bc26c732fb7992a7bfcd Mon Sep 17 00:00:00 2001 From: zhangjialing Date: Fri, 14 Feb 2025 06:39:43 +0000 Subject: [PATCH] Add LoongArch support Change-Id: I2497634d632af802e923cc4fbc2899a0d26e27ca Signed-off-by: zhangjialing --- frameworks/native/vibrator/src/vibrator_service_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/native/vibrator/src/vibrator_service_client.cpp b/frameworks/native/vibrator/src/vibrator_service_client.cpp index ab9b01b..4518230 100644 --- a/frameworks/native/vibrator/src/vibrator_service_client.cpp +++ b/frameworks/native/vibrator/src/vibrator_service_client.cpp @@ -40,7 +40,7 @@ static constexpr int32_t MIN_VIBRATOR_EVENT_TIME = 100; using namespace OHOS::HiviewDFX; namespace { -#if (defined(__aarch64__) || defined(__x86_64__)) +#if (defined(__aarch64__) || defined(__loongarch_lp64) || defined(__x86_64__)) static const std::string DECODER_LIBRARY_PATH = "/system/lib64/platformsdk/libvibrator_decoder.z.so"; #else static const std::string DECODER_LIBRARY_PATH = "/system/lib/platformsdk/libvibrator_decoder.z.so"; -- Gitee