From eb8eb179cf4cae00a6e21ac187297512f91a7875 Mon Sep 17 00:00:00 2001 From: qianyong325 Date: Fri, 8 Aug 2025 23:17:28 +0800 Subject: [PATCH] fix include external Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICS4UF Change-Id: I10334baf98b017ab884e3a30e7fefe9526e211f2 Signed-off-by: qianyong325 Change-Id: I419bb801da45c558c82df1bb00e103001655edbd --- merge_abc/BUILD.gn | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/merge_abc/BUILD.gn b/merge_abc/BUILD.gn index 27ebcc75c1..1caee7a962 100644 --- a/merge_abc/BUILD.gn +++ b/merge_abc/BUILD.gn @@ -45,10 +45,6 @@ protobuf_snapshot_generator_sources = [ config("panda_assembly_proto_public_config") { include_dirs = [ - "$ark_root/assembler", - "$ark_root/libpandabase", - "$ark_root/libpandabase/mem", - "$ark_root", "src", "$proto_out_dir", "../es2panda", @@ -205,6 +201,11 @@ ohos_source_set("assembly_proto_static") { ] } + external_deps += [ + "runtime_core:libarkbase_static", + "runtime_core:libarkassembler_static", + "runtime_core:libarkfile_static", + ] sources = proto_generated_header + proto_generated_source + protobuf_snapshot_generator_sources public_configs = assembly_proto_configs @@ -269,6 +270,9 @@ ohos_executable("merge_abc") { ] external_deps += [ "icu:static_icuuc", + "runtime_core:libarkbase_static", + "runtime_core:libarkassembler_static", + "runtime_core:libarkfile_static", sdk_libc_secshared_dep, ] if (!is_arkui_x) { -- Gitee