From a0b33be6ad19b3fdaa521da8066b0353d8682316 Mon Sep 17 00:00:00 2001 From: wangyikai Date: Tue, 19 Aug 2025 21:11:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90hdf=5Fcore=E3=80=91libhdf=5Ftest=5Fcom?= =?UTF-8?q?mon=E4=BF=AE=E6=94=B9=20ohos=5Fshared=5Flibrary=20->=20ohos=5Fs?= =?UTF-8?q?tatic=5Flibrary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangyikai --- adapter/build/test_common/BUILD.gn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adapter/build/test_common/BUILD.gn b/adapter/build/test_common/BUILD.gn index 377b8b778..d2d2e7a6c 100644 --- a/adapter/build/test_common/BUILD.gn +++ b/adapter/build/test_common/BUILD.gn @@ -23,7 +23,7 @@ config("hdf_test_common_pub_config") { } if (defined(ohos_lite)) { HDF_ADAPTER_PATH = "./../../../adapter" - ohos_shared_library("libhdf_test_common") { + ohos_static_library("libhdf_test_common") { subsystem_name = "hdf" part_name = "hdf_core" output_extension = "z.so" @@ -53,14 +53,14 @@ if (defined(ohos_lite)) { public_deps = [ "//third_party/bounds_checking_function:libsec_shared" ] } } else { - ohos_shared_library("libhdf_test_common") { + ohos_static_library("libhdf_test_common") { public_configs = [ ":hdf_test_common_pub_config" ] sources = [ "$HDF_FRAMEWORK_PATH/test/unittest/common/hdf_common_test.c" ] include_dirs = [ "$HDF_FRAMEWORK_PATH/test/unittest/include" ] defines = [ "__OHOS__USER__" ] - install_images = [ chipset_base_dir ] + subsystem_name = "hdf" part_name = "hdf_core" if (is_standard_system) { -- Gitee