From f982287c91c64c9bc50d9ef12a9c74f587e35d6f Mon Sep 17 00:00:00 2001 From: cllvly Date: Thu, 19 Jun 2025 22:33:10 +0800 Subject: [PATCH] test Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICGH5D Signed-off-by: chenlong --- ets2panda/BUILD.gn | 18 +++++++++--------- ets2panda/aot/BUILD.gn | 14 ++++++++------ 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/ets2panda/BUILD.gn b/ets2panda/BUILD.gn index 7542df6a82..5539326f47 100644 --- a/ets2panda/BUILD.gn +++ b/ets2panda/BUILD.gn @@ -23,7 +23,6 @@ config("libes2panda_public_config") { include_dirs = [ "$target_gen_dir", "$target_gen_dir/include", - "$target_gen_dir/generated", "//third_party/icu/icu4c/source/common", "//third_party/icu/icu4c/source/i18n", "//third_party/icu/icu4c/source", @@ -1096,23 +1095,15 @@ config("libes2panda_config") { } libes2panda_configs = [ - "$ark_root/assembler:arkassembler_public_config", "$ark_root:ark_config", ":libes2panda_public_config", ":libes2panda_config", - "$ark_root/libpandabase:arkbase_public_config", - "$ark_root/libpandafile:arkfile_public_config", ] libes2panda_public_configs = [ - "$ark_root/assembler:arkassembler_public_config", "$ark_root:ark_config", ":libes2panda_public_config", ":libes2panda_config", - "$ark_root/libpandabase:arkbase_public_config", - "$ark_root/libpandafile:arkfile_public_config", - "$ark_root/bytecode_optimizer:bytecodeopt_public_config", - "$ark_root/compiler:arkcompiler_public_config", "$ark_root/runtime:arkruntime_public_config", ] @@ -1146,6 +1137,9 @@ ohos_source_set("libes2panda_frontend_static") { "$ark_third_party_root/icu/icu4c:static_icuuc", ] external_deps = [ + "runtime_core:runtime_core_generated_headers", + "runtime_core:libpandafile_generate_headers", + "runtime_core:libpandabase_generated_headrs", "runtime_core:libarktsassembler_package", "runtime_core:libarktsbase_package", "runtime_core:libarktscompiler_package", @@ -1199,6 +1193,12 @@ ohos_source_set("libes2panda_public_frontend_static") { } external_deps = [ + "runtime_core:runtime_core_generated_headers", + "runtime_core:libpandafile_generate_headers", + "runtime_core:libpandabase_generated_headrs", + "runtime_core:bytecode_optimizer_generate_headers", + "runtime_core:compiler_generated_headers", + "runtime_core:gen_generate_headers", "runtime_core:libarktsbytecodeopt_package", sdk_libc_secshared_dep, ] diff --git a/ets2panda/aot/BUILD.gn b/ets2panda/aot/BUILD.gn index 2a76c53b3d..8760bb5daa 100644 --- a/ets2panda/aot/BUILD.gn +++ b/ets2panda/aot/BUILD.gn @@ -29,13 +29,7 @@ ohos_executable("ets2panda") { configs = [ "$ark_root:ark_config", - "$ark_root/assembler:arkassembler_public_config", "$ark_es2panda_root:libes2panda_public_config", - "$ark_root/libpandafile:arkfile_public_config", - "$ark_root/libpandabase:arkbase_public_config", - "$ark_root/bytecode_optimizer:bytecodeopt_public_config", - "$ark_root/compiler:arkcompiler_public_config", - "$ark_root/runtime:arkruntime_public_config", ] deps = [ @@ -52,6 +46,14 @@ ohos_executable("ets2panda") { } external_deps = [ + "runtime_core:runtime_generated_headers", + "runtime_core:runtime_core_generated_headers", + "runtime_core:libpandafile_generate_headers", + "runtime_core:bytecode_optimizer_generate_headers", + "runtime_core:libpandabase_generated_headrs", + "runtime_core:compiler_generated_headers", + "runtime_core:runtime_headers", + "runtime_core:gen_generate_headers", "runtime_core:libarktsassembler_package", "runtime_core:libarktsbase_package", "runtime_core:libarktsbytecodeopt_package", -- Gitee