Add component features

Signed-off-by: lanming <lanming@huawei.com>
This commit is contained in:
lanming
2025-07-14 16:42:41 +08:00
parent 930fe248c7
commit 4ca363f2cd
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -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") {
+3 -3
View File
@@ -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":"",