soong: Add TARGET_LEGACY_HW_DISK_ENCRYPTION conditional
Change-Id: I2c67fe632d415353273839493a86cdd75bd93b23
This commit is contained in:
@@ -190,6 +190,23 @@ needs_netd_direct_connect_rule {
|
||||
},
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "legacy_hw_disk_encryption",
|
||||
module_type: "cc_defaults",
|
||||
config_namespace: "lineageQcomVars",
|
||||
bool_variables: ["legacy_hw_disk_encryption"],
|
||||
properties: ["cppflags"],
|
||||
}
|
||||
|
||||
legacy_hw_disk_encryption {
|
||||
name: "legacy_hw_disk_encryption_defaults",
|
||||
soong_config_variables: {
|
||||
legacy_hw_disk_encryption: {
|
||||
cppflags: ["-DLEGACY_HW_DISK_ENCRYPTION"],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "no_cameraserver",
|
||||
module_type: "cc_defaults",
|
||||
|
@@ -47,6 +47,7 @@ SOONG_CONFIG_lineageNvidiaVars += \
|
||||
|
||||
SOONG_CONFIG_NAMESPACES += lineageQcomVars
|
||||
SOONG_CONFIG_lineageQcomVars += \
|
||||
legacy_hw_disk_encryption \
|
||||
should_wait_for_qsee \
|
||||
supports_extended_compress_format \
|
||||
supports_hw_fde \
|
||||
@@ -68,6 +69,7 @@ SOONG_CONFIG_lineageGlobalVars_has_memfd_backport := $(TARGET_HAS_MEMFD_BACKPORT
|
||||
SOONG_CONFIG_lineageGlobalVars_ignores_ftp_pptp_conntrack_failure := $(TARGET_IGNORES_FTP_PPTP_CONNTRACK_FAILURE)
|
||||
SOONG_CONFIG_lineageGlobalVars_needs_netd_direct_connect_rule := $(TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE)
|
||||
SOONG_CONFIG_lineageNvidiaVars_uses_nv_enhancements := $(NV_ANDROID_FRAMEWORK_ENHANCEMENTS)
|
||||
SOONG_CONFIG_lineageQcomVars_legacy_hw_disk_encryption := $(TARGET_LEGACY_HW_DISK_ENCRYPTION)
|
||||
SOONG_CONFIG_lineageQcomVars_should_wait_for_qsee := $(TARGET_KEYMASTER_WAIT_FOR_QSEE)
|
||||
SOONG_CONFIG_lineageQcomVars_supports_extended_compress_format := $(AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT)
|
||||
SOONG_CONFIG_lineageQcomVars_supports_hw_fde := $(TARGET_HW_DISK_ENCRYPTION)
|
||||
|
Reference in New Issue
Block a user