From 63a2970031c59a8dd174e081522d58edec8040e2 Mon Sep 17 00:00:00 2001 From: dongchao Date: Tue, 22 Jul 2025 19:19:17 +0800 Subject: [PATCH] Change to inner api in generate_static_abc Issue: https://gitee.com/openharmony/build/issues/ICN2UR Signed-off-by: dongchao Change-Id: Iaf40a742252111017bf084fba89c0b2d2275ca77 --- bundle.json | 3 +++ ets2panda/BUILD.gn | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/bundle.json b/bundle.json index 80c4a61093..dbf6650144 100644 --- a/bundle.json +++ b/bundle.json @@ -44,6 +44,9 @@ }, { "name": "//arkcompiler/ets_frontend/ets2panda:libes2panda_public" + }, + { + "name": "//arkcompiler/ets_frontend/ets2panda:libes2panda_public_headers" } ], "test": [ diff --git a/ets2panda/BUILD.gn b/ets2panda/BUILD.gn index d464559f73..5f1aabdeb4 100644 --- a/ets2panda/BUILD.gn +++ b/ets2panda/BUILD.gn @@ -1229,6 +1229,15 @@ ohos_shared_library("libes2panda_public") { subsystem_name = "arkcompiler" } +ohos_shared_headers("libes2panda_public_headers") { + include_dirs = [ "$ark_es2panda_root/public" ] + deps = [ + ":libes2panda_public" + ] + part_name = "ets_frontend" + subsystem_name = "arkcompiler" +} + action("generate_ets2panda_info") { script = "$ark_root/gn/build/es2panda_info.sh" outputs = [ "$target_gen_dir/generated/es2panda_build_info.h" ] -- Gitee