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", ] }