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":"",