diff --git a/recipes-openharmony/openharmony/openharmony-standard-3.0/base_hiviewdfx_hiview-libfaultlogger-static.patch b/recipes-openharmony/openharmony/openharmony-standard-3.0/base_hiviewdfx_hiview-libfaultlogger-static.patch new file mode 100644 index 0000000000000000000000000000000000000000..324916a0aa939b0fade79e77a72803acd1230588 --- /dev/null +++ b/recipes-openharmony/openharmony/openharmony-standard-3.0/base_hiviewdfx_hiview-libfaultlogger-static.patch @@ -0,0 +1,22 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: Apache-2.0 + +This patch applies to //base/hiviewdfx/hiview repository of OpenHarmony 3.0. + +Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com> +Upstream-Status: Inappropriate (workaround) + +diff --git a/adapter/plugins/faultlogger/BUILD.gn b/adapter/plugins/faultlogger/BUILD.gn +index 83b9a84d5e68..4b5ce3ca4048 100644 +--- a/adapter/plugins/faultlogger/BUILD.gn ++++ b/adapter/plugins/faultlogger/BUILD.gn +@@ -13,7 +13,7 @@ + import("//base/hiviewdfx/hiview/hiview.gni") + import("//build/ohos.gni") + +-ohos_shared_library("libfaultlogger") { ++ohos_static_library("libfaultlogger") { + configs = [ "service/idl:faultlogger_service_impl_config" ] + public_configs = [ "interfaces/cpp/innerkits:faultlogger_innerkits_config" ] + deps = [ "interfaces/cpp/innerkits:faultlogger_client_impl" ] diff --git a/recipes-openharmony/openharmony/openharmony-standard_3.0.bb b/recipes-openharmony/openharmony/openharmony-standard_3.0.bb index c23d5b45c0c82b08d9f3cf9bafd9e65c0f43a3a1..3851a807e887c743250620e527fedc7a9cbe9e16 100644 --- a/recipes-openharmony/openharmony/openharmony-standard_3.0.bb +++ b/recipes-openharmony/openharmony/openharmony-standard_3.0.bb @@ -64,6 +64,8 @@ SRC_URI += "file://test_xts_acts-Align-tests-list-with-mandatory-set.patch;patch SRC_URI += "file://param_service_standalone.patch;patchdir=${S}/base/startup/init_lite" SRC_URI += "file://param_service-Add-to-startup-l2-part.patch;patchdir=${S}/base/startup/appspawn_standard" +SRC_URI += "file://base_hiviewdfx_hiview-libfaultlogger-static.patch;patchdir=${S}/base/hiviewdfx/hiview" + # Patch to allow /system/profile and /system/usr to be symlinks to /usr/lib/openharmony SRC_URI += "file://foundation_distributedschedule_safwk-slash-system-symlink.patch;patchdir=${S}/foundation/distributedschedule/safwk"