From 10a94a07c0c7d77a17425f222478a3f1fcd0e488 Mon Sep 17 00:00:00 2001 From: xwx1135370 Date: Thu, 6 Mar 2025 18:52:27 +0800 Subject: [PATCH] Add InnerAPI utils_lite issue:https://gitee.com/openharmony/third_party_jerryscript/issues/IBNG9L Signed-off-by: xwx1135370 --- BUILD.gn | 10 +++++++++- bundle.json | 14 ++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 8ad5e79..0884ac0 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -39,8 +39,16 @@ ndk_lib("native_api") { } } -group("utils_lite") { +config("utils_lite_config") { + include_dirs = [ + "include", + "memory/include", + ] +} + +static_library("utils_lite") { deps = [] + public_configs = [ ":utils_lite_config" ] if (utils_lite_feature_file) { deps += [ "//commonlibrary/utils_lite/file:file" ] diff --git a/bundle.json b/bundle.json index 137ac92..1191020 100644 --- a/bundle.json +++ b/bundle.json @@ -27,7 +27,7 @@ "small" ], "deps": { - "thrid_party": [ + "third_party": [ "bounds_checking_function", "musl" ], @@ -44,7 +44,17 @@ }, "build": { "sub_component": [ "//commonlibrary/utils_lite:utils_lite" ], - "inner_kits": [], + "inner_kits": [ + { + "name": "//commonlibrary/utils_lite:utils_lite", + "header": { + "header_files": [ + "ohos_mem_pool.h" + ], + "header_base": "//commonlibrary/utils_lite/memory/include" + } + } + ], "test": [] } } -- Gitee