From 0562eca55520f00e61cbfdc921a0afeb32ab311d Mon Sep 17 00:00:00 2001 From: zhuzhihui7 Date: Thu, 10 Jul 2025 16:22:38 +0800 Subject: [PATCH] fix include external header IssueNo: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICLG64 Signed-off-by: zhuzhihui7 Change-Id: I49ef0d8a8eb8fdeb8ae6360b07b4890ebe3be145 --- merge_abc/BUILD.gn | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/merge_abc/BUILD.gn b/merge_abc/BUILD.gn index a20f2b5607..38336a138c 100644 --- a/merge_abc/BUILD.gn +++ b/merge_abc/BUILD.gn @@ -40,10 +40,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", @@ -182,6 +178,10 @@ ohos_source_set("assembly_proto_static") { external_deps += [ "hilog:libhilog" ] } } + external_deps += [ + "runtime_core:libarkbase_static", + "runtime_core:libarkassembler_static", + ] sources = proto_generated_header + proto_generated_source + protobuf_snapshot_generator_sources @@ -233,6 +233,8 @@ ohos_executable("merge_abc") { ] external_deps = [ "icu:static_icuuc", + "runtime_core:libarkbase_static", + "runtime_core:libarkassembler_static", sdk_libc_secshared_dep, ] if (!is_arkui_x) { -- Gitee