mirror of
https://gitee.com/openharmony/security_huks
synced 2024-11-30 02:10:36 +00:00
modify BUILD.gn
Signed-off-by: jinling <jinling10@huawei.com>
This commit is contained in:
parent
d4a997f343
commit
3952826004
@ -55,6 +55,9 @@ declare_args() {
|
||||
# whether enable upgrade key file for l1 sdk to l1 service, default as false
|
||||
huks_enable_upgrade_small_to_service = false
|
||||
|
||||
# whether enable upgrade root key component from V1 to V2, default as true
|
||||
huks_enable_upgrade_rkc_1to2 = true
|
||||
|
||||
# default security level supported by huks is software
|
||||
huks_security_level = "software"
|
||||
|
||||
|
@ -99,6 +99,10 @@ if (os_level == "standard") {
|
||||
|
||||
sources += [ "//base/security/huks/services/huks_standard/huks_service/main/core/src/hks_storage.c" ]
|
||||
|
||||
if (huks_enable_upgrade_rkc_1to2) {
|
||||
sources += [ "src/hks_rkc_v1.c" ]
|
||||
}
|
||||
|
||||
deps = [ "//base/security/huks/frameworks/huks_standard/main/common:libhuks_common_small_static" ]
|
||||
if (huks_dependency_mbedtls_path != "") {
|
||||
deps += [ huks_dependency_mbedtls_path ]
|
||||
|
Loading…
Reference in New Issue
Block a user