diff --git a/merge_abc/BUILD.gn b/merge_abc/BUILD.gn index 27ebcc75c147f1eff55218b8080d9286d77afd3a..1caee7a962abe1da38db98e5107f94a0fa21f334 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) {