From 3a4a532a014e00419510d1719e3720f828d61f92 Mon Sep 17 00:00:00 2001 From: longwei Date: Tue, 23 Aug 2022 09:14:45 +0800 Subject: [PATCH] add libisolation and compressNativeLibs Signed-off-by: longwei Change-Id: I93d50367817c6495b3c7d7c1680fb2e7ea9b6af0 --- configcheck/configSchema_rich.json | 7 ++++++- modulecheck/module.json | 15 +++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/configcheck/configSchema_rich.json b/configcheck/configSchema_rich.json index ba302600..009753e9 100755 --- a/configcheck/configSchema_rich.json +++ b/configcheck/configSchema_rich.json @@ -1163,7 +1163,8 @@ "distroFilter", "uiSyntax", "testRunner", - "dependencies" + "dependencies", + "libIsolation" ] }, "properties": { @@ -3282,6 +3283,10 @@ "type": "string", "maxLength": 127 } + }, + "libIsolation": { + "description": "Indicates whether to isolate the shared libraries in this module", + "type": "boolean" } }, "allOf": [ diff --git a/modulecheck/module.json b/modulecheck/module.json index c429cfc2..3a826079 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -73,7 +73,9 @@ "requestPermissions", "definePermissions", "testRunner", - "dependencies" + "dependencies", + "libIsolation", + "compressNativeLibs" ] }, "required": [ @@ -141,7 +143,7 @@ "type": "boolean" }, "installationFree": { - "description": "Indicates whether free installation of the current hap is supported.If installationFree is true, this module is a service.OtherWise, this module is an application", + "description": "Indicates whether free installation of the current hap is supported. If moduleType is feature, this item label is mandatory, else this item label is optional.", "type": "boolean" }, "virtualMachine": { @@ -960,6 +962,15 @@ "type": "string", "maxLength": 127 } + }, + "libIsolation": { + "description": "Indicates whether to isolate the shared libraries in this module", + "type": "boolean" + }, + "compressNativeLibs": { + "description": "Indicates whether to compress the shared libraries in this module. If this attribute is set to false, the libs libraries are stored without being compressed and will be directly loaded during the installation of the .hap file.", + "type": "boolean", + "default" : true } } } -- Gitee