From a1f3003ee4fb3338ebd6049c20d87a664ac28898 Mon Sep 17 00:00:00 2001 From: huyansong Date: Fri, 30 Sep 2022 10:38:46 +0800 Subject: [PATCH] fix histreamer std_video_capture compile undefined symbol issue Signed-off-by: huyansong --- base/BUILD.gn | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/base/BUILD.gn b/base/BUILD.gn index b6d89c1..c51b8ea 100644 --- a/base/BUILD.gn +++ b/base/BUILD.gn @@ -73,6 +73,19 @@ ohos_static_library("utilsbase") { part_name = "c_utils" } +ohos_static_library("utilsbase_rtti") { + visibility = [ "//foundation/multimedia/histreamer/engine/plugin/plugins/source/video_capture:std_video_capture" ] + sources = sources_utils + all_dependent_configs = [ ":utils_all_dependent_configs" ] + defines = [ "CONFIG_HILOG" ] + external_deps = [ "hilog_native:libhilog_base" ] + public_deps = [ "//third_party/bounds_checking_function:libsec_static" ] + remove_configs = [ "//build/config/compiler:no_rtti" ] + cflags = [ "-frtti" ] + subsystem_name = "commonlibrary" + part_name = "c_utils" +} + ohos_shared_library("utils") { sources = sources_utils all_dependent_configs = [ ":utils_all_dependent_configs" ] -- Gitee