From 3b807bc65d2b31580411cf1196d3d80643b52cb3 Mon Sep 17 00:00:00 2001 From: hw_llm Date: Thu, 8 Aug 2024 14:40:24 +0800 Subject: [PATCH] =?UTF-8?q?Description:=20=E6=95=B4=E6=94=B9=E9=83=A8?= =?UTF-8?q?=E4=BB=B6=E5=90=8D=E7=A7=B0=20IssueNo:=20https://gitee.com/open?= =?UTF-8?q?harmony/security=5Fpermission=5Flite/issues/IAIPS1=20Feature=20?= =?UTF-8?q?Or=20Bugfix:=20Feature=20Binary=20Source:=20No=20Signed-off-by:?= =?UTF-8?q?=20hw=5Fllm=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/config.gni | 2 +- bundle.json | 8 +++++--- services/pms/BUILD.gn | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/build/config.gni b/build/config.gni index 29c5411..8e8c298 100644 --- a/build/config.gni +++ b/build/config.gni @@ -17,6 +17,6 @@ declare_args() { permission_lite_path = "//base/security/permission_lite" # hal path - pms_hal_path = "" + permission_lite_pms_hal_path = "" samgr_lite_path = "//foundation/systemabilitymgr/samgr_lite" } diff --git a/bundle.json b/bundle.json index 633b423..9089c3e 100644 --- a/bundle.json +++ b/bundle.json @@ -12,7 +12,9 @@ "component": { "name": "permission_lite", "subsystem": "security", - "syscap": [ + "syscap": [], + "features": [ + "permission_lite_pms_hal_path" ], "adapted_system_type": [ "small", @@ -33,7 +35,7 @@ }, "build": { "sub_component": [ - "//base/security/permission_lite/services:permission_lite" + "//base/security/permission_lite/services:permission_lite" ], "inner_kits": [ { @@ -56,7 +58,7 @@ } ], "test": [ - "//base/security/permission_lite/services/unittest:unittest" + "//base/security/permission_lite/services/unittest:unittest" ] } } diff --git a/services/pms/BUILD.gn b/services/pms/BUILD.gn index 8800580..de94335 100644 --- a/services/pms/BUILD.gn +++ b/services/pms/BUILD.gn @@ -60,7 +60,7 @@ if (os_level != "mini") { ] deps = [ - "${pms_hal_path}:hal_pms_static", + "${permission_lite_pms_hal_path}:hal_pms_static", "//build/lite/config/component/cJSON:cjson_static", ] }