From 4ca363f2cd31a53aefcb1364145fe18023934e86 Mon Sep 17 00:00:00 2001 From: lanming Date: Mon, 14 Jul 2025 16:42:41 +0800 Subject: [PATCH] Add component features Signed-off-by: lanming --- BUILD.gn | 4 ++++ bundle.json | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 6ff84743..27f22c3b 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -19,6 +19,10 @@ print("current_cpu = ${current_cpu}") print("current_os = ${current_os}") print("host_os = ${host_os}") +declare_args() { + openhitls_enabled = true +} + openhitls_selected_platform = "" if (current_cpu == "arm64" && current_os == "ohos" && host_os == "linux") { diff --git a/bundle.json b/bundle.json index 698b9401..8c0ce0d1 100644 --- a/bundle.json +++ b/bundle.json @@ -1,8 +1,8 @@ { "name":"@ohos/openhitls", "description":"openhitls", - "version":"3.1", - "license":"openhitls LICENSE", + "version":"4.0", + "license":"MulanPSL-2.0", "publishAs":"code-segment", "segment": { "destPath":"third_party/openhitls" @@ -16,7 +16,7 @@ "name":"openhitls", "subsystem":"thirdparty", "syscap":[], - "features":[], + "features":["openhitls_enabled"], "adapted_system_type":["standard"], "rom":"", "ram":"",