diff --git a/merge_abc/BUILD.gn b/merge_abc/BUILD.gn index a20f2b5607b3245ed98a5fa8ff10ccc1d9dac86a..38336a138c21b48d25e5609a654170718cb5ae75 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) {